Skip to main content
Glama

AgentStall: Africa and global data for agents

South African company registration number check (CIPC)

za_validate_company_number
Read-onlyIdempotent

South African company registration number check: validates a CIPC registration number (YYYY/NNNNNN/NN) and decodes the registration year and entity type, such as (Pty) Ltd, Ltd, NPC, Inc, CC, co-operative or SOC. Format check only, not a CIPC status lookup. Useful for supplier onboarding, invoices and tender paperwork. Returns JSON with valid, formatted, registrationYear, entityType. Read-only; invalid input is rejected before any charge. Price: $0.002 USDC per call (x402, Base mainnet), paid only when the call succeeds.

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": {
      "number": "<number>"
    },
    "name": "za_validate_company_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesRegistration number, e.g. 2015/123456/07

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Adds real value beyond the readOnly/idempotent/closed-world annotations: the return payload fields, the rejection-before-charge guarantee, and the x402 pricing and settlement chain. However, the pricing sentence is commercial metadata rather than tool behavior, and it omits what the 'formatted' field looks like and what error output is returned for invalid 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?

Well front-loaded: purpose and format first, exclusions next, then use cases, return shape, safety and price. It is one dense block, and the pricing sentence could be trimmed, but no sentence is 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 single-parameter validator with no output schema, the description covers everything an agent needs: input format, returned fields, read-only safety, failure/charge semantics and cost. Nothing required to call it correctly or decide to call it is missing.

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 coverage is 100% and the single parameter already carries an example, so the baseline is 3. The description adds marginal meaning by restating the positional template YYYY/NNNNNN/NN and, more usefully, explaining that the trailing segments encode registration year and entity type.

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 a specific verb and resource (validates a CIPC registration number), pins the exact format YYYY/NNNNNN/NN, and enumerates the derived outputs (registration year, entity type). The negative scope 'Format check only, not a CIPC status lookup' separates it from status/enquiry tools, and the entity-type list makes clear it is not the ID-number or tax-number sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete usage contexts (supplier onboarding, invoices, tender paperwork) and one explicit exclusion (not a CIPC status lookup), which implies the when-not case. It stops short of naming which sibling to use instead when a caller actually needs registry status or an ID/tax number check.

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