Skip to main content
Glama

TokenZero

audit_repo_token_waste

Static-analyze a public GitHub repo (owner/name) or a set of source files for LLM token waste: uncached static prompts, frontier models on extraction tasks, hot loops, non-deterministic repeat calls. Returns findings with fixes and an estimated recoverable percentage.

Input Schema

NameRequiredDescriptionDefault
repoNoGitHub owner/name (public)
filesNoAlternative to repo: files to analyze

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/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. It usefully discloses that analysis is static (not executed) and limited to public repos, and it previews the output ('findings with fixes and an estimated recoverable percentage'). It does not address size/time limits, whether the repo is cloned, or permissions, which are material for an unannotated tool.

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?

A single front-loaded sentence with the action, input scope, detection categories, and output all present; nothing is padding. It is dense with a long embedded list, which costs a little readability but not wasted words.

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?

The description covers inputs and the shape of the result reasonably well, and no output schema exists so it must carry the return-value burden. However, both parameters are optional (required: 0) and the description never says what happens if neither repo nor files is supplied — a real ambiguity for a 2-param unannotated tool.

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 coverage is 100%, so both parameters are already documented, including that 'files' is an alternative to 'repo'. The description reinforces the public-repo constraint and the either/or relationship but adds no format or sizing detail beyond the schema.

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?

States a specific verb ('Static-analyze'), a named resource ('public GitHub repo (owner/name) or a set of source files'), and the exact defect classes it looks for. That detail distinguishes it from siblings like workspace_metrics or calculate_model_arbitrage without the agent needing to open any schema.

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 by the description of what the tool detects; there is no explicit 'use this when...' guidance, no exclusions, and no routing to siblings such as calculate_model_arbitrage. The 'repo or files' phrasing at least signals the two supported input modes.

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.