Skip to main content
Glama

get_run

Retrieve a run record by its unique identifier. Returns the run details or None if no run matches the provided ID.

Instructions

Return one run record by its run_id, or None when the pool holds no such run.

A safe probe, mirroring get_agent: returns None rather than raising when the id is absent, so an orchestrating agent can check existence without handling an error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesIdentifier for one invocation of a pooled agent — a lowercase-hex UUID minted per run, distinct from the session UUID: a run is a single dispatch, a session is the resumable conversation a run continues.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, but the description discloses key behavior: returns None instead of raising exceptions and is a safe, read-only operation. Additional details like idempotency or side effects are not covered, but the core behavior is clear.

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?

Two concise sentences: first states core purpose, second adds nuance about safety and comparison with get_agent. No unnecessary words.

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?

For a simple one-parameter tool with an output schema, the description covers purpose, behavior, and usage context completely. The agent has enough information to use the tool 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 coverage is 100% and the schema itself provides a detailed description of run_id including its relationship to session. The tool description does not add extra parameter information beyond referencing run_id, 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns one run record by run_id, and specifies the None return behavior when the run doesn't exist. This distinguishes it from siblings like list_runs or run_agent.

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?

Explicitly describes the tool as a 'safe probe' mirroring get_agent, meant for existence checking without error handling. This guides an agent on when to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Magic-Man-us/claude-sdk-agent-fleet'

If you have feedback or need assistance with the MCP directory API, please join our Discord server