Skip to main content
Glama

Peru - Peruvian Business Verification (0.30 credits)

peru_api_company_lookup_v3
Read-onlyIdempotent

Validate a Peruvian company by RUC and retrieve its current legal name and status for verification or onboarding checks.

Instructions

Peru company lookup, v3, by RUC. Returns the current company name and status. Inputs: documentType RUC and documentNumber. Prefer it over peru_api_company_lookup for the v3 shape. Use peru_identity_lookup_v3 for a DNI. Costs 0.30 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_api_company_lookup_v3"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentTypeYesGovernment-issued document type code for this country.
documentNumberYesDocument number. Dots, dashes, and spaces are accepted and ignored for length checks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavior: billing of 0.30 credits and specifically 'per successful call', which tells the agent failed lookups are not charged. It does not describe rate limits or error behavior for invalid RUCs.

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 with the purpose and return value front-loaded, then routing, then cost. The only waste is repetition of the version tag ('v3' in name, title and text) and the credit price, which is also in the title.

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 two-parameter lookup with no output schema, the description covers what it does, what comes back (name and status), which sibling to use instead, and the cost model. Combined with annotations that carry the safety profile and a fully described schema, nothing an agent needs to call it correctly is missing.

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 100%, so both parameters are already documented, including the RUC-only enum and the note that dots, dashes and spaces are ignored. The description only restates the parameter names and the RUC value, adding no syntax or validation detail beyond the schema; 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?

The description gives a specific verb and resource ('Peru company lookup ... by RUC') and states what is returned ('current company name and status'). It also distinguishes itself from two siblings by name, so an agent can separate it from peru_api_company_lookup and peru_identity_lookup_v3 without opening a schema.

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?

It routes the agent explicitly: prefer this over peru_api_company_lookup for the v3 shape, and use peru_identity_lookup_v3 for a DNI. The one gap is that 'v3 shape' is not explained, so the reason to prefer this version over the non-v3 sibling is left implicit.

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