Skip to main content
Glama

Listar suscripciones

listar_suscripciones
Read-onlyIdempotent

Lista los suscriptores del comercio (un cliente en un plan de cobro recurrente), como en el portal › Suscripciones: plan, monto, frecuencia, próximo cobro, estado (activa, pausada, finalizada), estado de pago (al_dia, pendiente, atrasado) con los días de atraso, y descuento si tiene. Sirve para saber quién debe. Filtra por estado, estado de pago, plan o texto. Devuelve el total para paginar. Sólo con una conexión en producción; en modo prueba responde solo_produccion.

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_suscripciones"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNotexto a buscar (nombre o referencia del cliente)
pagoNoal_dia, pendiente o atrasado
planNoid del plan (ver listar_planes)
limitNomáximo de resultados (por omisión 20, hasta 50)
estadoNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real context beyond that: it only works on a production connection and in test mode returns 'solo_produccion', and it returns a total for pagination. It stops short of describing ordering or pagination mechanics.

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?

Front-loaded with the resource and its fields, then filters, then the production constraint. Dense but every clause carries information; the portal cross-reference ('como en el portal › Suscripciones') is a small indulgence but aids recognition.

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 no output schema, the description carries the return-value burden and does so by enumerating plan, monto, frecuencia, próximo cobro, estado, estado de pago with días de atraso, and descuento, plus the total for pagination. The only gap is ordering/response envelope detail, which is minor for a list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description compensates by naming the filterable dimensions (estado, estado de pago, plan, texto) and spelling out the estado values activa/pausada/finalizada, which the schema leaves undocumented. It does not explain limit/offset beyond the pagination-total hint.

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 ('Lista los suscriptores del comercio') and even defines the domain concept (un cliente en un plan de cobro recurrente) plus the exact fields returned. It does not, however, distinguish itself from the sibling ver_historial_suscripcion, which an agent could plausibly confuse with this listing tool.

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?

'Sirve para saber quién debe' gives one concrete use case, and the filter list implies how to narrow results. There is no when-not guidance and no mention of the sibling historial tool as the alternative for per-subscription detail, so routing is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources