Skip to main content
Glama
Pit Officer

Pit Officer

Official

set_trading_connection_enabled

Enable or disable a trading connection in Pit Officer's control-plane configuration. Enabling widens order-sending permissions and may be refused.

Instructions

Enable or disable a trading connection. An enable is refused with loosening_refused, as it widens what can be sent. Mutates Officer control-plane config; protected and disabled by default.

Input Schema

NameRequiredDescriptionDefault
enabledYesRequired: whether the trading connection is enabled
connectionYesTrading connection id

Output Schema

NameRequiredDescriptionDefault
enabledYesRequired: whether the trading connection is enabled
connectionYesTrading connection id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that it mutates Officer control-plane config, that the target is protected and disabled by default, and that an enable is refused with the specific error code loosening_refused because it widens outbound scope. Missing only permissions/auth requirements to reach a 5.

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

Conciseness5/5

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

Three short sentences with no filler; the core action is front-loaded, followed by the refusal behavior and the mutation/default-state warning in order of importance.

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

Completeness4/5

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

An output schema exists, so return values need not be explained, and the description covers mutation scope, default state, and the failure mode. The one gap is authorization requirements for an Officer control-plane mutation, which an agent would want to know before calling.

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

Parameters3/5

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

Schema coverage is 100%, so both parameters (connection id, enabled boolean) are already documented in the schema; the baseline is 3. The description adds a little semantic weight by explaining what enabling means ('widens what can be sent') but says nothing specific about the connection parameter.

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: 'Enable or disable a trading connection.' This is unambiguous and clearly a toggle operation. It does not explicitly distinguish itself from update_trading_connection or create_trading_connection, so it stops 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 Guidelines3/5

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

Usage context is implied by 'enable or disable', and the refusal note warns that enabling may fail, but the description never names an alternative (e.g., update_trading_connection for other connection fields) nor states prerequisites. An agent can infer when to use it, but nothing is explicit.

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