Skip to main content
Glama
mews-mcp-server
by tjg37

mews_get_payments

Retrieve Mews payment records filtered by date range or specific payment IDs, returning amount, currency, type, and associated bill or customer details.

Instructions

Get payment records from Mews. Filter by date range or specific payment IDs. Returns payment details including amount, currency, type (CreditCard, Cash, Invoice, etc.), and associated bill/customer.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results per page (default 100)
cursorNoPagination cursor from a previous response
endUtcNoEnd of date range (ISO 8601 UTC)
startUtcNoStart of date range (ISO 8601 UTC)
paymentIdsNoFilter by specific payment UUIDs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the return shape (amount, currency, type, associated bill/customer), which substitutes for the absent output schema and implies a read-only operation. It omits permission requirements, default result scope when unfiltered, and ordering behavior.

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 short sentences: purpose, filtering, and return contents, in that order. Nothing is redundant and the key information is front-loaded.

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 five-parameter, zero-required read tool, the description covers purpose, filters, and return fields, which compensates for the missing output schema. It falls short only on default unfiltered behavior and pagination expectations.

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%, so all five parameters including limit, cursor, and ISO 8601 date formats are already documented. The description only restates that startUtc/endUtc and paymentIds are filters, adding no syntax or edge-case meaning beyond the schema.

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 ('Get payment records from Mews') and previews the returned fields. It does not, however, distinguish itself from adjacent siblings such as mews_get_accounting_items or mews_get_bills, so the agent must infer the boundary.

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?

'Filter by date range or specific payment IDs' describes how to filter but never says when this tool is the right choice over sibling retrieval tools, nor what happens if no filter is supplied. No exclusions or alternatives are named.

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