Skip to main content
Glama

EventPass

Pending payments

get_pending_payments
Read-onlyIdempotent

Orders for one event that are still waiting for payment: buyer name, contact (email/phone — included here because chasing a payment needs it), amount owed, payment method, and an opaque lookup token per order. Oldest first, so the longest-waiting payments come first. This is the list to work through when following up on unpaid orders. Use order_lookup to confirm a payment (confirm_pending_payment). The order ID itself is never shown here (round 3, N-2): it is the bearer key to the order page, so the lookup token stands in for it and cannot open the order page.

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": {
      "event_id": "<event_id>"
    },
    "name": "get_pending_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many rows to return. Default 20, max 100.
offsetNoRows to skip for the next page. Default 0.
event_idYesEvent ID from list_my_events
organization_idNoOrganization ID. Required when you belong to several organizations — use list_my_organizations to see them. Omit it when you belong to exactly one.

Output Schema

NameRequiredDescriptionDefault
pendingYes
has_moreYes
total_countYes
total_outstandingYes
total_outstanding_centsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantially beyond that: deterministic ordering (oldest first), the rationale for including contact data, and the security design where the order ID is withheld because it is a bearer key and the opaque token cannot open the order page. That last point is behavior an agent could not infer from any structured field.

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?

The critical information (what it returns, ordering, when to use it) is front-loaded, and the sentences are dense but purposeful. The closing parenthetical about the round/ID design is long and slightly discursive, though it does carry real security value.

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 and an output schema covering return shape, the description only needs the domain framing it provides, plus the crucial token-vs-ID explanation. The one gap is pagination semantics — nothing tells the agent how to detect or advance through additional pages beyond what the offset parameter implies.

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 each parameter carries its own description (limit/offset defaults and caps, event_id sourcing, organization_id multi-org rule), so the schema does the heavy lifting. The description adds no per-parameter meaning beyond reinforcing that results are scoped to a single event and ordered oldest-first; 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?

The description names a specific resource and scope ("Orders for one event that are still waiting for payment") and enumerates exactly what each row carries (buyer name, contact, amount owed, payment method, lookup token). It is clearly distinguishable from confirm_pending_payment, which it explicitly routes to for the write action.

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?

It gives a clear use case ("the list to work through when following up on unpaid orders") and points to confirm_pending_payment for the follow-up action. The guidance is slightly muddied because it also names "order_lookup" as if a separate tool, and that name does not match the sibling confirm_pending_payment the parenthetical refers to, leaving the agent to reconcile two names.

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