Skip to main content
Glama

ScorpTech x402 Tools

Poly Div

poly_div
Read-onlyIdempotent

Exact quotient of two integer polynomials. The divisor must be non-zero, and every leading step must divide in the integers. A zero divisor or a non-integral quotient is rejected. Returns JSON with: value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/poly-div

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "poly_div"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior. The description adds useful behavioral context: exact division is required, zero divisors and non-integral quotients are rejected, the response contains a value field, and calls cost $0.001 USDC via x402.

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?

The description is front-loaded with purpose and rejection rules, then returns, pricing, and endpoint details. It is efficient overall, though the payment and HTTPS details could be separated more cleanly from the mathematical semantics.

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 two-parameter polynomial division tool with no output schema, the description covers purpose, constraints, return field, and payment model. The major gap is that it does not explain how the two array parameters map to dividend and divisor or how coefficients are ordered, which is important for correct invocation.

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?

With 0% schema description coverage, the description must clarify parameter meaning, but it never explicitly maps the parameters a and b to dividend and divisor. It implies the divisor must be non-zero and that inputs are integer polynomials, but it does not specify coefficient ordering or array interpretation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific operation and resource: exact quotient of two integer polynomials. It distinguishes itself from sibling polynomial tools like poly_add and poly_mul by defining division semantics and rejection conditions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description specifies key validity constraints — non-zero divisor and integral quotient — which implies when the tool is valid. However, it does not explicitly compare when to use this tool versus poly_mul or poly_div alternatives, nor does it give examples of acceptable inputs.

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