Skip to main content
Glama

List outcomes

list_outcomes
Read-onlyIdempotent

Outcomes recorded by you or by the owner's tools (conversion webhook), newest first, with totals: count by kind and revenue by currency (since, default the last 30 days). Filter by kind, contact_id, or account_id and chat_id. Read-only.

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_outcomes"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
limitNo
sinceNo
chat_idNo
account_idNo
contact_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, and the description's 'Read-only' merely echoes that. It earns credit for disclosure the annotations do not carry: newest-first ordering, that totals (count by kind, revenue by currency) are returned, and that 'since' defaults to 30 days.

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?

One dense sentence that front-loads the resource and leads with result shape before filters; every clause conveys something. The 'Filter by kind, contact_id, or account_id and chat_id' phrasing is slightly compressed and ambiguous in grouping, costing a point.

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 six-parameter read tool with no output schema, the description explains the return content (ordered records plus aggregate totals) and the default time window, which is what an agent needs to interpret results. Remaining gaps — pagination via limit and the fields of an outcome record — are minor.

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?

With 0% schema description coverage, the description carries the burden and does well: it names kind, contact_id, account_id, chat_id and since, and supplies the non-obvious default of 30 days for since. The limit parameter (1-200) is never mentioned, so coverage is strong but not complete.

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 (list) and resource (outcomes), plus what the result contains: outcomes newest-first with totals by kind and revenue by currency. No sibling among the list_* tools covers outcomes, so differentiation is implicit rather than stated, keeping this just short of a 5.

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?

Gives useful operating context — the default window is the last 30 days and results can be filtered by kind, contact_id, account_id, or chat_id — but never says when an agent should reach for this tool versus another, nor any when-not condition. Usage is implied by the filters rather than prescribed.

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