Skip to main content
Glama

Consultar información pública de un RUC

get_sri_ruc_info
Read-only

Retrieve a public SRI record for an Ecuadorian 13-digit RUC, including name, status, type, activity, dates, and registered establishments. No tax amounts are returned.

Instructions

Public SRI record for one 13-digit RUC: name, status, type, activity, dates and registered establishments. No tax amounts.

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": {
      "ruc": "<ruc>"
    },
    "name": "get_sri_ruc_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
rucYesExact 13-digit Ecuadorian RUC
formatNotext summary (default) or json structured result.text
include_establecimientosNoInclude registered establishments

Output Schema

NameRequiredDescriptionDefault
sourceNo
metadatosYes
url_fuenteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "metadatos": {
      +      "properties": {
      +        "contrato": {
      +          "const": "ecudatamcp.response.v1"
      +        }
      +      },
      +      "required": [
      +        "contrato"
      +      ],
      +      "type": "object"
      +    },
      +    "source": {},
      +    "url_fuente": {}
      +  },
      +  "required": [
      +    "metadatos"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.13.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  3. Changed2 schema fields changedv0.12.0
    • changedInput schema / properties / include_establecimientos / description
      Previous value: -"incluir establecimientos registrados"New value: +"Include registered establishments"
    • changedInput schema / properties / ruc / description
      Previous value: -"RUC ecuatoriano exacto de 13 dígitos"New value: +"Exact 13-digit Ecuadorian RUC"
  4. Changed3 schema fields changedv0.10.0
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / include_establecimientos / description
      Added value: +"incluir establecimientos registrados"
    • addedInput schema / properties / ruc / description
      Added value: +"RUC ecuatoriano exacto de 13 dígitos"
  5. Changed5 schema fields changedv0.8.14
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / include_establecimientos / title
      Removed value: -"Include Establecimientos"
    • removedInput schema / properties / ruc / title
      Removed value: -"Ruc"
    • removedInput schema / title
      Removed value: -"get_sri_ruc_infoArguments"
    • removedOutput schema / title
      Removed value: -"get_sri_ruc_infoDictOutput"
  6. First observedv0.8.12

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety and external-source behavior are covered structurally. The description adds that the record is public (no privileged access implied) and that tax amounts are excluded, which is useful scope context, but it says nothing about failure behavior for an invalid or nonexistent RUC. With annotations carrying the safety profile, the additional disclosure is modest.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the resource and cardinality constraint, followed by the scope exclusion. No filler, no repetition of the title.

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?

An output schema exists, so return shape need not be explained, and all three parameters are fully documented. The description adequately conveys what a caller gets back at a high level and what is deliberately absent (tax amounts). Only minor gaps remain around invalid-RUC behavior and whether results are cached or live.

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%, with every parameter documented in-schema including the enum for format and the default for include_establecimientos. The description only echoes the 13-digit constraint and the establishments content, adding no format, normalization, or error semantics beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — a public SRI record lookup for exactly one 13-digit RUC — and enumerates the returned fields (name, status, type, activity, dates, establishments). The 'one 13-digit RUC' framing implicitly separates it from the search_sri_ruc sibling, but the sibling is never named, so differentiation is left to inference.

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?

Usage is implied by 'for one 13-digit RUC' (exact-identifier lookup rather than browsing or searching), and 'No tax amounts' marks a scope boundary. There is no explicit statement of when to prefer this over search_sri_ruc or what to do if the RUC is unknown, so guidance stops at implication.

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