Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-regular-polygon-area

Regular Polygon Area: Area of a regular polygon. Takes side and sides (alias n, integer >= 3). 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-regular-polygon-area"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNo
sideNo
sidesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / n / description
      Removed value: -"N to process"
    • removedInput schema / properties / side / description
      Removed value: -"Side to process"
    • removedInput schema / properties / sides / description
      Removed value: -"Sides to process"
  2. Changed3 schema fields changed
    • addedInput schema / properties / n
      Added value: +{
      +  "description": "N to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / side
      Added value: +{
      +  "description": "Side to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / sides
      Added value: +{
      +  "description": "Sides to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

B3.2/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 burden; it does disclose that the computed area is returned as 'result' and adds quota/pricing context (5 free trial calls per signed wallet), which is genuine behavioral information. It omits units, precision, error behavior for invalid input, and exactly what a 'signed wallet' implies for auth.

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?

Short and front-loaded, with the operational details packed into one sentence and the quota note at the end. The name-restating opening clause is mild waste but nothing else is padding.

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 3-parameter calculation with no annotations and no output schema, the definition covers the core semantics but leaves alive ambiguity around alias precedence, units of the result, and the string-typed parameters despite an 'integer' claim. Adequate to attempt a call, not complete.

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?

With 0% schema description coverage the description must compensate, and it partially does by explaining that 'side' is the edge length and that 'sides'/'n' are aliases for a polygon edge count with an integer >= 3 constraint. It does not resolve the string-vs-integer type mismatch with the schema, nor what happens if both 'n' and 'sides' are supplied.

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: computes the area of a regular polygon, which cleanly separates it from the perimeter/interior/exterior siblings. The opening phrase 'Regular Polygon Area: Area of a regular polygon' is somewhat redundant, but the operative sentence is unambiguous.

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 explicit when-to-use guidance and no reference to the sibling tools (perimeter, interior angle, exterior angle) that an agent could confuse it with. The only constraint given is 'integer >= 3' for the side count, which is a validation rule rather than usage 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.

Resources