Skip to main content
Glama

Get Run context

swarm_get_run_context
Read-onlyIdempotent

Read authorized inputs before executing a Run. Inspect status with swarm_get_run. Missing evidence cannot be invented; Artifact bodies require read access.

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": {
      "run_id": "<run_id>"
    },
    "name": "swarm_get_run_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesRun ID from swarm_list_runs.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / run_id / description
      Previous value: -"ID from launch or swarm_list_runs."New value: +"Run ID from swarm_list_runs."
  2. Changed1 schema field changed
    • addedInput schema / properties / run_id / description
      Added value: +"ID from launch or swarm_list_runs."
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower. The description still adds real value: 'authorized inputs' and 'Artifact bodies require read access' disclose an authorization requirement, and 'Missing evidence cannot be invented' warns that results may be incomplete — context annotations don't cover.

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, front-loaded sentences with no filler; the core action comes first and the sibling reference follows. 'Missing evidence cannot be invented' is slightly cryptic but carries a real warning, so it earns its place.

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 a single fully documented parameter, an output schema, and rich annotations, the description supplies the remaining behavioral context (auth requirement, partial-result warning) an agent needs. The only gap is that it doesn't further explain what 'context' comprises, but overall it is complete enough to invoke correctly.

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% with a single parameter fully documented ('Run ID from swarm_list_runs'), so the baseline is 3. The description adds no parameter-specific detail beyond what the schema already provides.

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 action ('Read authorized inputs') on the Run resource, and names 'swarm_get_run' as the sibling for status inspection, which helps distinguish it. The term 'context' is somewhat abstract — it's clarified only partially by the mention of evidence and Artifact bodies — so it's clear but not razor-sharp.

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?

'before executing a Run' gives an explicit timing/context trigger, and 'Inspect status with swarm_get_run' routes the agent to the alternative for a different need. There's no explicit when-not or exclusion, but the positive guidance and the named alternative make usage clear.

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.