Skip to main content
Glama

Peru - Full ID (0.60 credits)

peru_identity_extra_lookup_v3
Read-onlyIdempotent

Retrieve a fuller Peruvian DNI identity record with name and address fields when available, for cases requiring more detail than a standard DNI check.

Instructions

Peru DNI extra lookup. Returns a fuller identity record than the basic DNI call, including name and address fields when they are present. Inputs: documentType DNI and documentNumber. Use it when you need more than the basic record. Use peru_identity_lookup_v3 for the standard DNI check. Costs 0.60 credits per successful call.

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": {
      "documentType": "<documentType>",
      "documentNumber": "<documentNumber>"
    },
    "name": "peru_identity_extra_lookup_v3"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentTypeYesPeruvian document type. Use DNI.
documentNumberYesPeruvian DNI number (8 digits).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already cover read-only, idempotent, and open-world behavior, so the description's main additions are the credit cost (0.60 per successful call) and the caveat that address/name fields appear only "when they are present." It does not disclose error behavior, what a failed/not-found response looks like, or whether a failed call is still billed — meaningful gaps for a paid lookup.

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?

Four short sentences, front-loaded with the capability, then the differentiator, then the alternative, then the cost — a sensible order. The one redundant phrase is the inputs line, which duplicates schema content rather than adding information.

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 2-parameter, fully documented lookup with no output schema, the description covers purpose, the shape of the result (fuller record with name/address when present), cost, and the sibling alternative. Only the response/error behavior is left implicit.

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% and both parameters are documented there, including the DNI enum. The description's line "Inputs: documentType DNI and documentNumber" merely restates the schema and adds no format or validation detail beyond it, so the baseline 3 applies.

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 concrete verb+resource (Peru DNI extra lookup) and explicitly frames its scope relative to the basic call: "Returns a fuller identity record than the basic DNI call, including name and address fields." An agent can distinguish it from peru_identity_lookup_v3 without opening any schema.

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 an explicit selection rule: "Use it when you need more than the basic record. Use peru_identity_lookup_v3 for the standard DNI check." It names the alternative and the condition that picks it, so routing is unambiguous.

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

Deploy Server

Other Tools