Skip to main content
Glama

get_run_status

Retrieve status of a loop run: iterations, total cost, tokens, flagged calls, and whether completion promise was seen. Decide whether to continue iterating.

Instructions

Status of one loop run: iterations so far, total cost and tokens, flagged calls, and whether the completion promise was seen (status=complete). Loop runners and agents can use this to decide whether to continue iterating.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesThe run ID (from x-agentledger-run-id or /api/runs).
Behavior3/5

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

With no annotations, the description should disclose behavioral traits. It describes what status information is returned but does not explicitly state it is a read-only operation or mention any side effects, auth requirements, or rate limits. The description is adequate but lacks full transparency.

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 sentences with no wasted words. The first sentence states the purpose and return fields, the second adds intended users and use case. Perfectly concise and front-loaded.

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 simple one-parameter tool with no output schema, the description explains key return fields and intended use. It could mention potential errors or limitations, but overall it is sufficiently complete for the tool's complexity.

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?

The single parameter run_id has a description in the input schema that explains its source. The tool description does not add additional meaning beyond the schema, and schema coverage is 100%, so baseline 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 status of one loop run including iterations, cost, tokens, flagged calls, and completion promise. It uses specific verbs and resources, and distinguishes from siblings like list_runs which lists multiple runs.

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?

The description explicitly states 'Loop runners and agents can use this to decide whether to continue iterating', providing clear usage context. It does not include when-not-to-use or alternatives, but the context is sufficient given the simple tool.

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/ShekharBhardwaj/AgenticLedger'

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