Skip to main content
Glama

get_context

Read-only

THE WHOLE PICTURE IN ONE CALL — start a conversation with this. Returns the athlete's date and weekday (so you do not also need get_today), then everything the Blocks app itself puts in front of its own assistant on every turn: the plan from yesterday to +7 days with a done / NOT-done verdict ALREADY COMPUTED per planned session, today's readiness with its baselines and confounders, thresholds and the resolved zone tops (watts, pace and bpm, so you never compute one), recent activities with the athlete's own notes, 14 days of planned-vs-done, 12 weeks of weekly load, upcoming events, what their own twelve weeks say about how they respond, the facts they have recorded, what either assistant changed in their plan lately and why (recent_plan_changes), and their last few exchanges with the in-app Blocks assistant — continue from those instead of starting over. Pass question — the athlete's own words, in any language — and the knowledge base is ALSO searched for you before you answer, so the evidence is in your hands without you having to guess the right query; it does not answer the question, it only decides what to retrieve, and without question nothing is searched. WHEN TO CALL: as the first tool call of a conversation, and again only after a long gap or when the athlete says something has changed since (a ride synced, a check-in logged, a threshold set). A second call in the same conversation almost always returns what you are already holding — use get_plan, list_activities, get_readiness_today, list_facts or search_knowledge for the one thing it did not cover. Read-only: it writes nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionNowhat the athlete just asked, in their own words, in any language — used ONLY to search the knowledge base for you. Omit it and no search runs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the read-only safety profile, yet the description adds substantial behavioral detail: it enumerates exactly what is returned (date/weekday, plan with precomputed done/NOT-done verdicts, readiness, thresholds, activities with notes, 14-day comparison, 12-week load, upcoming events, response profile, facts, recent plan changes, and Blocks assistant exchanges). It also explains the side effect of the `question` parameter—that it triggers a knowledge base search but does not answer the question—and confirms 'Read-only: it writes nothing,' which is consistent with annotations.

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 long and dense, but it is front-loaded with the core purpose and uses clear section markers ('WHEN TO CALL') to aid scanning. For a tool that returns so many different data points, most sentences earn their place, though some list items could be tightened. It is appropriately sized for the complexity, with no major structural flaws.

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 the tool's complexity, the lack of an output schema, and the rich but safety-focused annotations, the description covers everything an agent needs: when to call, what data is returned, how the optional `question` behaves, and which siblings to use for focused retrieval. Nothing essential is missing.

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 100% for the single `question` parameter, so the schema already documents its format and basic effect. The description adds meaning beyond the schema by clarifying that the search is for evidence retrieval only and that 'it does not answer the question, it only decides what to retrieve,' which helps an agent understand the parameter's purpose. Minor additional value, but not enough to reach 5 given the schema already carries the essential details.

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?

States a specific verb+resource (get_context) and immediately defines its scope as 'THE WHOLE PICTURE IN ONE CALL'. It distinguishes itself from siblings by naming get_today, get_plan, list_activities, get_readiness_today, list_facts, and search_knowledge as more targeted alternatives, so an agent can tell exactly when this tool is the right pick.

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 says to call it as the first tool of a conversation, and again only after a long gap or when the athlete reports a change. It also warns that a second call in the same conversation 'almost always returns what you are already holding' and directs the agent to specific alternatives for uncovered data. This is a complete when/when-not/alternatives guide.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources