Skip to main content
Glama

get_execution_context

Retrieve relevant past experience for a task before starting work, including scored candidate strategies, likely files, and lessons to guide execution.

Instructions

Retrieve relevant past experience for a task, with 2-3 scored candidate strategies, likely files, and lessons. Call before substantial work when no [OpenReflex] context was injected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden. It implies a read-only operation via 'Retrieve' and mentions the output, but it does not explicitly state side-effect behavior, read-only status, or any limitations. It could benefit from stating that it does not modify state, making it a moderate 3.

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, front-loaded with the action and output, followed by a clear usage condition. No extraneous words; every sentence earns its place.

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 only one parameter and the existence of an output schema, the description covers the essential aspects: what it does, what it returns, and when to call it. It does not explain the output schema structure, but that is covered by the output schema itself.

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 0% for the single 'task' parameter. The description mentions 'for a task' which gives some context, but does not elaborate on the expected format or content of the task string. Since the parameter is a simple string, this is acceptable but minimal.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb (Retrieve) and resource (relevant past experience for a task), and specifies the output (2-3 scored candidate strategies, likely files, and lessons). However, it does not explicitly differentiate from sibling tools like search_experience, which might also retrieve past experience, so it stops short of a 5.

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?

Provides an explicit trigger condition: 'Call before substantial work when no [OpenReflex] context was injected.' This tells the agent when to use it, but it does not mention when not to use it or name alternatives, so it is not a 5.

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