Skip to main content
Glama

Get outcomes report

get_outcomes_report
Read-only

Puts money against results for a time window: credit spend (grouped by reason, valued at the $0.033 list price) plus done-for-you order costs on one side, and sent emails, replies, positive replies and booked meetings on the other, with cost per reply, per positive reply and per meeting. Subscription fees are NOT included. campaignId narrows the outcome side only — spend stays workspace-level — so per-campaign cost figures are partial attribution, not a true campaign cost. Use it to answer 'what did we spend and what did we get'.

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

Input Schema

NameRequiredDescriptionDefault
sinceNoWindow start, RFC3339 or YYYY-MM-DD (inclusive)
untilNoWindow end, RFC3339 or YYYY-MM-DD (inclusive; a bare date means midnight UTC at the start of that day)
campaignIdNoNarrow the outcome side to one campaign (spend stays workspace-level)

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
Behavior3/5

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

The annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so the description does not need to repeat the safety profile. What it adds is the pricing valuation rule and the explicit subscription-fee exclusion, which are useful and go beyond the structured fields. The biggest gap is that it says nothing about the return shape or how the cost metrics are formatted, though the schema already handles the inputs and the tool is a read-only report, so a 3 holds.

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?

The definition is dense but front-loaded: the first clause says what the report puts together, then exclusions, then the campaignId caveat, then the usage line. Every sentence carries information. It is somewhat compressed, but none of it is filler.

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?

No output schema exists, and the description fully enumerates the measures returned and the cost-per-outcome ratios, so an agent can describe results without opening anything else. The main omission is the response format and date-window defaults, which the schema covers for inputs but not for output. For a read-only report tool, that is a minor gap.

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?

The schema description coverage is already 100%, so the parameter descriptions are adequate on their own. The description still adds real meaning for campaignId: it explains that the filter narrows only the outcome side while spend stays workspace-level, which changes how the agent should interpret any per-campaign cost result. That is meaningful semantics 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 combination with unusually concrete scope: credit spend valued at the $0.033 list price, done-for-you order costs, and outcome metrics (sent emails, replies, positive replies, booked meetings). It also declares exclusions (subscription fees are NOT included). It stops short of naming a sibling such as get_campaign_stats, so the agent must infer the distinction itself.

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?

The closing line 'Use it to answer what did we spend and what did we get' gives a clear selection heuristic, and the campaignId note warns that per-campaign figures are partial attribution rather than true campaign cost. It does not name an alternative tool or say when not to use it, keeping it below a 5.

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