Skip to main content
Glama

List payments

list_payments
Read-onlyIdempotent

Clio payments in a date window: online (Clio Payments) with state, incl. failed and not yet linked to a client, and payments recorded on bills, incl. plan charges. needs_attention flags them. Read-only. Sign-in required.

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": "list_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoYYYY-MM-DD, inclusive. Defaults to today (UTC).
fromNoYYYY-MM-DD, inclusive. Defaults to 6 days before to.
limitNoMax payments listed per source, newest first, 1-100. Defaults to 50. Counts cover the whole window.
stateNoOnly online payments in this state.
sourceNoonline: Clio Payments with their state. recorded: payments recorded on bills. Defaults to all.
unlinked_onlyNoOnly online payments not yet linked to a client in Clio.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "YYYY-MM-DD, inclusive. Defaults to 6 days before to.",
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Max payments listed per source, newest first, 1-100. Defaults to 50. Counts cover the whole window.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / source
      Added value: +{
      +  "description": "online: Clio Payments with their state. recorded: payments recorded on bills. Defaults to all.",
      +  "enum": [
      +    "all",
      +    "online",
      +    "recorded"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / state
      Added value: +{
      +  "description": "Only online payments in this state.",
      +  "enum": [
      +    "completed",
      +    "completed_requiring_allocation",
      +    "pending",
      +    "authorized",
      +    "requires_confirmation",
      +    "failed",
      +    "canceled",
      +    "voided"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "YYYY-MM-DD, inclusive. Defaults to today (UTC).",
      +  "type": "string"
      +}
    • addedInput schema / properties / unlinked_only
      Added value: +{
      +  "description": "Only online payments not yet linked to a client in Clio.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so the description is not required to restate that. The description adds useful context beyond annotations: the two payment source types, inclusion of failed and unlinked online payments, plan charges on recorded payments, the needs_attention flag, and that sign-in is required.

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 description is compact and front-loads the core resource and date scope. The fragment 'needs_attention flags them' is slightly ambiguous, and 'Read-only. Sign-in required.' are separate short sentences, but overall there is little wasted wording.

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?

Given the rich schema, full parameter descriptions, and annotations covering safety, the description provides enough context for an agent to call the tool correctly. It explains the payment sources, key inclusions, and authentication need; return-format details are less critical without an output schema but 'needs_attention' could be clearer.

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 100%, so the schema already documents all six parameters in detail. The description reinforces the date-window framing and mentions online payment state, but it does not add syntax, defaults, or other meaning beyond what the schema provides.

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?

The description states a specific verb and resource: 'Clio payments in a date window.' It distinguishes two payment sources, online and recorded on bills, which helps identify the tool's scope. It does not name or contrast with sibling tools such as list_invoices or list_outstanding_balances.

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?

The description implies the tool lists payments within a date window, but it does not say when to use this tool versus alternatives like list_invoices or list_outstanding_balances. There are no explicit exclusions or decision criteria for an agent to follow.

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