Skip to main content
Glama

context

Open, inspect, or refresh a task in the native host to read required documents before file or execution operations; does not launch providers or version probes.

Instructions

Open, inspect, or refresh a task in the native host. Read every required document with read before file or execution operations. Does not launch providers or version probes.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, and the description is consistent with that (open/refresh create or update host state, no providers launched). It adds the meaningful prerequisite that documents must be read first, but says nothing about what state `open` or `refresh` creates, whether repeated openings are idempotent, or what happens to an existing context on refresh.

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?

Three short sentences with the capability statement front-loaded, then the prerequisite, then the exclusion. Nothing is decorative, though the middle sentence about reading documents sits slightly awkwardly between the purpose and the exclusion rather than being grouped with prerequisites.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a polymorphic three-variant schema with no output schema, the description covers the action set and one prerequisite but leaves the variant requirements and parameter roles unexplained. An agent can guess which action to pick but cannot fully predict the effect of `open` versus `refresh` from the text alone. Annotations cover the safety profile, which limits how much is truly missing.

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 reported at 100%, so the schema carries the burden and 3 is the baseline. The description's verb list (open/inspect/refresh) loosely corresponds to the const-constrained action values, but it does not clarify the meaning of `task`, `cwd`, `targets`, or `context_id`, nor why `context_id` is required for status/refresh but absent from open.

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 gives specific verbs tied to the resource: "Open, inspect, or refresh a task in the native host," which maps loosely onto the three schema variants (open/status/refresh). The negative clause "Does not launch providers or version probes" helps separate it from the codex_* and antigravity_* siblings, though the tool name "context" alone would be opaque and "native host" is left undefined.

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?

There is one concrete usage rule: read required documents with `read` before file or execution operations, which is genuinely actionable and names a sibling. However, it does not say when to choose `context` over `task_close`, `codex_status`, or `codex_resume`, nor when each of the three action variants is appropriate. Usage is implied by the verb list rather than stated as a decision rule.

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