Skip to content

Commit 04324b4

Browse files
author
andypalmi
committed
docs(mcp): correct instance-config tool descriptions for pass-through 404s
1 parent 5f87644 commit 04324b4

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

forge/ee/lib/mcp/tools/instanceConfig.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ module.exports = [
77
description: `FlowFuse platform automation tool:
88
Returns the High Availability configuration for a hosted instance.
99
High Availability runs an instance across multiple replicas so it stays up if one replica fails.
10-
High Availability is a plan-gated feature: if it is not enabled for the team, this call
11-
returns a message saying the feature is not available rather than the configuration.`,
10+
High Availability is a plan-gated feature: a team without it enabled gets a 404 error.`,
1211
annotations: { readOnlyHint: true, destructiveHint: false },
1312
inputSchema: {
1413
instanceId: z.string().uuid().describe('UUID of the hosted instance')
@@ -23,8 +22,7 @@ module.exports = [
2322
title: 'Get Instance Custom Hostname',
2423
description: `FlowFuse platform automation tool:
2524
Returns the custom hostname configured for a hosted instance.
26-
Custom hostnames are a plan-gated feature: if it is not enabled for the team, this call
27-
returns a message saying the feature is not available rather than the configuration.
25+
Custom hostnames are a plan-gated feature: a team without it enabled gets a 404 error.
2826
Use platform_get_instance_custom_hostname_status to check whether the hostname is verified and routable.`,
2927
annotations: { readOnlyHint: true, destructiveHint: false },
3028
inputSchema: {
@@ -61,8 +59,7 @@ module.exports = [
6159
Returns the protected-instance configuration for a hosted instance.
6260
A protected instance requires extra confirmation before destructive actions such as
6361
suspension or deletion can be performed against it.
64-
Protected instance is a plan-gated feature: if it is not enabled for the team, this call
65-
returns a message saying the feature is not available rather than the configuration.`,
62+
Protected instance is a plan-gated feature: a team without it enabled gets a 404 error.`,
6663
annotations: { readOnlyHint: true, destructiveHint: false },
6764
inputSchema: {
6865
instanceId: z.string().uuid().describe('UUID of the hosted instance')
@@ -95,8 +92,7 @@ module.exports = [
9592
description: `FlowFuse platform automation tool:
9693
Lists files and directories within a hosted instance file store at the given path.
9794
Use an empty string for the path to list the root of the file store.
98-
Static file storage is a plan-gated feature: if it is not enabled for the team, this call
99-
returns a message saying the feature is not available rather than a listing.`,
95+
Static file storage is a plan-gated feature: a team without it enabled gets a 404 error.`,
10096
annotations: { readOnlyHint: true, destructiveHint: false },
10197
inputSchema: {
10298
instanceId: z.string().uuid().describe('UUID of the hosted instance'),
@@ -114,8 +110,7 @@ module.exports = [
114110
Lists the HTTP bearer tokens configured for a hosted instance.
115111
These tokens are used by external callers to authenticate HTTP requests handled by the
116112
instance's Node-RED flows.
117-
HTTP bearer tokens are a plan-gated feature: if it is not enabled for the team, this call
118-
returns a message saying the feature is not available rather than a listing.`,
113+
HTTP bearer tokens are a plan-gated feature: a team without it enabled gets a 404 error.`,
119114
annotations: { readOnlyHint: true, destructiveHint: false },
120115
inputSchema: {
121116
instanceId: z.string().uuid().describe('UUID of the hosted instance')
@@ -132,8 +127,7 @@ module.exports = [
132127
Lists the HTTP bearer tokens configured for a remote instance (device).
133128
These tokens are used by external callers to authenticate HTTP requests handled by the
134129
remote instance's Node-RED flows.
135-
HTTP bearer tokens are a plan-gated feature: if it is not enabled for the team, this call
136-
returns a message saying the feature is not available rather than a listing.`,
130+
HTTP bearer tokens are a plan-gated feature: a team without it enabled gets a 404 error.`,
137131
annotations: { readOnlyHint: true, destructiveHint: false },
138132
inputSchema: {
139133
deviceId: z.string().describe('Opaque hashid of the remote instance (device)')

0 commit comments

Comments
 (0)