Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-pyramid-volume

Pyramid Volume: Volume of a pyramid. Takes baseArea and height. Returns the volume 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-pyramid-volume"
  }
}

Input Schema

NameRequiredDescriptionDefault
heightNo
baseAreaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / baseArea / description
      Removed value: -"BaseArea to process"
    • removedInput schema / properties / height / description
      Removed value: -"Height to process"
  2. First observed

TDQS

B3.2/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, and it at least discloses the return shape ("Returns the volume as result") and a pricing/quota note about 5 free trial calls per signed wallet, which is useful operational context. It does not disclose units, rounding/precision, numeric parsing of the string inputs, or behavior on invalid or missing inputs.

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?

Three short sentences, front-loaded with the purpose, then inputs, then return value, then the quota note. Nothing is padded or off-topic, though the emoji-laden trial line is more marketing than specification.

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 two-parameter math utility with no annotations and no output schema, the description covers what it computes and what it returns, which is close to sufficient. The remaining gaps — units, precision, and string-to-number conversion — are the ones an agent would actually need to call it correctly.

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%, so the description must compensate, and it only repeats the two property names ("Takes baseArea and height"). It adds no units, no expected format despite both parameters being typed as strings, and no clarification that required parameters are listed as zero, leaving the agent to guess what is mandatory.

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 states a specific verb and resource — compute the volume of a pyramid from baseArea and height — and names the shape, which is the exact attribute that separates it from siblings like x402-cone-volume or x402-prism-volume. It stops short of naming an alternative explicitly, so it is clear but not fully differentiated.

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

Usage Guidelines3/5

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

Usage is implied by the mathematical definition: supply base area and height to get a volume. There is no statement of when to prefer this over other volume tools, no prerequisites, and no conditions for the free-trial limit beyond a bare count. An agent can infer the context but is given no routing guidance.

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.