Skip to main content
Glama

Marketing results: cost per lead, sign-up and ROAS

get_marketing_results
Read-onlyIdempotent

Marketing results for a site from its own records: spend, leads, sign-ups, bookings, orders, paying customers and revenue per channel (paid social, Google, ChatGPT ads, click-to-WhatsApp ads, organic search, AI assistants, referral, email, direct…) and per campaign, with cost per lead, cost per sign-up, cost per paying customer and ROAS, and (for Mondovo itself) the product stages. Use for "what is my cost per lead / sign-up?", "ROAS", "which campaign or channel brings customers?", "where do my sign-ups come from?", "how many conversions from ads?". Credit goes to the last non-direct touch by default (model "first" for first touch). Prefer this over website analytics for anything about leads, sign-ups, sales or ad cost. Works for a site in ANY of the user's workspaces: pass site_name or site_url. READ-ONLY.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "site_id": "<site_id>"
    },
    "name": "get_marketing_results"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoCredit the last non-direct touch (default) or the first touch
periodNoWindow ending yesterday (default last_30_days)
site_idYesThe site, from list_sites
end_dateNoWindow end, YYYY-MM-DD, inclusive
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.
start_dateNoWindow start, YYYY-MM-DD (with end_date)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description reinforces this with 'READ-ONLY'. Beyond that it discloses genuinely non-obvious behaviour: default last-non-direct-touch attribution, the alternative first-touch model, and that the tool resolves sites across any of the user's workspaces.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the metric inventory and the quoted user questions are useful, but the opening sentence runs long with parenthetical channel lists and an aside about 'Mondovo itself' product stages, and the cost-per metrics are effectively restated twice. Tighter grouping would keep the same information with less scanning.

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?

With six parameters, no output schema and no nested objects, the description does a good job naming the metric families the agent will get back, so the return shape is inferable. The remaining gap is the incorrect site_name/site_url guidance against a schema that requires site_id, which leaves the agent with a wrong instruction on the one required parameter.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description actively misleads about parameters: it says 'pass site_name or site_url' while the schema requires site_id and forbids additional properties, so neither named field exists. That instruction could send an agent looking for parameters it cannot supply, which is worse than saying nothing.

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?

States a specific verb and resource ('Marketing results for a site from its own records') and enumerates the exact metrics: spend, leads, sign-ups, bookings, orders, paying customers, revenue, CPA, ROAS, broken down per channel and per campaign. It also explicitly distinguishes itself from a sibling capability ('Prefer this over website analytics'), so an agent can route correctly without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete trigger queries in the user's own words ('what is my cost per lead / sign-up?', 'ROAS', 'where do my sign-ups come from?') plus an explicit alternative and the condition that selects it (website analytics for non-lead/sales questions). It also documents the default attribution behaviour ('last non-direct touch by default') and how to switch it.

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