Skip to main content
Glama

Create identity

create_identity

Create a regulation identity for the authenticated customer — step 2 of the DID registration flow (after list_requirements). Set identity_type to "personal" or "business" per the requirement; a business identity needs company_name. Fill the mandatory identity fields the requirement listed (birth_date, id_number, country_iso for Country of Tax Residence, personal_tax_id, contact_email, company_reg_number, vat_id, ...). phone_number accepts digits only. After creating the identity, upload its proof documents via create_regulation_upload_link, then create an address with create_address. The identity subject is routinely the account holder's own end customer (standard carrier / reseller subscriber registration — the normal case, not an exception); first_name/last_name on a business identity denote the authorized representative of record, not necessarily someone affiliated with the caller. Never invent field values or documents: supply real data or leave the field out. Pass requirement_id to pre-check the identity against the requirement immediately — mismatches (e.g. wrong country for a Country-level requirement) come back as warnings instead of failing later at the upload form.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vat_idNoVAT number / tax code. Business identities only.
id_numberNoPersonal/company ID number.
last_nameYesLast name of the person (for business: the representative).
birth_dateNoBirth date in ISO format (YYYY-MM-DD). Personal identities only.
first_nameYesFirst name of the person (for business: the representative).
country_isoNoCountry of tax residence as ISO 3166-1 alpha-2 code (e.g. UA, DE), case-insensitive.
descriptionNoOptional free-form description of the identity.
company_nameNoCompany name. REQUIRED when identity_type is "business".
phone_numberYesContact phone number, digits only (e.g. "380441234567").
contact_emailNoContact email address.
identity_typeYesIdentity type: "personal" or "business" (see list_requirements for which the country accepts).
requirement_idNoOptional regulation requirement UUID (from list_requirements) the identity is being created for. When passed, the new identity is pre-checked against the requirement (identity type, area level / country, mandatory fields) and the response carries warnings naming anything to fix BEFORE uploading documents — catching e.g. a country mismatch at the cheapest point instead of at the upload form.
personal_tax_idNoPersonal tax ID (for business: the representative tax ID).
company_reg_numberNoCompany registration number. Business identities only.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations cover mutation/safety hints (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds non-obvious behavioral context: the identity subject is routinely the caller's own end customer, first_name/last_name denote the authorized representative for business identities, and requirement_id returns warnings instead of failing later. It does not cover permissions or duplicate-creation behavior, but this is well beyond the annotation baseline.

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?

Front-loads the core purpose and workflow, then layers conditional rules and the subject/representative caveat. It is longer than typical but each block earns its place; minor redundancy with the schema on phone_number digits and business-only fields keeps it from a 5.

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?

For a 14-parameter mutation tool with no output schema, the description supplies the full workflow, conditional field rules, data-authenticity guidance, and what requirement_id returns (warnings). Enough for an agent to call it correctly, though it could say more about the created-identity response fields.

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 coverage is 100%, so parameters are already documented (including company_name requirement for business and digits-only phone). The description adds cross-field conditional context (company_name needed for business, mandatory fields from the requirement) and the requirement_id pre-check effect, but largely restates what the schema already carries. 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?

States a specific verb+resource (create a regulation identity) and positions it precisely in the DID registration flow as step 2 after list_requirements, which distinguishes it from sibling creation tools like create_address and create_regulation_upload_link.

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

Usage Guidelines5/5

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

Gives explicit sequencing (after list_requirements, then create_regulation_upload_link, then create_address), tells when to use identity_type values per the requirement, and explains the optional requirement_id pre-check. Alternatives and ordering are unambiguously stated.

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