Skip to main content
Glama
Keesan12

MartinLoop — Stop Runaway Loops, Bad Code & Token Waste

martin_get_attempt

Read-onlyIdempotent

Load a canonical run attempt summary with artifact directory references. Inspect attempt details using file path or loop ID to retrieve execution data.

Instructions

Load one Martin attempt summary with artifact directory references for a canonical run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNoPath to a canonical loop-record.json file or run directory.
loopIdNoLoop ID under the run store.
runsDirNoOptional runs-root override.
attemptIndexNoAttempt index to inspect. Defaults to the latest attempt.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
loopYes
sourceYes
attemptYes
warningsYes
sourceKindYes
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint true, so the description's 'load' verb is consistent. It adds minimal behavioral context beyond what annotations provide, but doesn't contradict them.

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?

A single, concise sentence that contains no redundant words and effectively communicates the tool's purpose.

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?

The tool has an output schema, so return values are covered elsewhere. For a read-only attempt loader, the description is sufficiently complete, though it could note that this is for a specific attempt index within a run.

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%, meaning all parameters are documented in the schema. The description adds no extra semantic meaning beyond 'artifact directory references', 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 uses a specific verb ('load') and identifies the resource ('Martin attempt summary with artifact directory references'), clearly distinguishing it from sibling tools like 'martin_get_run' which loads a whole run, and 'martin_inspect' which might inspect details.

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

Usage Guidelines3/5

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

The description implies usage for loading attempt summaries but provides no explicit guidance on when to use this tool versus alternatives like 'martin_inspect' or 'martin_get_run', nor any when-not-to-use conditions.

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/Keesan12/martin-loop'

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