Skip to main content
Glama

x402-complex-add

Complex Add: Adds two complex numbers given as real and imaginary parts, returning real and imag 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
aNo
bNo
cNo
dNo
imag1No
imag2No
real1No
real2No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedInput schema / properties / a / description
      Removed value: -"A to process"
    • removedInput schema / properties / b / description
      Removed value: -"B to process"
    • removedInput schema / properties / c / description
      Removed value: -"C to process"
    • removedInput schema / properties / d / description
      Removed value: -"D to process"
    • removedInput schema / properties / imag1 / description
      Removed value: -"Imag1 to process"
    • removedInput schema / properties / imag2 / description
      Removed value: -"Imag2 to process"
    • removedInput schema / properties / real1 / description
      Removed value: -"Real1 to process"
    • removedInput schema / properties / real2 / description
      Removed value: -"Real2 to process"
  2. Changed8 schema fields changed
    • addedInput schema / properties / a
      Added value: +{
      +  "description": "A to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / b
      Added value: +{
      +  "description": "B to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / c
      Added value: +{
      +  "description": "C to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / d
      Added value: +{
      +  "description": "D to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / imag1
      Added value: +{
      +  "description": "Imag1 to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / imag2
      Added value: +{
      +  "description": "Imag2 to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / real1
      Added value: +{
      +  "description": "Real1 to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / real2
      Added value: +{
      +  "description": "Real2 to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It partially discloses the return shape ('returning real and imag') and a rate/auth constraint ('5 free trial calls per signed wallet'), which is real behavioral context. However it says nothing about numeric format, precision, or error behavior for an 8-parameter tool.

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?

One front-loaded sentence covering operation, inputs, and output. The trailing free-trial marketing text is appended rather than integrated, but it is short and does not bury the core statement.

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?

With 8 parameters, no annotations, and no output schema, the description is the only source of behavioral and parameter detail, and it leaves the parameter mapping unresolved. For a tool whose schema contains two competing parameter sets, that omission is material.

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 there are 8 undocumented string parameters. The description says input is 'given as real and imaginary parts' but never maps those concepts onto the schema: the agent cannot tell whether to use real1/imag1/real2/imag2 or the redundant a/b/c/d, nor why both sets exist.

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 ('Adds two complex numbers') and describes the input decomposition (real and imaginary parts) and the return shape. It does not explicitly distinguish itself from the many sibling complex operations (x402-complex-mul, x402-complex-div, x402-complex-sub), though the name carries that differentiation implicitly.

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 guidance on when to use this versus x402-complex-mul, x402-complex-sub, or x402-complex-div, and no statement of prerequisites. The only extra sentence is a pricing promotion, not 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.

Resources