Skip to main content
Glama

List Cases

list_cases
Read-onlyIdempotent

List the creditor's debt collection cases with pagination, status filtering, and sorting. Returns compact case summaries: reference, debtor name + country, amounts, lifecycle, partner, key dates. Use get_case for full detail on a specific case.

Lifecycle values (statuses filter and output): PendingContractSigning · PendingVerificationInternal · PendingVerification · NeedsAdditionalDetails · Leads · LeadsQuoteGiven · Active · Paused · Closed · Merged

Sortable fields: DateCreated · DateUpdated · DateFinished · DateCollectionStarted · DueDate · Date · GrossAmount · Remainder · InterestFees · CollectionFees Sort format: Field:asc or Field:desc, e.g. GrossAmount:desc

Note: results include the creditor's own test cases; the isTestCase flag on each case marks them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, starting from 1 (default 1)
sortNoSort expression: Field:asc or Field:desc. Valid fields: DateCreated, DateUpdated, DateFinished, DateCollectionStarted, DueDate, Date, GrossAmount, Remainder, InterestFees, CollectionFees. Example: GrossAmount:desc
pageSizeNoResults per page (default 10, max 100)
statusesNoFilter by lifecycle status. Values: PendingContractSigning, PendingVerificationInternal, PendingVerification, NeedsAdditionalDetails, Leads, LeadsQuoteGiven, Active, Paused, Closed, Merged

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. Description adds valuable behavioral details: includes test cases flagged with isTestCase, lists lifecycle statuses and sortable fields, and notes pagination. No contradiction with 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?

Well-structured with main purpose first, then details. A bit verbose with repeated status/sort lists, but each sentence adds value. Could be slightly shorter, but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, description compensates by stating return fields ('reference, debtor name + country, amounts, lifecycle, partner, key dates'), pagination defaults, test case behavior, and filtering options. Fully adequate for agent understanding.

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 description repeats parameter info without adding new meaning. However, it reinforces the sort format and lists enum values, which is helpful but not essential. Baseline 3 is appropriate.

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?

Clearly states 'list the creditor's debt collection cases with pagination, status filtering, and sorting' directly after the title. The verb 'list' and resource 'cases' are specific, and it distinguishes from sibling 'get_case' by noting 'Use get_case for full detail on a specific case.'

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?

Provides explicit alternative: 'Use get_case for full detail on a specific case.' Also implies context of listing vs. detail, but does not explicitly state when not to use (e.g., for bulk operations) or other alternatives. Still clear and helpful.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a distinct resource or action—creation, preview, listing, detail, and case-specific sub-resources (activity, contracts, messages, payments, tasks, files). The potentially overlapping task tools (list_tasks vs get_case_tasks) are explicitly cross-referenced and scoped differently.

Naming Consistency5/5

Consistent verb_noun pattern throughout: create_, get_, list_, send_, upload_, preview_. Case-specific reads use get_case_* suffix pattern, and ping is the only utility exception.

Tool Count4/5

16 tools is slightly above the ideal 3-15 range, but each tool earns its place in a comprehensive case-management API; no redundant tools.

Completeness4/5

Core lifecycle is covered (preview, create, list, get, sub-resources, messaging, file upload). Minor gaps include no case update/withdraw and no direct resolution for task types like SelectQuoteWinner, but these are mostly platform-controlled or handled via solutionUrl.

Resources