Skip to main content
Glama
Pit Officer

Pit Officer

Official

set_trading_instrument

Defines a trading connection's external symbol mapping to Officer base/quote assets, controlling what can be sent and fee booking; protected and disabled by default.

Instructions

Set a trading instrument mapping. The change is refused with loosening_refused, as a mapping decides what can be sent and which asset a venue fee is booked in. Mutates Officer control-plane config; protected and disabled by default.

Input Schema

NameRequiredDescriptionDefault
enabledYesRequired: whether the instrument mapping is enabled
baseAssetYesOfficer asset being bought or sold
connectionYesTrading connection id
quoteAssetYesOfficer asset used for pricing
externalSymbolYesProvider's venue symbol

Output Schema

NameRequiredDescriptionDefault
enabledYesRequired: whether the instrument mapping is enabled
baseAssetYesOfficer asset being bought or sold
connectionYesTrading connection id
quoteAssetYesOfficer asset used for pricing
externalSymbolYesProvider's venue symbol

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?

No annotations are provided, so the description carries the full burden. It discloses that this mutates Officer control-plane config, is protected and disabled by default, and can be refused with loosening_refused, though it omits auth/permission requirements and reversibility details.

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 sentences, front-loaded with the core action and followed by the key safety constraint and refusal behavior. No wasted text.

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?

The output schema exists and the input schema is fully documented, so the description need not explain return values or parameters. It covers the mutation and protection context well, though it could say more about permissions or enabling the protected setting.

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 description coverage is 100%, so the schema already documents all five parameters. The description does not add per-parameter meaning beyond what the schema provides, making the baseline 3 appropriate.

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: 'Set a trading instrument mapping.' It is clear what the tool does, but it does not explicitly distinguish itself from siblings such as set_market_data_instrument or delete_trading_instrument.

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 description gives useful context—protected and disabled by default, and refusal with loosening_refused—but it does not explicitly say when to use this tool versus alternatives like set_market_data_instrument or delete_trading_instrument.

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