Skip to main content
Glama

Fillable PDF AcroForm, XFA Lockout & VPAT 2.5 Auditor

contextguard_audit_markdown

Read-onlyIdempotent

Audits AGENTS.md, .cursorrules, or project boot markdown for startup token bloat, duplicate rules, and context-compaction loop risk.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>"
    },
    "name": "contextguard_audit_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesRaw markdown or instruction file text to audit.
fileNameNoOptional filename (e.g. AGENTS.md or .cursorrules).
windowTokensNoModel context window size in tokens (default 200000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered by structured data. The description adds the specific diagnostic categories, which is useful, but says nothing about the shape of the audit report, severity levels, or size limits on input content.

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?

A single sentence with no filler, front-loaded on the verb and resource, with the diagnostic targets trailing. Every clause earns its place.

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 simple read-only audit with fully documented parameters this is close, but with no output schema the description is the only place an agent could learn what the audit returns, and it doesn't say. The remediation path (slim_boot_card) is also left unmentioned.

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%, so all three parameters are already documented, making 3 the baseline. The description adds a little by listing example filenames that map to the fileName parameter, but it does not clarify how windowTokens affects the bloat thresholds or whether content and fileName are independent.

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 names a specific verb (audits) and specific targets (AGENTS.md, .cursorrules, project boot markdown) and enumerates the three defects it looks for: startup token bloat, duplicate rules, and context-compaction loop risk. It implicitly distinguishes itself from the slimming sibling contextguard_slim_boot_card, but never names that alternative, so it falls short of a 5.

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?

Usage is only implied: an agent can infer it should call this when it wants to diagnose bloat before rewriting a boot file. There is no explicit when-to-use statement, no when-not-to-use, and no named alternative such as contextguard_slim_boot_card for remediation.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.