Skip to main content
Glama

Turn credential proxy on or off for a connection

stack_set_connection_proxy
Destructive

Turn STACK's credential proxy on or off for one service connection (scon_*). On, agents reach the service only through the proxy, which injects the credential and checks every call. Turning it on applies at once. Turning it off weakens enforcement and needs a person's approval. When human approval is required and the chat client supports MCP elicitation, the person is asked to confirm the exact change in the client; the change is applied only after they approve, and a rejection changes nothing. Otherwise it returns GOVERNANCE_APPROVAL_REQUIRED with approval_id and approval_url, the page for that one approval, and the same payload sent with governance_approval_id after approval applies the change. An approval is single-use, bound to the exact payload, and expires after 24 hours.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "connection_id": "<connection_id>",
      "proxy_enabled": "<proxy_enabled>"
    },
    "name": "stack_set_connection_proxy"
  }
}

Input Schema

NameRequiredDescriptionDefault
connection_idYesService connection id (scon_*) from stack_list_connected_services
proxy_enabledYestrue routes agent calls through the proxy; false turns it off
governance_approval_idNoApproval id (gvr_*) from a GOVERNANCE_APPROVAL_REQUIRED response, after a person approved it

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations: it discloses that the proxy injects credentials and checks every call, that turning off requires human approval, the elicitation-first flow, the GOVERNANCE_APPROVAL_REQUIRED error shape with approval_id and approval_url, and that approvals are single-use, payload-bound, and expire in 24 hours. This is exactly the governance behavior the destructiveHint annotation cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the effect and the on/off consequences, then the approval mechanics. Dense and mostly waste-free, with slight redundancy in 'the change is applied only after they approve, and a rejection changes nothing'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive three-parameter mutation with no output schema, the definition covers both modes, the approval and elicitation branches, the error response, and approval lifetime. An agent can complete the turn-on and the off-with-approval flows without further information.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds workflow meaning: it explains that the same payload must be resent with governance_approval_id after approval. That clarifies the retry loop beyond the schema's per-field text, though it does not elaborate on connection_id sourcing beyond the schema's pointer to stack_list_connected_services.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource with scope: 'Turn STACK's credential proxy on or off for one service connection (scon_*)'. An agent immediately knows the effect and the unit of scope. It does not explicitly differentiate itself from other stack_set_* siblings, which keeps it short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear operational context: turning on applies at once, turning off weakens enforcement and needs a person's approval, and it names the approval path when not using elicitation. It offers no explicit exclusions or named alternative tools, but the when/when-not framing for each option is solid.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.