Skip to main content
Glama

x402-complex-div

Complex Div: Divides complex a+bi by c+di using fields a, b, c, d or real1, imag1, real2, imag2 🆓 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

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 behavioral burden, and it does contribute one genuinely useful fact: the tool is metered ('5 free trial calls per signed wallet'), implying a signed-wallet auth requirement and a quota. It does not disclose what happens on division by zero (c+di = 0) or what the response looks like. Useful quota context but incomplete for an annotation-free 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 tight sentence plus a short pricing tag; no filler. The operation and parameter naming are front-loaded where they matter most. Minor deduction because the 'a, b, c, d or real1, imag1, real2, imag2' phrase is dense and slightly ambiguous on first read.

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?

With no annotations, no output schema, and 8 fully undocumented parameters, the description is asked to do a lot. It covers the operation and the parameter aliasing but omits the return shape, required-vs-optional behavior, and error/edge-case semantics (e.g. zero denominator). Adequate as a minimum viable definition, 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?

Schema description coverage is 0% and all 8 parameters are undocumented in the schema, so the description is the only source of meaning. It does map the math (a+bi numerator, c+di denominator) and gives the aliased names, so an agent can infer real1=a, imag1=b, real2=c, imag2=d. However, it never states which set is required, that values are strings, or how the two groups interact if both 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?

The description names a specific verb and resource ('Divides complex a+bi by c+di'), which is a real operation rather than a restatement of the name. It is clearly distinguishable from siblings like x402-complex-add, x402-complex-mul, and x402-complex-conjugate. It stops short of explicitly routing the agent away from those siblings, so it lands at 4 rather than 5.

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 statement of when to use this versus the other complex-number tools, nor prerequisites. The mention of '5 free trial calls per signed wallet' hints at a paid/authenticated surface but does not explain the condition or what happens after the trial. The 'either a,b,c,d or real1,imag1,real2,imag2' phrasing hints at two input conventions without saying which to prefer, leaving the agent to guess.

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