Skip to main content
Glama

learnworlds

List payments

learnworlds_list_payments
Read-only

List payments, newest first (50 per page by default) — product, price, discount, tax, coupon, affiliate, gateway and billing info. All filters are ANDed. LearnWorlds: GET /v2/payments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
user_idNoOnly payments by this user (id or email).
product_idNoOnly payments for this product id.
affiliate_idNoOnly payments referred by this affiliate (id or email).
product_typeNo
created_afterNoCreated after (Unix timestamp in seconds, e.g. 1626088013).
created_beforeNoCreated before (Unix timestamp in seconds, e.g. 1626088013).
items_per_pageNoItems per page, 1-200.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds real behavioral context beyond that: default page size (50), sort order (newest first), and the shape of what is returned. No auth or rate-limit details, but it goes meaningfully past the annotations.

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?

Purpose and behavior are front-loaded in a single dense sentence, followed by two short fragments. Every clause carries information; the only minor cost is that the field list is a long appositive run rather than being split out.

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?

There is no output schema, so the description correctly compensates by enumerating the returned fields. With 0 required params and full filter documentation in the schema, an agent has what it needs to call this correctly; only cross-tool routing guidance is thin.

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 88%, so the schema does most of the work, but the description adds two things not in the schema: the ANDed filter semantics and the default 50-per-page behavior (the schema's items_per_page states no default). This is above the baseline-3 case where the schema carries everything.

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+resource ('List payments') and immediately enriches it with sort order (newest first), default page size, and the fields returned (product, price, discount, tax, coupon, affiliate, gateway, billing). This distinguishes it cleanly from the singular sibling learnworlds_get_payment.

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?

Provides a composition rule ('All filters are ANDed') which is genuine usage guidance for combining the 8 optional filters. However, it never names when to use this versus learnworlds_get_payment, nor any exclusions or prerequisites, so routing relies on inference from the list/get naming.

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.