Skip to main content
Glama

ScorpTech x402 Tools

Egyptian

egyptian
Read-onlyIdempotent

The greedy Egyptian-fraction denominators of a/b, written comma-separated. 3/7 gives 3,11,231. 5/6 gives 2,3. 1/2 gives 2. The fraction must be proper. a and b run from 1 to 30, with b at least 2. Returns JSON with: a, b, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/egyptian

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": "egyptian"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnly, idempotent, non-destructive, open-world, so safety is covered. The description adds genuinely non-obvious behavior: a $0.001 USDC x402 payment per successful call on Base or Solana, plus an equivalent HTTPS endpoint. It also enumerates the response keys (a, b, value) and gives sample outputs, though it omits error behavior for invalid or improper input.

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 behavior, then examples, then constraints, then pricing/endpoint. The three short examples earn their place by pinning down greedy output format. The payment/URL line is slightly promotional but is real call-relevant information.

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

Completeness5/5

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

For a two-integer pure-function tool with no output schema, the description covers domain semantics, valid ranges, expected output format with examples, cost, and an alternate access channel. Only error handling is unstated, which is minor here.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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. Naming 'a/b' establishes numerator/denominator roles, and 'the fraction must be proper' adds a constraint the schema does not enforce, which is meaningful beyond the numeric bounds. The 1–30 and b>=2 ranges merely restate the schema's minimum/maximum.

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 verb+resource: computes the greedy Egyptian-fraction denominators of a/b, written comma-separated, with three worked examples (3/7 gives 3,11,231). An agent can tell it produces the full decomposition list. It never mentions the sibling variants egyptian_first, egyptian_last, egyptian_length, or egyptian_sum, so the differentiation from those is left to the caller.

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?

Gives useful preconditions: the fraction must be proper, a and b run from 1 to 30, and b at least 2. That tells the agent when the call is valid but not when to choose this tool over the sibling egyptian_first/egyptian_sum variants, and it does not state what happens if an improper fraction is passed.

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