Skip to main content
Glama

Check a registration's progress

get_registration_state
Read-only

Read where one of the user's registrations stands: status, stage, next action and action_path, which form sections are done, missing or invalid fields (names only), each document's status and what's wrong with it, payment status, whether their NIN is confirmed, and for a queried registration CAC's reason plus each flagged item with its fix_path and whether it's resolved. It never includes personal details (NIN, date of birth, phone, addresses); those are on the registration page.

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": {
      "business_id": "<business_id>"
    },
    "name": "get_registration_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
business_idYesA business id from list_my_businesses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds meaningful behavioral context beyond them: output is a read of current state, personal data (NIN, DOB, phone, addresses) is deliberately excluded, invalid fields return names only, and CAC's reason/fix_path items appear only for a queried registration. It stops short of covering permissions, freshness/caching of the status, or error behavior for an unregistered business_id.

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?

Purpose is front-loaded in the opening clause, and the long field enumeration is justified because there is no output schema to carry the return shape. The single sentence is dense and comma-chained, but almost every clause adds distinct information; only the trailing 'those are on the registration page' is arguably optional.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 properly carries the return-value burden and does so comprehensively, including what is deliberately omitted. Gaps remain around failure modes (unknown or foreign business_id), whether status is live versus cached, and any authentication expectations, but for a single-parameter read tool it is close to sufficient.

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?

Only one parameter exists and schema description coverage is 100%, with the schema itself telling the agent to source the id from list_my_businesses. The description adds only indirect meaning by framing the id as identifying one of the user's registrations. With the schema doing the heavy lifting, the baseline 3 is appropriate.

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?

The description opens with a specific verb and resource ('Read where one of the user's registrations stands') and then enumerates exactly what that state comprises: status, stage, next action, action_path, per-section done/missing/invalid fields, document statuses, payment status, NIN confirmation, and CAC reason with fix_path. This is far more than a restatement of the name and gives an agent a concrete picture of the payload, distinguishing it from narrower siblings like get_cac_documents or get_action_status.

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?

The phrase 'one of the user's registrations' implies usage for a known business_id, but the description never states when to choose this tool over refresh_cac_status, get_action_status, or get_cac_documents, nor any prerequisite like first calling list_my_businesses. The only routing statement is a field-level exclusion ('those are on the registration page'), which steers away from personal details rather than toward an alternative tool.

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