Skip to main content
Glama

save_run_digest

Save a compact single-line digest for a Strava run activity, derived from analysis, to maintain a structured and concise training log.

Instructions

    Save a digest for a run (generated by LLM or host).

    Called after processing a digestion prompt from get_pending_digests().
    The digest should be a single compact line with segments separated
    by | (e.g. "WU 2km @5:00 | 10×1km @3:45 HR 165→185 | CD 2km | +110m").

    Args:
        activity_id: The Strava activity ID.
        digest: The digest string.

    Returns:
        Confirmation message.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
digestYes
activity_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations exist, so the description carries the burden. It explains the expected digest format (compact line, | separated) and provides an example. It states returns a confirmation message. While it doesn't detail side effects or permissions, the simple read/write nature is well communicated.

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?

The description is moderately sized, well-organized with a docstring-like structure. It includes a clear header, usage context, parameter list, return value, and an example. No unnecessary words.

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?

Given the tool's simplicity (2 required params, no nesting, output schema exists), the description covers the workflow, parameter details, and output. It provides enough context for correct usage without being verbose.

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%, but the description adds meaning: activity_id is called a 'Strava activity ID' and digest format is detailed with an example. This compensates for the lack of schema descriptions.

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 saves a digest for a run, with a specific context (generated by LLM or host). It distinguishes from siblings like add_run_note by specifying it's for the digest after get_pending_digests.

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 says 'Called after processing a digestion prompt from get_pending_digests()', giving clear usage context. It does not explicitly state when not to use or list alternatives, but the guidance is sufficient for the intended workflow.

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/wernerpe/mcpacer'

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