Skip to main content
Glama

probe_compaction

Read-only

Verifies access to the current Codex chat and its runtime state before compaction, ensuring the conversation context can be safely preserved and the authorized task continued.

Instructions

Read-only: verify access to the owner and runtime state of the specified current Codex VS Code chat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
threadIdYesCurrent CODEX_THREAD_ID; obtain from the shell environment. Never guess or select a different thread.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

The description aligns with the readOnlyHint=true annotation by explicitly stating 'Read-only', and adds the context that it verifies access to owner and runtime state. It does not describe return behavior, error conditions, or what happens if access is denied, but given the annotation already signals safety, the additional context is modest but adequate.

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 a single, front-loaded sentence that immediately communicates the read-only nature and primary purpose. It contains no filler or redundancy. While it is terse, it is appropriately sized for a simple tool.

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 tool with one required parameter, no output schema, and strong annotations, the description covers the basic operation but leaves open important context: how results are reported, why this probe is needed relative to compaction, and what 'owner and runtime state' concretely means. An agent could call it correctly but might not fully understand the expected outcome.

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% for the single threadId parameter, and the schema already provides the critical instruction to obtain it from the shell environment and never guess. The tool description adds no further parameter semantics, so the baseline score of 3 applies.

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 ('verify') and a specific resource ('owner and runtime state of the specified current Codex VS Code chat'). It clearly distinguishes itself from the sibling compaction tools by positioning this as a read-only verification action rather than status lookup, scheduling, or cancellation. However, 'owner and runtime state' is somewhat vague and could be clearer about what is being probed.

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

Usage Guidelines2/5

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

The description provides no explicit guidance on when to use this tool versus the sibling tools (compaction_status, schedule_compaction, cancel_compaction). It implies a read-only verification role but does not state conditions, prerequisites, or alternatives. The agent must infer the intended usage context from the name and siblings alone.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DitriXNew/rekall'

If you have feedback or need assistance with the MCP directory API, please join our Discord server