Skip to main content
Glama

debug_python_error

Paid $0.01 Base USDC. Debug Python code from source plus an observed error/exception/traceback. Returns a bounded diagnosis, evidence, strongest static issue, and suggested fix. Submitted source is never executed or retained.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
errorYes
intentNo
languageNopython

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses meaningful non-obvious traits: the call is paid ($0.01 Base USDC), submitted source is never executed or retained, and the return is bounded. It omits anything about failure modes, retries, payment failure handling, or limits, which prevents a 5.

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?

Three tight sentences, front-loading the payment cost and then the purpose and return/behavior guarantees. Every sentence carries distinct, useful information with no waste.

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?

Absent an output schema, the description does state the shape of what comes back (bounded diagnosis, evidence, strongest static issue, suggested fix) and covers cost and privacy. The remaining gap is the undocumented 'intent' parameter and lack of guidance on error-input formatting.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, but it only alludes to 'source' and 'error' and says nothing about the 'intent' parameter or when a non-default 'language' is valid. Two of four parameters remain fully undocumented.

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?

States a specific verb and resource ('Debug Python code') and scopes it precisely with 'from source plus an observed error/exception/traceback', which implicitly separates it from siblings like code_review_python and code_signal_python that don't require an observed error. It does not name or contrast those siblings explicitly, so it stops 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 Guidelines2/5

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

The description implies the required inputs (source plus an observed error) but never states when to use this tool versus the sibling review/signal tools, nor any when-not conditions. No routing guidance is provided.

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.