Skip to main content
Glama

generar-tests

Genera tests unitarios para una función. input='||'. [x402: 0.03 USDC on Base, pay-per-use]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesservice input

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does add real behavioral context by disclosing the x402 payment model (0.03 USDC on Base, pay-per-use), which an agent needs to know before invoking. However, it says nothing about output format, size limits, or error behavior for a generation task.

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?

Two short sentences, purpose front-loaded, then the input contract and the cost note. Every element earns its place with no filler.

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 one-parameter tool this covers purpose, input encoding and cost, which is a usable minimum. But with no output schema and no annotations, it should still indicate what the return looks like or any constraints on the generated tests, which it omits.

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

Parameters4/5

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

The schema's own description is the useless 'service input', but the description compensates by explaining the exact encoding: input='<lenguaje>||<codigo>'. This delimiter format is essential and appears nowhere in the schema, so it exceeds the baseline-3 credit for high coverage.

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+resource ('Genera tests unitarios para una función'), which clearly separates it from code-gen, code-review and documentar-funcion. It is unambiguous what artifact is produced, though it never explicitly names the siblings it is not.

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 gives no when-to-use, no prerequisites and no alternatives. It only specifies the input format, not the conditions that select this tool over the numerous other code-related siblings.

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