Skip to main content
Glama
nbrain-egypt-eta-mcp

nbrain-egypt-eta-mcp

validate_egypt_tax_rin

Validates 9-digit Egyptian corporate Tax Registration Numbers (RINs) for ETA e-invoicing and e-receipts, helping verify tax registration before B2B/B2C processing.

Instructions

Validate a 9-digit Egyptian corporate Tax Registration Number (RIN / رقم التسجيل الضريبي المصري).

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": {
      "rin": "<rin>"
    },
    "name": "validate_egypt_tax_rin"
  }
}

Input Schema

NameRequiredDescriptionDefault
rinYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden and leaves the most important behavioral question unanswered: whether validation is a local format/checksum test or a lookup against an external registry (with associated latency, auth, or rate limits). It also does not say whether an invalid RIN produces a false result, an error, or a structured reason.

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?

A single front-loaded sentence with no filler; the bilingual naming earns its place by disambiguating the resource for Arabic-language contexts.

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 tool is simple (one required string param, no nesting), but with no output schema the description should explain what a validation call returns (boolean, status object, or error) and what the check is based on. As written, an agent knows the input constraint but not how to interpret the result.

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% (the single `rin` property is only typed as string), so the description must compensate, and it partially does by specifying '9-digit'. It still leaves open whether non-digit characters, separators, spaces, or Arabic-Indic numerals are accepted, and whether leading zeros are preserved.

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 (Validate) and a specific resource (9-digit Egyptian corporate Tax Registration Number / RIN), including the Arabic name and a length constraint, so an agent knows exactly what is being checked. It does not explicitly differentiate itself from the listed siblings (VAT/WHT calculation, ETA UUID generation, e-receipt chain verification), though the subject matter is naturally distinct.

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 only implied: an agent can infer it should call this when it needs to check a RIN, but there is no statement of when not to use it, no prerequisites, and no reference to alternatives. With four sibling tools in the same Egyptian-tax domain, explicit routing guidance would have real value here.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.