Skip to main content
Glama

ScorpTech x402 Tools

Float Ulp

float_ulp
Read-onlyIdempotent

Unit in the last place of a binary32 or binary64 value. A power of two uses the spacing of its own binade. Zero uses the smallest subnormal. Infinity uses positive infinity. A NaN is returned with its payload unchanged. Returns JSON with: width, bits, kind, sign, exponent, hidden, significand, quiet. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/float-ulp

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "float_ulp"
  }
}

Input Schema

NameRequiredDescriptionDefault
bitsNo
valueNo
widthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already cover the safe-read and idempotency profile, and the description goes beyond them usefully: it states the power-of-two, zero, infinity, and NaN edge-case results (NaN returned with payload unchanged) and discloses that each successful call costs $0.001 USDC via x402, plus an HTTPS alternative. What it does not cover is the failure/error behavior or how payment negotiation works, keeping it short of a 5.

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 purpose is front-loaded in the opening sentence, then edge-case behavior, return shape, and cost/endpoint follow in a logical order with no filler. The style is telegraphic and each clause carries information, though the jump from return fields to pricing is abrupt.

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?

With no output schema, the explicit list of returned JSON fields (width, bits, kind, sign, exponent, hidden, significand, quiet) is exactly the compensation needed, and the readOnly annotations plus stated payment model round out the operational picture. The remaining gap is the unresolved bits-versus-value input contract for a 3-parameter tool.

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%, so the description carries the full burden and only partially meets it: 'binary32 or binary64' implicitly maps to the width enum and its 64 default. The critical ambiguity between the two string inputs — when to supply a raw bit pattern via bits versus a numeric value via value — is never explained, and neither is the 80/4000 character limit rationale. The field list at the end reads as return values, not input semantics.

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 first sentence gives a precise, domain-specific definition: the unit in the last place of a binary32 or binary64 value. That is a clear statement of what is computed, though nothing in the text distinguishes it from siblings such as float_next or float_bits, which an agent must infer from the names alone.

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 when-to-use statement, no exclusion, and no named alternative; the agent is never told how to choose between float_ulp, float_next, and float_bits. The edge-case sentences describe semantics rather than selection guidance, so the tool's usage context remains implicit at best.

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