Skip to main content
Glama

Get true profit

get_true_profit
Read-onlyIdempotent

Meta spend vs connected revenue for an inclusive date range (default: selected account, previous 30 days). Read notes and currency before interpreting.

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

Input Schema

NameRequiredDescriptionDefault
sinceNo
untilNo
account_idNoe.g. act_1234567890

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so safety is covered. The description adds genuinely new behavior: default parameter resolution, inclusive boundary semantics, and a warning that accompanying notes and currency affect interpretation. It does not explain the result shape, but the added context is real.

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 sentences, no filler, with the computation and scope front-loaded and the defaults immediately after. The closing caveat is short and actionable.

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

Completeness3/5

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

With no output schema, the description should describe what comes back; instead it only alludes to attached 'notes and currency', leaving the agent unsure whether the response is a spend/revenue/profit breakdown or a multi-currency table. For a read-only analytics tool this is adequate but leaves a meaningful gap in interpreting results.

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 low (33%): only account_id is documented in-schema, while since/until carry no descriptions. The description compensates somewhat by clarifying that the range is inclusive and by specifying defaults for both the account and the date window, but it offers no format hints or guidance on what happens when only one of since/until is supplied.

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?

The description gives a concrete computation ('Meta spend vs connected revenue') over an explicit scope ('inclusive date range'), which distinguishes it from siblings like meta_insights or meta_get_account. It stops short of defining what 'connected revenue' or 'true profit' precisely means, so a little interpretation is left to the agent.

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?

Defaults are stated ('selected account, previous 30 days'), which tells the agent it can call with no arguments, but there is no explicit when-to-use vs an alternative such as meta_insights or get_account_briefing. The 'read notes and currency before interpreting' line is a usage caveat rather than routing guidance.

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.