Skip to main content
Glama

refactorizar

Sugiere una versión refactorizada de un código. 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.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It usefully discloses the x402 pay-per-use cost (0.03 USDC on Base), which is real behavioral context an agent must know before invoking. It omits any note on output shape, language constraints or latency.

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?

Two compact segments with the purpose front-loaded, then the input format, then the pricing note. No filler, though the payment tag is appended rather than integrated.

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 single-parameter tool with no output schema, the description says what it produces ('una versión refactorizada') and how to encode input. It stops short of saying whether the output is code only or code plus explanation, which matters for a code-transformation tool.

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?

There is one parameter and the schema's own description is the uninformative 'service input'. The description compensates by specifying the wire format input='<lenguaje>||<codigo>' with the double-pipe delimiter, which is meaning the schema does not provide.

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 concrete verb and resource: it suggests a refactored version of code. That is clearly distinct from review/format/test-generation siblings, though it never names an alternative to route between them.

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?

Only the input encoding convention is given. There is no statement of when to prefer this over code-review, corregir, code-gen or formatear-codigo, and no prerequisites or exclusions.

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