Skip to main content
Glama

ctx_compile

Compile task-specific context packs for agents, returning relevant project state and decisions so parallel sub-agents can work without rereading transcripts.

Instructions

Context pack for one task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleNo
taskYes
budgetNo
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.3

TDQS

D1.3/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure, and it discloses nothing. It does not state whether the operation is read-only, whether the budget parameter caps output, what side effects exist, or what permissions are needed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single fragment is short but this is under-specification rather than effective conciseness. There is no front-loaded statement of action or outcome for the agent to anchor on.

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

Completeness1/5

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

For a four-parameter tool with no annotations, no output schema, and no parameter descriptions, the definition leaves the agent with nothing to determine behavior or required inputs beyond the schema's field names. It is fundamentally incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters (role, task, budget, project), and the description explains none of them. The agent cannot learn what 'budget' constrains or how 'role' affects the compiled pack.

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

Purpose2/5

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

The description is a noun phrase ('Context pack for one task') rather than a verb+resource statement, so it does not say what the tool actually does (compile/build a context window). It gives no differentiation from siblings like ctx_get, ctx_search, or ctx_task.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusions, and no mention of alternatives. Nothing tells the agent when ctx_compile should be chosen over ctx_get, ctx_search, or ctx_task.

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

Deploy Server

Other Tools