Skip to main content
Glama

Listar transacciones

listar_transacciones
Read-onlyIdempotent

Lista las transacciones del comercio ante el banco (las más recientes primero): cada intento de cobro, aprobado o rechazado, y cada pago, con id, operación (cobrar o pagar), estado, monto, concepto, referencia bancaria, comisión, neto y fecha (UTC). LIQUIDADA = confirmada; ACEPTADA = en proceso; RECHAZADA = no se cobró; ANULADA = revertida. Cada cobro trae también si su neto ya se le transfirió al comercio: liquidacion_estado (pendiente, acreditada, en_revision, cerrada_sin_acreditar, o null si no se le liquida por esta vía), liquidacion_referencia (la referencia de la transferencia, sólo acreditada) y liquidada_at (UTC). Filtra por estado, operación, días (hora de Venezuela), montos o texto. Devuelve también el total que cumple el filtro, para paginar. No es la lista del portal › Transacciones, que muestra un enlace por cobro.

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

Input Schema

NameRequiredDescriptionDefault
qNotexto a buscar (concepto, referencia o id)
desdeNoprimer día, AAAA-MM-DD (hora de Venezuela)
hastaNoúltimo día, AAAA-MM-DD (hora de Venezuela)
limitNomáximo de resultados (por omisión 20, hasta 50)
estadoNouno o varios estados
offsetNo
monto_maxNo
monto_minNo
operacionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial context beyond them: default ordering (most recent first), the meaning of each status code, what the liquidation fields mean per charge, UTC timestamps versus Venezuela-time filtering, and that a filter-matching total is returned for pagination.

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?

Dense but front-loaded: purpose and ordering first, then status and liquidation semantics, then filters and the exclusion. The long field enumeration earns its place because there is no output schema, though the liquidation sentence is somewhat heavy to parse.

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 9-parameter read tool with no output schema, the description carries the return-shape burden well by naming every returned field and its meaning. Minor incompleteness: two enum states are unexplained and offset-based pagination is only implied by "total para paginar".

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?

With 56% schema coverage, the description compensates by grouping the undocumented filters into meaningful categories (estado, operación, días in Venezuela time, montos, texto) and explaining that the total supports pagination. It leaves gaps: PENDIENTE and DESCONOCIDA appear in the estado enum but are never explained, and offset/limit semantics beyond the default are only touched on.

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 ("Lista las transacciones del comercio ante el banco"), defines the scope as every approved/rejected charge attempt plus every payment, and explicitly disambiguates from the portal's Transacciones view. An agent knows exactly what corpus this returns.

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 clear context on what the list contains, the filter axes available (estado, operación, días, montos, texto) and a "no es..." exclusion against the portal page. It does not route the agent to an overlapping sibling such as listar_cobros or listar_liquidaciones, so the when-to-use-this-vs-another-tool decision is left implicit.

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