Skip to main content
Glama
Sifende MCP Server
by ithdev

Listar enumeraciones de la API

listar_enumeraciones
Read-only

Lists valid SIFEN API enumeration names or returns their accepted values, so you can verify allowed document, payment, unit, currency, and tax codes before submitting data.

Instructions

Devuelve los valores válidos de las enumeraciones de la API (tipoDocumento, tipoPago, unidadMedida, afectacionTributaria, monedaOperacion, país, motivoEmision, etc.). Sin parámetros lista los nombres de las enumeraciones; con "nombre" devuelve sus valores. Usala antes de enviar un valor de enumeración: un nombre aproximado falla recién al emitir.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "listar_enumeraciones"
  }
}

Input Schema

NameRequiredDescriptionDefault
nombreNoNombre de la enumeración, por ejemplo "tipoPago" o "unidadMedida". Si se omite, lista los nombres.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context: the two distinct operating modes (no param = list names, with nombre = list values) and the late-failure mode when an invalid enum reaches emission.

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?

Three compact sentences, front-loaded with what the tool returns, then the enumeration examples, then the behavioral rule. Every sentence carries information and none is filler.

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 single optional-parameter read tool with no output schema, the description covers both invocation modes and the motivation for calling it. The only gap is the return shape (array of strings vs. objects), which the agent must infer.

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 the schema property description already says "Si se omite, lista los nombres". The description restates the same no-param/with-param semantics rather than adding format, case-sensitivity, or fuzzy-matching details, so 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 specific verb and resource ("Devuelve los valores válidos de las enumeraciones de la API") and enumerates concrete examples (tipoDocumento, tipoPago, unidadMedida...). No sibling tool does anything similar, so an agent can route here immediately.

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 an explicit usage trigger: "Usala antes de enviar un valor de enumeración", plus the consequence of skipping it ("un nombre aproximado falla recién al emitir"). No when-not guidance or named alternative is needed since the sibling list has no overlapping tool, but that omission keeps it from a 5.

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