Skip to main content
Glama

ScorpTech x402 Tools

Float Bits

float_bits
Read-onlyIdempotent

Explain an IEEE 754 binary32 or binary64 value. Pass bits as hex, or a decimal or fraction, which is rounded ties-to-even. Returns the class, sign, unbiased exponent, fraction bits, and the exact value. Negative zero stays negative. The word nan is the quiet NaN; snan is the signaling NaN with payload 1. The top fraction bit is the quiet bit. 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-bits

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_bits"
  }
}

Input Schema

NameRequiredDescriptionDefault
bitsNo
valueNo
widthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the read-only and idempotent annotations, the description adds useful behavioral details: ties-to-even rounding, negative-zero preservation, NaN/snan semantics, and the exact JSON fields returned. It does not describe error behavior for invalid inputs, but the semantic transparency is strong.

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 dense but front-loaded and mostly free of fluff. The output-field list and pricing/HTTPS note are useful context, though the parameter semantics are packed into an ambiguous clause.

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 tool without an output schema, the description lists the returned JSON fields and covers special floating-point cases. It is complete enough to call, with remaining gaps mainly around parameter precedence and invalid-input behavior.

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 compensate. It adds meaning by explaining that bits can be hex and that decimal or fraction inputs are rounded ties-to-even, and binary32/binary64 implies the width values, but it does not clearly map bits versus value, state precedence when both are supplied, or explain the default width.

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 states a specific operation and resource: explain an IEEE 754 binary32 or binary64 value, including inputs and returned fields. It is clear what the tool does, but it does not explicitly distinguish itself from float_round, float_next, or float_order siblings.

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?

The description explains accepted input formats, but it does not say when to use this tool versus float_round, float_next, float_order, or other float utilities. There is no explicit when-not guidance or alternative routing.

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