Skip to main content
Glama

Plan Context Footprint

plan_context_footprint
Read-only

Estimate the footprint of MCP schema and feedback context before loading large manifests. Obtain progressive-discovery and context compaction savings plus proof-preserving recommendations.

Instructions

Estimate MCP schema and feedback-context footprint before loading large manifests into an agent prompt. Reports progressive-discovery savings, context compaction savings, and proof-preserving recommendations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entriesNoOptional feedback/context entries to compact and measure.
anchorsNoOptional entries that must survive compaction.
schemaUrlTemplateNoTemplate for progressive MCP tool schema URLs, using {name}.
targetReductionNoTarget footprint reduction as a ratio or percentage. Default: 0.22.
windowSizeNoFeedback compaction recency window.
perEntryMaxCharsNoMaximum characters retained per large feedback field.
totalMaxCharsNoOptional total character budget for compacted feedback entries.
Behavior4/5

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

Annotations already provide readOnlyHint: true, so the agent knows it's safe. The description adds value by detailing the outputs (progressive-discovery savings, context compaction savings, proof-preserving recommendations), which informs the agent of the tool's reporting behavior.

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?

The description is two sentences, front-loaded with the primary purpose, and lists key outputs succinctly. Every part is informative without unnecessary fluff.

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 read-only estimation tool with 7 optional parameters and no output schema, the description covers purpose, usage context, and output highlights. It lacks return value details but is largely complete given the annotations and schema richness.

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?

The input schema has 100% description coverage, so the schema already explains each parameter. The description does not add new information about parameters, but baseline 3 is appropriate as the schema does the heavy lifting.

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 the verb 'estimate' and the resource 'MCP schema and feedback-context footprint', with a specific context 'before loading large manifests'. It differentiates from siblings by focusing on footprint estimation rather than general context construction or retrieval.

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?

The description explicitly says 'before loading large manifests', giving a clear when-to-use context. It does not list alternatives or when-not-to-use, but the context is specific enough for an agent to decide.

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

Install Server

Other Tools

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/IgorGanapolsky/ThumbGate'

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