Skip to main content
Glama

x402-complex-sub

Complex Sub: Subtracts the second complex number from the first, returning real and imag parts 🆓 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.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 burden. It usefully discloses the return shape (real and imag parts) and hints at a paid/signed-wallet access model with a free trial, but says nothing about required inputs, error behavior, or which of the duplicated parameters are actually consumed.

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?

A single front-loaded sentence states the operation and its output, followed by a short access note. No filler or redundancy, though the emoji pricing tail is tangential to the operation itself.

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 an 8-parameter tool with no annotations and no output schema, the description does cover the return value but leaves the parameter model ambiguous, which is the main thing an agent needs to call it correctly. The duplicate-looking inputs are a real completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, and the description adds nothing to disambiguate them. Crucially, it never explains whether the agent should pass a/b or real1/imag1/real2/imag2, leaving the overlapping parameter set (a, b, c, d vs real1/imag1/real2/imag2) entirely unresolved.

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 ('subtracts the second complex number from the first') and even specifies operand order and the returned parts, which cleanly separates it from siblings like x402-complex-add or x402-complex-mul. It stops short of explicitly naming those siblings, so it is clear but not fully differentiated in-text.

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 explicit when-to-use guidance, no conditions, and no reference to the other complex-number siblings that share this namespace. The name implies the domain, but the agent gets no routing help between x402-complex-add/mul/div/sub.

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