Skip to main content
Glama

x402-liters-to-gallons

Liters To Gallons: Convert liters to gallons. 🆓 5 free trial calls per signed wallet

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402-liters-to-gallons"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueNo
litersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / liters / description
      Removed value: -"Liters to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / liters
      Added value: +{
      +  "description": "Liters to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full load. It does disclose an important behavioral trait — that calls are metered with five free trial calls per signed wallet, implying wallet authentication and a hard quota — but it says nothing about output format, precision, or handling of invalid input.

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 short sentences with the conversion stated first and the trial quota second; nothing is padded. The emoji is decorative but does not impair comprehension.

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 trivial conversion the description is nearly adequate, but with two ambiguous, undocumented parameters and no output schema, an agent cannot know which field to populate or what the result looks like. A single clause about the input field and return value would close the gap.

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 coverage is 0% on two parameters ('value' and 'liters'), both typed as string with no documentation. The description implies the input is a liter amount but never clarifies which of the two parameters to use, whether they are alternatives, or what format/precision the string accepts.

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?

The description names a specific verb+resource pair ('Convert liters to gallons') that an agent can match directly, but it does not distinguish itself from siblings such as x402-gallons-to-liters or x402-units-convert.

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?

There is no guidance on when to use this versus the generic converter or the reverse-direction tool, and no prerequisites or exclusions are mentioned. The only extra sentence covers payment terms, not usage selection.

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