Skip to main content
Glama

verify_strategy

Read-onlyIdempotent

Check a saved strategy against everything that has to be true for it to run: the signal names and their parameter keys, the roles composing, a timeframe on every signal, and a timeframe on the strategy. Call it after saving and BEFORE backtesting -- a backtest spends the person's allowance the moment it is submitted, whether or not it runs, and these are the faults that make it fail at setup with nothing measured. It reads what is STORED, so it answers for the strategy as it exists rather than as it was described. warnings are judgements it cannot make for you -- a parameter still at its library default -- and do not stop a run.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "strategy_id": "<strategy_id>"
    },
    "name": "verify_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
strategy_idYesThe strategy's UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely new behavior: it validates what is STORED rather than what was described, it catches setup-time faults that would otherwise produce an unmeasured failure, and it distinguishes hard faults from advisory warnings. It stops short of describing the result shape (pass/fail structure, how faults are reported) but the semantic distinction it draws is substantial.

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?

Front-loaded with the verb and the full checklist of assertions, then the timing rule, then warning semantics — good ordering with no filler. The middle sentence is long and mixes the allowance-cost argument with the failure-mode explanation, which slightly buries the key instruction 'BEFORE backtesting'.

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?

With no output schema, the description still conveys enough about results (faults that block a run versus warnings that don't) for an agent to interpret outcomes. For a one-parameter read-only validation tool that is close to complete; only the concrete shape of the response is left unspecified.

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?

There is a single required parameter, strategy_id, fully documented in the schema as the strategy's UUID. The description adds only the implicit point that the ID resolves to the persisted version of the strategy, which is useful but marginal. Baseline 3 applies when the schema already carries the parameter's meaning.

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?

Uses a specific verb ('Check') on a specific resource (a saved strategy) and enumerates exactly what is being validated: signal names, parameter keys, composing roles, per-signal timeframes, and strategy timeframe. This is clearly distinct from get_strategy (retrieve), save_strategy (persist), or evaluate_strategy (measure), so an agent can route correctly without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit ordering constraint — 'Call it after saving and BEFORE backtesting' — plus the cost rationale (a backtest spends allowance on submission whether or not it runs) that makes the ordering matter. It also sets a boundary on scope by stating that warnings 'do not stop a run', which tells the agent how to treat a mixed result rather than aborting.

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.