Skip to main content
Glama

Get runtime configuration

spotgrid.get_config
Read-onlyIdempotent

Reads one runtime's trading configuration: symbol, grid geometry, risk profile, wallet allocation and fee settings. Exchange API credentials are never included in the result. buy_fee_pct and sell_fee_pct are what is CONFIGURED; when fee_mode is auto they are 0 while real fees are still being charged, so effective_buy_fee_pct and effective_sell_fee_pct give the rate actually applied to a fill and fee_source says where it comes from: manual (the configured percentage), manual_fixed (a flat USDT amount per fill), learned (measured from real exchange fills), paper_default (the simulator's rate, before any real fee has been seen) or unobserved (live, no fill measured yet — the rate is not known rather than zero). Under manual_fixed the charge is effective_buy_fee_usdt / effective_sell_fee_usdt, which is exact; the percentage is present only when a price is known to express it against, and is omitted rather than reported as zero when it is not.

Input Schema

NameRequiredDescriptionDefault
runtime_idYesA Multi Grid runtime id from spotgrid.list_runtimes. The primary grid is the one listed with primary: true.

Output Schema

NameRequiredDescriptionDefault
modeNo
symbolNo
max_buysNo
grid_sizeNo
fee_sourceNo
runtime_idYes
live_networkNo
risk_profileNo
wallet_allocationNo
credentials_presentNo
effective_buy_fee_pctNo
effective_buy_fee_usdtNo
effective_sell_fee_pctNo
effective_sell_fee_usdtNo
live_credentials_presentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description adds important context: exchange API credentials are excluded, configured fee percentages can be misleading under auto mode, and effective fee fields plus fee_source explain the actual applied rate. It also discloses the nuanced manual_fixed behavior and that unknown percentages are omitted rather than reported as zero.

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

Conciseness3/5

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

The purpose and credential exclusion are front-loaded, but the description then spends most of its length on dense fee-field semantics that may duplicate output-schema documentation. The information is useful, but the result is longer and less scannable than ideal for a single-parameter read tool.

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?

For a read-only configuration getter with a fully described one-parameter schema and an output schema, the description covers the essential purpose, security caveat, and the most easily misinterpreted fee fields. It does not mention sibling routing or error behavior, but the core invocation context is complete.

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 runtime_id parameter is already documented with its pattern and source in spotgrid.list_runtimes. The description does not add any runtime_id-specific semantics beyond the schema, so the baseline score of 3 is 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?

The description uses a specific verb and resource: it 'Reads one runtime's trading configuration' and enumerates the configuration areas returned. This clearly distinguishes it from status, order, or history siblings, though it does not explicitly name an alternative tool.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to call this tool versus siblings such as spotgrid.get_status or spotgrid.get_usage. Usage is only implied by the phrase 'trading configuration', with no alternatives or exclusions stated.

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.

Resources