Skip to main content
Glama

Egyptian First

egyptian_first
Read-onlyIdempotent

The first denominator in the greedy Egyptian expansion of a/b. 3/7 starts at 3, 5/6 starts at 2, and 2/3 starts at 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-first

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

Input Schema

NameRequiredDescriptionDefault
aYes
bYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds useful behavioral context: pricing at $0.001 USDC per successful x402 call on Solana and an alternate HTTPS endpoint. It does not describe error behavior for invalid fractions, but there is no annotation contradiction.

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

Conciseness5/5

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

The purpose is front-loaded, then clarified with brief examples before constraints, pricing, and the alternate endpoint. Every sentence adds useful information and there is no filler.

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 simple read-only numeric tool with no output schema, the description is complete enough: it explains the computation, gives examples, states input validity, and discloses payment/access details. The return value is implied clearly as the first denominator.

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 defines the a/b fraction, repeats the 1..30 bounds with b >= 2, and adds the non-schema constraint that the fraction must be proper. It relies on the a/b notation for numerator/denominator roles, so it compensates well but not exhaustively.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific computation clearly: the first denominator in the greedy Egyptian expansion of a/b, with examples that make the output concrete. The word 'first' implicitly distinguishes it from siblings such as egyptian_last, egyptian_length, and egyptian_sum.

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?

It gives validity preconditions such as 'The fraction must be proper' and the a/b ranges, which helps avoid invalid calls. However, it never explicitly says when to use this tool versus sibling Egyptian-expansion alternatives.

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