Skip to main content
Glama

compile_status

Read-only

Review compile-mode memory: get counts of compiled descriptions, code anchors, and stale entries to know which code summaries are outdated.

Instructions

Summarize compile mode: how many compiled descriptions, code anchors, and how many are stale.

Compiled memory is the build-invalidated half of the store: a grounded description of what code IS, stamped with its source SHA. Fresh = trust it without re-reading the code; stale = the source moved, recheck. Authored memory (the decaying half) is unaffected, both modes share this store.

Args: project: Restrict to a project. Defaults to MCP_PROJECT if set.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoRestrict to a project. Defaults to MCP_PROJECT if set.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.26.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is known. The description adds meaningful context beyond annotations by defining what 'fresh' and 'stale' mean, that compiled memory is SHA-stamped, and that authored memory is unaffected. This gives the agent a mental model of what the summary actually represents without needing to inspect the store.

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 core summary is front-loaded in the first sentence, and the explanatory second paragraph provides necessary conceptual context for interpreting the results. The 'Args' section is redundant with the schema, slightly inflating length, but overall the text is tight and every sentence contributes to understanding the tool's purpose and output semantics.

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?

For a one-parameter tool with an output schema, the description covers the purpose, the meaning of fresheness/staleness, and the relationship to authored memory. The only notable gap is that 'code anchors' are not defined, though the context suggests they are locations in the codebase tied to compiled descriptions. Still, the conceptual model is sufficiently complete for correct invocation.

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 100% and the parameter description in the schema is identical to the 'Args' text in the tool description. The description adds no new meaning beyond the schema; it merely repeats it. With full schema coverage, a baseline of 3 is appropriate, but there is no extra semantic value added.

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?

The description clearly states a specific verb and resource: 'Summarize compile mode' and enumerates exactly what the summary counts (compiled descriptions, code anchors, stale count). This distinguishes it from siblings like memory_list (lists all memory) and compile_stale (presumably acts on stale items) through the focus on status and freshness.

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?

The description explains the conceptual difference between compiled and authored memory, which implies when the tool is relevant (checking build-validated memory health). However, it never explicitly says when to use this tool instead of, say, memory_list or compile_stale, nor does it mention any exclusions. Usage guidance is implied rather than spelled out.

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