Skip to main content
Glama
Pit Officer

Pit Officer

Official

grant_trading_access

Grants an Officer account access to a trading connection or account group by mutating protected control-plane config; requests that widen send permissions are refused.

Instructions

Grant an Officer account access to a trading connection, or an account group where the server offers account groups. The grant 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
accountNoOfficer account code; set exactly one of account or accountGroup
connectionYesTrading connection id
accountGroupNoAccount group code; set exactly one of account or accountGroup
venueAccountNoOptional provider venue account id

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
venueAccountNoOptional provider venue account id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4/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 mutation ('mutates Officer control-plane config'), the refusal mode ('refused with loosening_refused, as it widens what can be sent'), and a safety posture ('protected and disabled by default'). It stops short of stating permission requirements or reversibility details, but the crucial guardrails are disclosed.

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, front-loaded with the action and target, then failure semantics, then safety posture. No repetition of the name and no wasted clauses.

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?

Output schema exists, so return values need not be explained. For a mutation tool with no annotations, the description covers what changes, the failure mode, and the protected/disabled default; only finer details like idempotency or required caller privileges are absent.

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% and the schema already documents mutual exclusivity of account/accountGroup plus venueAccount. The description adds only the conditional context that account groups exist 'where the server offers' them, which is a minor supplement rather than new parameter semantics.

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

Purpose5/5

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

States a specific verb+resource (grant access to a trading connection) and covers the alternate target (account group) explicitly. The scope ('Officer account access') distinguishes it cleanly from siblings like revoke_trading_access or set_trading_connection_enabled.

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?

The 'where the server offers account groups' clause implies when to choose one mode over the other, and 'protected and disabled by default' hints at a prerequisite. However, there is no explicit statement of when to call this vs. revoke_trading_access or other config tools, so usage is only implied.

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