Skip to main content
Glama

LearnWorlds MCP by usefulapi

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. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries most of the burden and does add real behavioral context: result ordering, default page size, and ANDed filter semantics. It stops short of covering total counts, max page behavior, or what an empty result looks like.

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?

Two compact sentences with zero filler; ordering and page-size defaults are front-loaded before the return-field enumeration and the ANDed-filter rule. Every clause carries information.

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 read-only list tool with no output schema, the description covers ordering, pagination default, filter combination logic, and the general shape of returned data. Only total-count/pagination-boundary behavior is left unstated, which is a minor gap.

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 88%, so the schema already documents page, user_id, product_id, affiliate_id, created_after/before and items_per_page. The description's 'product, price, discount, tax, coupon...' list actually describes returned fields, not inputs, so it adds no parameter 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 ('List payments') and adds useful scope detail: ordering (newest first), default page size (50), and the returned field set. It implicitly separates itself from the sibling learnworlds_get_payment (single-payment lookup) but never names it explicitly.

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?

Usage is implied by the list-vs-get naming rather than spelled out; there is no explicit 'use this instead of X when Y'. The note that 'All filters are ANDed' is genuinely useful invocation guidance, which nudges it above a bare 2.

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.