Skip to main content
Glama

Get hub strategy

get_strategy
Read-onlyIdempotent

Answers 'show me this published strategy - its spec, backtest and forward record.' Give a slug from list_strategies. Returns the spec, server-computed backtest result, forward-tracking record and fork lineage, plus its public page URL. If the slug is unknown or the strategy is private, the error says so - call list_strategies to browse public strategies.

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": {
      "slug": "<slug>"
    },
    "name": "get_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/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 closed-world, so the safety profile is covered. The description adds genuinely new behavior: what the payload contains (spec, server-computed backtest, forward record, fork lineage, public page URL) and how failures are surfaced (an explanatory error for unknown/private slugs).

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 short sentences, front-loaded with the user question the tool answers, then input source, then return content, then error behavior. The final clause about browsing public strategies slightly restates the earlier 'Give a slug from list_strategies', a minor redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one required parameter and no output schema, the description must carry the return-value burden itself, and it does: it enumerates the returned components and explains the error path. Nothing an agent needs in order to call this correctly is 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 0%, so the single 'slug' parameter is otherwise undocumented, but the description compensates by stating where the value comes from (list_strategies), what it identifies (a published strategy), and what happens on an unknown or private slug. It does not specify format details such as casing, which keeps it just short of fully compensating.

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?

The description opens with a concrete user intent ('show me this published strategy - its spec, backtest and forward record'), naming a specific verb (fetch/retrieve) and resource (a published hub strategy). It is clearly distinct from list_strategies (browse) and from siblings like compare_runs, so an agent can pick it without opening the schema.

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

Usage Guidelines4/5

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

It explicitly states the prerequisite input ('Give a slug from list_strategies') and routes the agent to list_strategies when the slug is unknown or the strategy is private. That is real when-to-use guidance, though it doesn't contrast with adjacent read tools such as get_verified_record or compare_runs.

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.