Skip to main content
Glama

ScorpTech x402 Tools

Ruler Odd

ruler_odd
Read-onlyIdempotent

Remove every factor of 2 from n. The odd part of 12 is 3 and the valuation is 2. The odd part of 7 is 7. n runs from 1 to 1000000000000. Returns JSON with: n, value, odd. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/ruler-odd

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": {
      "n": "<n>"
    },
    "name": "ruler_odd"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the JSON return fields (n, value, odd), a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. It does not, however, explain failure/payment-failure behavior or what 'value' means precisely, keeping this at a solid 3.

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?

Front-loaded with the core definition, followed by two short clarifying examples, then return shape and payment/transport facts. Nearly every sentence earns its place; the bound restatement is the only mild redundancy with the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter pure math function with no output schema, the description supplies the operation, examples, output field names, cost, and an alternate HTTPS invocation path. Only the exact semantics of the returned 'value' field is left to inference, which is a minor gap.

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%, so the description must carry the load for the single parameter n. It does explain n semantically through the worked examples and restates the 1..10^12 bound already present in the schema, which is repetition rather than added meaning. Adequate but not rich.

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 operation ("Remove every factor of 2 from n") and backs it with two worked examples (12→3 with valuation 2; 7→7), so the transformation is unambiguous. It does not differentiate itself from sibling numeric tools like ruler or ruler_max, leaving the agent to infer the boundary.

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 when-to-use or when-not-to-use guidance is given relative to alternatives; the only constraints mentioned are the input domain (1 to 1000000000000) and the pricing/transport details. Usage is implied entirely by the mathematical definition.

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