Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-moles-from-mass

Moles From Mass: Moles from mass and molar mass. Takes mass and molarMass. Returns the moles as result. 🆓 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-moles-from-mass"
  }
}

Input Schema

NameRequiredDescriptionDefault
massNo
molarMassNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / mass / description
      Removed value: -"Mass to process"
    • removedInput schema / properties / molarMass / description
      Removed value: -"MolarMass to process"
  2. First observed

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose a commercial/access trait (five free trial calls per signed wallet), which is genuinely useful, but says nothing about units, precision, error behavior on invalid input, or result format.

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?

Short and front-loaded, but the second sentence largely repeats the title ('Moles from mass and molar mass' followed by 'Takes mass and molarMass'). The pricing note is appended rather than integrated, and space wasted on repetition could have carried unit information.

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 two-parameter numeric conversion with no output schema and no annotations, the definition is under-specified: an agent cannot know accepted units, whether strings are parsed as floats, or how errors are returned. Only the billing note and the basic relationship are covered.

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 0% for both parameters, and the description merely restates the parameter names ('takes mass and molarMass'). Crucially it omits units (g vs kg) and the type/format expected for string-typed inputs, leaving the agent to guess.

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 and resource: converting mass and molar mass into moles, which is distinct from the inverse sibling x402-mass-from-moles. It stops short of naming that sibling explicitly, so the differentiation is inferable rather than stated.

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 obvious inverse tool (mass-from-moles) or which takes precedence. No prerequisites or input constraints are given beyond the field names.

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.