Skip to main content
Glama
mcp-sri-ecuador

mcp-sri-ecuador

Validar clave de acceso

sri_validar_clave_acceso
Read-only

Validates an Ecuadorian SRI access key's check digit and breaks the 49-digit string into its component fields, confirming the key is well-formed for invoicing.

Instructions

Verifica el dígito verificador de una clave de acceso y la desglosa en sus campos.

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": {
      "claveAcceso": "<claveAcceso>"
    },
    "name": "sri_validar_clave_acceso"
  }
}

Input Schema

NameRequiredDescriptionDefault
claveAccesoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe, non-mutating read. Beyond that, the description adds useful behavioral detail that the tool performs two actions (check-digit verification and field decomposition), but it does not say what happens when the key is invalid (error vs. a boolean flag) or what the decomposed output looks like.

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?

A single efficient sentence that front-loads the primary action and appends the secondary decomposition behavior. No filler, though the brevity leaves several gaps unaddressed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only one parameter and no output schema, the description's burden is moderate, and it does indicate that the return includes decomposed fields. However, it omits the expected input format, the failure/invalid-key behavior, and any indication of which fields are returned, so an agent would still have to probe.

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 0%, so the schema contributes no documentation for claveAcceso beyond the string type. The description partially compensates by calling the input a 'clave de acceso' whose check digit is verified and whose fields are parsed, implying a full structured key rather than a fragment, but it gives no length, format, or digit-composition guidance.

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: verifies the check digit of an access key and also decomposes it into its component fields. The verb 'valida' contrasts naturally with the sibling sri_generar_clave_acceso, though the description never names that alternative explicitly.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not guidance, and no prerequisites are stated. An agent can infer that this is the tool for checking an existing clave de acceso rather than building one, but the definition itself does not route between this and siblings like sri_generar_clave_acceso or sri_consultar_autorizacion.

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