Skip to main content
Glama

TinyFn

liters_to_gallons_uk

Convert liters to UK gallons. Because a UK gallon isn't a US gallon.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
litersYesVolume in liters

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
litersYes
gallons_ukYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, and the description does not discuss behavioral traits like idempotency or side effects. However, for a simple conversion, the purpose itself sufficiently conveys behavior. No contradictions with annotations (none exist).

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?

The description is extremely concise with two short, meaningful sentences. Every word earns its place, and the key distinction is front-loaded.

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?

Given the simplicity of the conversion, the presence of an output schema, high schema coverage, and sibling tools for context, the description is complete enough. It could mention it is a pure function, but not necessary.

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

Parameters3/5

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

Schema coverage is 100% with a clear description for the 'liters' parameter. The tool description adds no extra semantics beyond what the schema provides, so baseline 3 is appropriate.

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

Purpose5/5

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

The description clearly states the verb 'Convert' and the specific resource 'liters to UK gallons', and it distinguishes from the US gallon variant by noting the difference, which is crucial given sibling tools like liters_to_gallons_us.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

While there is no explicit when-to-use or when-not-to-use, the description implies the tool is for UK gallons by contrasting with US gallons. This hints at usage but could be more direct.

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.