Skip to main content
Glama

get_run_context

Syncs new activities from Strava and returns an age-tiered text snapshot of your running history, with per-run detail for recent weeks and one-liners for older weeks.

Instructions

    Sync new activities from Strava and return a training overview.

    This is the primary tool for loading the athlete's training history
    at session start. It:
    1. Syncs any new activities from Strava
    2. Renders an age-tiered text snapshot (one-liners for older weeks,
       per-run detail for recent weeks)

    The output is purely actual run data — no plan awareness. The plan
    context is loaded separately via get_plan_context().

    Returns:
        Pre-formatted text block with the full training overview.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the sync step, the age-tiered output, and the scope (actual run data only). Lacks details on permissions or potential side effects, but sufficient for a zero-parameter tool.

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?

Concise at ~8 lines, front-loaded with purpose, uses bullet points for steps. Could trim redundancy (e.g., 'Returns' line may be redundant with later sentence).

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?

Given no parameters and the presence of an output schema, the description fully explains the tool's purpose, steps, and relationship to siblings. No gaps for a zero-parameter tool.

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?

No parameters exist, schema coverage is 100%. The description adds value by explaining input constraints (none) and output format, beyond the trivial schema.

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?

Clearly identifies the tool as syncing Strava activities and returning a training overview, with explicit distinction from get_plan_context() for plan awareness.

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 states it's the primary tool for session start to load training history, and directs to use get_plan_context() for plan data (when not to use).

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