Skip to main content
Glama

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. Price: $0.001 USDC per successful call (x402, 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.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, and non-destructive, so the bar is lower. The description goes beyond that by disclosing the output shape (comma-separated denominators), the monetary cost ($0.001 USDC via x402 on Solana), and an HTTPS alternative endpoint — unusual but useful context an agent needs before paying for a call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the core behavior and examples, which is good, but it is padded: three worked examples where one would do, plus payment and endpoint boilerplate that consumes roughly a third of the text without aiding invocation correctness.

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?

With no output schema, the description rightly explains the return format via prose and examples. But it omits what happens on invalid input (improper fraction, out-of-range a or b) and does not distinguish this tool from its many egypt* siblings, which is the largest remaining gap for an agent selecting among ~600 tools.

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 parameter meaning. It does: it names both parameters' domains (a and b in 1-30, b at least 2) and adds the crucial constraint that the fraction must be proper, which the schema does not encode at all.

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 computation — greedy Egyptian-fraction denominators of a/b, comma-separated — with concrete examples (3/7 -> 3,11,231). It does not distinguish itself from sibling tools with near-identical names like egypt_greedy, egyptian_sum, or egyptian_first, which an agent could easily confuse with this one.

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?

Preconditions are given (fraction must be proper, a from 1-30, b from 2-30), which implies when the tool is callable. However, there is no guidance on when to choose this over egypt_greedy, egyptian_sum, egyptian_length, or egypt_check, leaving sibling selection entirely to inference.

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