Skip to main content
Glama

ScorpTech x402 Tools

Egypt Greedy

egypt_greedy
Read-onlyIdempotent

The greedy Egyptian fraction for a proper positive fraction a/b. 5/6 is 1/2 + 1/3. A fraction that is not strictly between 0 and 1 is rejected. Returns JSON with: dens. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/egypt-greedy

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

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 readOnlyHint, idempotentHint, and destructiveHint=false, so the description only needs to add context, which it does: it discloses the rejection rule for invalid fractions, the pricing ($0.001 USDC per successful call via x402) and the equivalent HTTPS endpoint. The only real gap is the opaque return field name 'dens', whose meaning is never explained.

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 core behavior and example are front-loaded in the first sentences, and the supporting details (rejection rule, return key, price, endpoint) follow in a compact sequence. The pricing and URL sentences are somewhat tangential but genuinely useful for calling via x402, so they earn their place.

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?

The description is adequate for a two-parameter, read-only math tool that has annotations. However, it has no output schema, so the return value description ('Returns JSON with: dens') is the only clue to the result and is too terse to tell the agent what 'dens' contains or how to read it.

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?

With 0% schema description coverage, the description must compensate, and it largely does: it defines a/b as a fraction and constrains the value to strictly between 0 and 1, which tells the agent that a must be less than b and both positive. The schema's 0..5000 range is not reconciled with that rejection rule, which leaves a minor ambiguity about a=0 or a=b inputs.

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 verb and resource (compute the greedy Egyptian fraction of a/b) and even includes a worked example, 5/6 = 1/2 + 1/3. It does not distinguish itself from the sibling tools 'egyptian' or 'egypt_check', which likely compute related but different decompositions, leaving that routing decision to the agent's guesswork.

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?

Usage is implied by the example and by the acceptance rule ('strictly between 0 and 1'), so an agent can infer valid calls. However, there is no explicit when-to-use guidance and no mention of when to prefer 'egyptian' or 'egypt_check' instead.

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