Skip to main content
Glama
Pit Officer

Pit Officer

Official

revoke_trading_access

Revokes an Officer account or account group’s access to a trading connection, preventing further orders. Mutates control-plane config; refuses if venue fees would be skipped.

Instructions

Revoke the access of an Officer account to a trading connection, or of an account group where the server offers account groups. Revoking the last sender of a connection with no fee account on a provider with unlinked fees is refused with loosening_refused, as the connection's venue fees would then be skipped. Mutates Officer control-plane config; protected and disabled by default.

Input Schema

NameRequiredDescriptionDefault
accountNoOfficer account code; set exactly one of account or accountGroup
connectionYesTrading connection id
accountGroupNoAccount group code; set exactly one of account or accountGroup

Output Schema

NameRequiredDescriptionDefault
accountNoOfficer account code; set exactly one of account or accountGroup
connectionYesTrading connection id
accountGroupNoAccount group code; set exactly one of account or accountGroup

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 declares the operation mutates Officer control-plane config, that it is protected and disabled by default, and it discloses a specific refusal path (loosening_refused) with the underlying reason (venue fees skipped). It does not state required permission level or how to re-grant after revocation, which keeps it below 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.

Conciseness4/5

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

Three sentences, front-loaded with the verb and target, then the refusal edge case, then the safety posture. Dense but every clause adds information; 'Officer' jargon is repeated rather than trimmed.

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 no explanation, and all three parameters are schema-documented. For an unannotated mutation tool the description supplies the mutation/protection/refusal context an agent needs; only auth requirements and post-revocation state are missing.

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 two named parameters plus their mutual exclusivity are already documented. The description adds meaning beyond the schema by qualifying when accountGroup is even applicable ('where the server offers account groups'), which the schema does not express.

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?

Specific verb+resource: 'Revoke the access of an Officer account to a trading connection'. It also covers the alternate target (account group) and implicitly separates from grant_trading_access by verb, but never names the inverse sibling explicitly, so cross-tool disambiguation relies on the reader noticing the verb pair.

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?

It clarifies the account-vs-accountGroup choice is conditional on the server offering account groups, which is real usage guidance. But there is no explicit when-to-use/when-not statement and no pointer to grant_trading_access or list_trading_destinations for the preconditions an agent would need before revoking.

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