Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-triangle-area

Triangle Area: Area of a triangle. Takes base and height. Returns the area 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-triangle-area"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNo
heightNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / base / description
      Removed value: -"Base to process"
    • removedInput schema / properties / height / description
      Removed value: -"Height 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?

With no annotations, the description carries the full behavioral burden and falls short: it does not state return type or precision for the area, whether inputs must be positive numbers, what happens on non-numeric input, or what a failed/paid call returns. The one useful disclosure is the pricing/auth model (5 free trial calls per signed wallet), which hints at x402 payment semantics but is not elaborated.

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?

Very short and front-loaded, which is good, but 'Triangle Area: Area of a triangle' is redundant restatement and the emoji promo line consumes a quarter of the text without selection value.

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?

A two-parameter geometry tool with no output schema, no annotations, and zero schema coverage needs the description to pin down input format, units, and result shape. It instead leaves all of that unresolved, so an agent could easily pass a non-numeric string or misread the returned area.

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%, and both parameters are typed as strings with no descriptions. 'Takes base and height' merely restates the parameter names; it adds no unit, numeric-format, or validation semantics, so the agent gains nothing beyond the bare schema.

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 the resource (triangle area) and the exact inputs (base and height), so an agent knows what computation happens. It does not differentiate from the sibling x402-triangle-heron, which also computes triangle area (from three sides), so the agent cannot tell which to pick without opening schemas.

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?

No when-to-use guidance and no mention of when this is wrong (e.g., when only three sides are known and Heron's form should be used instead). The only conditional content is a promo line about free trial calls, which does not help tool 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.