Skip to main content
Glama

Buscar contribuyentes por razón social

search_sri_ruc
Read-only

Search Ecuadorian SRI taxpayers by partial legal or trade name when the RUC is unknown; provide at least 4 characters to retrieve up to 100 matches.

Instructions

Find SRI taxpayers by partial razón social or trade name (min 4 characters) when the RUC is unknown. SRI caps results at 100.

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": {
      "razon_social": "<razon_social>"
    },
    "name": "search_sri_ruc"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNotext summary (default) or json structured result.text
razon_socialYesText to search (min 4 characters), e.g. "BANANERA"
max_resultadosNoHow many results to return with full detail (max 100)

Output Schema

NameRequiredDescriptionDefault
totalNo
offsetNo
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"
      +    },
      +    "offset": {},
      +    "source": {},
      +    "total": {},
      +    "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 / max_resultados / description
      Previous value: -"Cuántos resultados con detalle completo devolver (máx 100)"New value: +"How many results to return with full detail (max 100)"
    • changedInput schema / properties / razon_social / description
      Previous value: -"Texto a buscar (mínimo 4 caracteres), ej."New value: +"Text to search (min 4 characters), e.g. \"BANANERA\""
  4. Changed3 schema fields changedv0.10.0
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / max_resultados / description
      Added value: +"Cuántos resultados con detalle completo devolver (máx 100)"
    • addedInput schema / properties / razon_social / description
      Added value: +"Texto a buscar (mínimo 4 caracteres), ej."
  5. Changed5 schema fields changedv0.8.14
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / max_resultados / title
      Removed value: -"Max Resultados"
    • removedInput schema / properties / razon_social / title
      Removed value: -"Razon Social"
    • removedInput schema / title
      Removed value: -"search_sri_rucArguments"
    • removedOutput schema / title
      Removed value: -"search_sri_rucDictOutput"
  6. First observedv0.8.12

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds two useful behaviors beyond that: the 4-character minimum and the SRI-imposed 100-result cap. It does not say what happens below 4 characters (error vs zero results) or how matches are ranked/truncated.

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 sentences, front-loaded with the action and scope, then the hard limit. Nothing redundant or padded.

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 annotations covering safety, a full input schema, and an output schema covering return shape, the description supplies what is needed to call it correctly. Minor gaps remain around empty/too-short input behavior and result relevance ordering.

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 all three parameters are already documented with defaults and enums. The description largely repeats the schema's min-4 and cap-100 notes; its only added meaning is that the search matches trade names as well as legal names, which is mild incremental value.

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 (find) and resource (SRI taxpayers) plus the search field (partial razón social / trade name). The clause 'when the RUC is unknown' implicitly separates it from the RUC-based lookup sibling, though it never names that alternative.

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?

Gives a clear selection condition – use this when the RUC is not known – which is exactly the decision an agent faces between this and a direct RUC lookup. It does not state any when-not cases (e.g., ambiguous matches or oversized result sets).

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