Skip to main content
Glama

Batcave Detective Basic

Run Python

run_python

Execute supplied Python files in a fresh disposable CPU-only container. No outbound network, no GPU, and no host filesystem access beyond the disposable workspace. Returns bounded execution evidence, requested artifacts, and Execution Receipt v1. Price: 0.01 USD via x402. Calling this MCP tool returns the canonical REST/x402 checkout contract; it does not execute the product or charge the caller yet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cpusNo
filesYesRelative file path -> UTF-8 text content.
stdinNo
job_idNo
commandNoOptional argv; defaults to ['python','main.py'].
runtimeNo
memory_mbNo
artifact_pathsNo
timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.5/5.0
Behavior4/5

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

With no annotations, the description discloses key behavior: disposable CPU-only container, no network/GPU/host filesystem, price, and the critical two-phase fact that this call returns a checkout contract and does not execute/charge yet. The conflicting 'Execute' opening keeps it from 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is only three sentences and front-loads environment constraints and pricing. However, the contradictory execution vs checkout statements make the structure confusing rather than clear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a nine-parameter tool with no output schema and low schema coverage, the description omits how to complete the x402 checkout, what 'bounded execution evidence' contains, parameter details, and error behavior. The two-phase behavior is mentioned, but an agent cannot confidently predict the tool's return value.

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 only 22%, and the description does not compensate for the nine parameters. It only hints at 'supplied Python files' and 'requested artifacts,' leaving cpus, memory_mb, timeout_seconds, stdin, job_id, and command semantics to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence says 'Execute supplied Python files...', but the last says 'it does not execute the product or charge the caller yet' and that the call returns a checkout contract. This internal contradiction makes the tool's actual purpose ambiguous.

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?

No guidance is given about when to use this tool rather than the listed siblings (detective_basic, evidence_judge, json_doctor, scenario_council) or what triggers checkout vs execution. Only mechanics and pricing are mentioned.

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.

Resources