Hermoso: Ads Manager is an MCP server published by io.github.hermoso-ai, hosted at app.hermoso.ai. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 300 tools, including enable_tools, get_instructions, find_tools, call_tool, hermoso_capabilities.
AI marketing agent for paid ads: run campaigns on 11 ad networks and read your web analytics.
12 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
LIST a group of tools that is not in this session's roster. IT IS NOT HOW YOU REACH A TOOL — call_tool runs any Hermoso tool whether or not it is listed, and that works everywhere. Use this when the session will use MANY tools from one area and you want them in your list. WORKS ON CLIENTS THAT RE-READ THE TOOL LIST (stdio, the CLI, Cursor, Claude Code); a host that fixed its roster at connect time — claude.ai and ChatGPT do — will not show the new tools until it reconnects, and this tool says so in its reply rather than reporting a success you cannot use. The connect-time route that always works is `?tools=all` on the server URL. The default roster is CORE-FIRST: the core tools plus a few that make the connection drivable. Every other tool is held out of the LIST on SIZE alone — the whole registry is several hundred thousand tokens of schema re-sent on every turn, and a roster far past the 30-50 tool mark measurably degrades tool choice. The heaviest groups are `ads`, `analytics`, `channel_admin`: paid-campaign management across every ad platform is most of the total schema weight. NOTHING held out is unfinished or unsafe, and nothing is unreachable — find_tools finds it and call_tool runs it. CALL THIS WHEN A WHOLE AREA IS IN PLAY. If the user settles into building, budgeting, targeting or reporting on ad campaigns, call enable_tools({groups:['ads']}) and the tools appear. If they ask about their own site or product analytics, a tag/tracking container, or how a search engine crawls, indexes or ranks their site, call enable_tools({groups:['analytics']}). Groups: core, research, create, channels, channel_admin, analytics, ads, files, workspace — or 'all'. Free, instant, and it never turns anything off.
| Parameter | Type | Description |
|---|---|---|
| groups * | array | Groups to switch on, e.g. ['ads']. Unknown names are refused by name rather than ignored. |
{
"name": "enable_tools",
"title": "Turn on more Hermoso tools",
"description": "LIST a group of tools that is not in this session's roster. IT IS NOT HOW YOU REACH A TOOL — call_tool runs any Hermoso tool whether or not it is listed, and that works everywhere. Use this when the session will use MANY tools from one area and you want them in your list. WORKS ON CLIENTS THAT RE-READ THE TOOL LIST (stdio, the CLI, Cursor, Claude Code); a host that fixed its roster at connect time — claude.ai and ChatGPT do — will not show the new tools until it reconnects, and this tool says so in its reply rather than reporting a success you cannot use. The connect-time route that always works is `?tools=all` on the server URL. The default roster is CORE-FIRST: the core tools plus a few that make the connection drivable. Every other tool is held out of the LIST on SIZE alone — the whole registry is several hundred thousand tokens of schema re-sent on every turn, and a roster far past the 30-50 tool mark measurably degrades tool choice. The heaviest groups are `ads`, `analytics`, `channel_admin`: paid-campaign management across every ad platform is most of the total schema weight. NOTHING held out is unfinished or unsafe, and nothing is unreachable — find_tools finds it and call_tool runs it. CALL THIS WHEN A WHOLE AREA IS IN PLAY. If the user settles into building, budgeting, targeting or reporting on ad campaigns, call enable_tools({groups:['ads']}) and the tools appear. If they ask about their own site or product analytics, a tag/tracking container, or how a search engine crawls, indexes or ranks their site, call enable_tools({groups:['analytics']}). Groups: core, research, create, channels, channel_admin, analytics, ads, files, workspace — or 'all'. Free, instant, and it never turns anything off.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"groups"
],
"properties": {
"groups": {
"type": "array",
"items": {
"type": "string"
},
"description": "Groups to switch on, e.g. ['ads']. Unknown names are refused by name rather than ignored."
}
}
},
"annotations": {
"title": "Turn on more Hermoso tools",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Free. Hermoso's instructions on demand: a topic (areas, instagram, capabilities, roster, safety, credits, setup, all) for the rest of the session instructions, any tool's name for its FULL rules, or "paid-calls" for get_cost, expected_credits, idempotency_key, revision and context.
| Parameter | Type | Description |
|---|---|---|
| topic * | string | A topic, a tool name or "paid-calls" |
{
"name": "get_instructions",
"title": "Read Hermoso's full instructions",
"description": "Free. Hermoso's instructions on demand: a topic (areas, instagram, capabilities, roster, safety, credits, setup, all) for the rest of the session instructions, any tool's name for its FULL rules, or \"paid-calls\" for get_cost, expected_credits, idempotency_key, revision and context.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"topic"
],
"properties": {
"topic": {
"type": "string",
"description": "A topic, a tool name or \"paid-calls\""
}
}
},
"annotations": {
"title": "Read Hermoso's full instructions",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Search EVERY Hermoso tool — your starting list is deliberately short, and everything else in the product is here — by name, task or group. Each row gives the tool's PARAMETERS in one line, its CREDIT COST (free means free on every plan; a tool that runs a model quotes the live per-model figure) and its recent HEALTH on this server (failure rate and typical duration, or "no recent calls", which means unseen and not broken). Use it the moment the user asks for something you do not see a tool for (a campaign, an ad set, a lead form, a click-to-WhatsApp ad, a report, keywords, audiences): a tool missing from your list is NEVER proof the feature is missing. Then RUN the tool you found with call_tool({name, args}): search, then run, two calls for any tool in the product. A tool that is failing or needs a connector this workspace has not made is ranked last and marked, never hidden — pass onlyHealthy:true if you want those left out. Free, read-only.
| Parameter | Type | Description |
|---|---|---|
| group | string | limit to one group: core, research, create, channels, channel_admin, analytics, ads, files, workspace |
| limit | number | how many to return (default 12, max 40) |
| query | string | words from the task or the tool name, e.g. "lead form", "whatsapp", "google ads keyword", "meta insights" |
| onlyHealthy | boolean | leave out tools that are failing their recent calls or that need a connector this workspace has not made. Default false — nothing is hidden unless you ask, because a missing row reads as a missing capability. |
Run a Hermoso tool that is not in this session's starting list (paid campaigns, analytics, channel admin and more), using the exact `name` and `args` that find_tools returned. Use find_tools first. It runs that one tool on this Hermoso account, and the tool's own rules still apply: a spend or a delete still asks for confirm. Use it on hosts that keep the tool list they fetched at connect time (claude.ai, ChatGPT), where enable_tools cannot add tools mid-conversation. Arguments are checked against the tool's schema; a mistake comes back with the expected parameters. A tool for an account this workspace has not connected answers with the link to connect it.
| Parameter | Type | Description |
|---|---|---|
| args | object | the tool's arguments as an object, exactly as its own schema takes them |
| name * | string | the tool name exactly as find_tools returned it, e.g. create_meta_lead_form |
| context | string | optional: the user's underlying goal in one short sentence, for analytics only (no names, contact details or URLs); every tool also accepts it directly |
| revision | string | the revision find_tools gave for this tool; a changed tool is refused unrun, with its current params |
{
"name": "call_tool",
"title": "Run any Hermoso tool by name",
"description": "Run a Hermoso tool that is not in this session's starting list (paid campaigns, analytics, channel admin and more), using the exact `name` and `args` that find_tools returned. Use find_tools first. It runs that one tool on this Hermoso account, and the tool's own rules still apply: a spend or a delete still asks for confirm. Use it on hosts that keep the tool list they fetched at connect time (claude.ai, ChatGPT), where enable_tools cannot add tools mid-conversation. Arguments are checked against the tool's schema; a mistake comes back with the expected parameters. A tool for an account this workspace has not connected answers with the link to connect it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"args": {
"type": "object",
"description": "the tool's arguments as an object, exactly as its own schema takes them",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"name": {
"type": "string",
"description": "the tool name exactly as find_tools returned it, e.g. create_meta_lead_form"
},
"context": {
"type": "string",
"description": "optional: the user's underlying goal in one short sentence, for analytics only (no names, contact details or URLs); every tool also accepts it directly"
},
"revision": {
"type": "string",
"description": "the revision find_tools gave for this tool; a changed tool is refused unrun, with its current params"
}
}
},
"annotations": {
"title": "Run any Hermoso tool by name",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Probe what this Hermoso account can do RIGHT NOW: available image/video model ids + their credit costs (estimates: a render is charged its actual cost), aspect ratios, video durations, the recipe ids, and the canEdit/canAvatar flags. Call it when you need a specific model id, a credit cost, or a capability you are not sure of. Read-only, free.
No parameters.
{
"name": "hermoso_capabilities",
"title": "Hermoso models, options and credit costs",
"description": "Probe what this Hermoso account can do RIGHT NOW: available image/video model ids + their credit costs (estimates: a render is charged its actual cost), aspect ratios, video durations, the recipe ids, and the canEdit/canAvatar flags. Call it when you need a specific model id, a credit cost, or a capability you are not sure of. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Hermoso models, options and credit costs",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user asks for something this connection's tools do not cover, or asks which Hermoso app or connection does what. Returns each area of Hermoso (posting, paid ads, ad creation, research, analytics and the rest) with the Hermoso app or connection that covers it and its link, so you can tell the user where to do it. Read-only: it runs nothing and changes nothing.
No parameters.
{
"name": "hermoso_other_capabilities",
"title": "Where each Hermoso feature is",
"description": "Use this when the user asks for something this connection's tools do not cover, or asks which Hermoso app or connection does what. Returns each area of Hermoso (posting, paid ads, ad creation, research, analytics and the rest) with the Hermoso app or connection that covers it and its link, so you can tell the user where to do it. Read-only: it runs nothing and changes nothing.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Where each Hermoso feature is",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Return the credit balance, recent priced calls with their credits, and costModel (the one-sentence rule of what costs credits). THE RULE: only AI model runs and Ad Spy research spend credits; publishing, scheduling, ads management, analytics, comments, DMs and connectors cost no credits on any plan (X is the single per-call exception; xCost gives its exact credits per post, with and without a link). Check before kicking off paid generation; answer "does posting cost credits?" with NO. HOW MANY posts is set by the plan, not credits: the Free plan includes up to 10 posts on 3 channels, and a post counts once however many channels it goes to (`posting` says how many are used); every paid plan posts without a limit and runs autopilot (Basic $19.99/mo: Autopilot, plus unlimited posting and scheduling, no monthly credits; it includes the same 160+ free credits as the Free plan, and monthly credits start on Starter). Starter, Pro and Studio: media models at cost + 10% (memberRate); Basic and Free pay standard prices.
No parameters.
{
"name": "hermoso_credits",
"title": "Credit balance",
"description": "Return the credit balance, recent priced calls with their credits, and costModel (the one-sentence rule of what costs credits). THE RULE: only AI model runs and Ad Spy research spend credits; publishing, scheduling, ads management, analytics, comments, DMs and connectors cost no credits on any plan (X is the single per-call exception; xCost gives its exact credits per post, with and without a link). Check before kicking off paid generation; answer \"does posting cost credits?\" with NO. HOW MANY posts is set by the plan, not credits: the Free plan includes up to 10 posts on 3 channels, and a post counts once however many channels it goes to (`posting` says how many are used); every paid plan posts without a limit and runs autopilot (Basic $19.99/mo: Autopilot, plus unlimited posting and scheduling, no monthly credits; it includes the same 160+ free credits as the Free plan, and monthly credits start on Starter). Starter, Pro and Studio: media models at cost + 10% (memberRate); Basic and Free pay standard prices.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Credit balance",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Out of credits? Top up with a credit PACK. Call with no argument to list the available packs (id · credits · price). If the account has a saved card and you have billing-admin rights, calling with `pack` quotes the exact charge and calling again with confirm:true AND the quote's quote_token charges the saved card instantly (same one-click top-up as the app — no redirect). If there's no saved card yet, you get a Stripe checkout URL to hand your human for the FIRST purchase; their card saves for one-click after that. Packs only; subscriptions are managed by a person in Billing. IF YOU ARE AN AGENT HOLDING YOUR OWN PAYMENT CREDENTIAL, there is a third path that needs no human at all: `POST /api/billing/machine-payment` with a `packId` answers HTTP 402 carrying an MPP challenge, and grants the pack once you authorise and retry with the credential — the same packs, the same prices, the same credits. `GET /api/billing/config` carries a `machinePayments` block listing the packs with their per-credit rates and saying whether that lane is enabled on this server. Most agents do NOT have their own credential yet, so the checkout link above remains the normal path. To stop running out entirely, turn on auto-reload with set_auto_reload (admin) — low balances then top themselves up from the saved card automatically.
| Parameter | Type | Description |
|---|---|---|
| pack | string | the pack id to buy (e.g. pack-2k) — omit to list the available packs first |
| confirm | boolean | set true to actually charge the saved card for `pack` (required for the one-click charge; ignored on the checkout-link path) |
| quote_token | string | the quoteToken returned by the quote step — REQUIRED (with confirm:true) to charge; it binds the exact pack + price you quoted (10-minute validity) and makes a retried confirm idempotent |
Report a bug in Hermoso to the team. Use this when something in Hermoso genuinely misbehaves — a tool errors unexpectedly, returns a wrong or malformed result, a render comes back broken, or documented behaviour doesn't match what happened. Include what you were trying to do, the exact tool call and arguments, and what came back. Do NOT use it for out-of-credits, a policy refusal, or a missing capability (use request_feature for that). Free, no credits.
| Parameter | Type | Description |
|---|---|---|
| details * | string | what you were doing, the tool + arguments you called, what you expected, and what actually happened (paste the exact error) |
| summary * | string | one-line summary of the bug |
| severity | string | high = blocks the task or loses paid work; medium = wrong output but workable; low = cosmetic |
{
"name": "report_bug",
"title": "Report a bug",
"description": "Report a bug in Hermoso to the team. Use this when something in Hermoso genuinely misbehaves — a tool errors unexpectedly, returns a wrong or malformed result, a render comes back broken, or documented behaviour doesn't match what happened. Include what you were trying to do, the exact tool call and arguments, and what came back. Do NOT use it for out-of-credits, a policy refusal, or a missing capability (use request_feature for that). Free, no credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"summary",
"details"
],
"properties": {
"details": {
"type": "string",
"description": "what you were doing, the tool + arguments you called, what you expected, and what actually happened (paste the exact error)"
},
"summary": {
"type": "string",
"description": "one-line summary of the bug"
},
"severity": {
"enum": [
"low",
"medium",
"high"
],
"type": "string",
"description": "high = blocks the task or loses paid work; medium = wrong output but workable; low = cosmetic"
}
}
},
"annotations": {
"title": "Report a bug",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Ask the Hermoso team for a capability that doesn't exist yet. Use this when you need something Hermoso genuinely can't do — an unsupported platform or channel, a missing model, an export format, a tool that would have completed the user's task but isn't available. Say what the user was trying to achieve, not just the feature name — the use case is what gets built. Free, no credits.
| Parameter | Type | Description |
|---|---|---|
| details * | string | what the user was actually trying to achieve, why the current tools couldn't do it, and what you'd expect the capability to do |
| summary * | string | one line: the capability you need |
{
"name": "request_feature",
"title": "Request a feature",
"description": "Ask the Hermoso team for a capability that doesn't exist yet. Use this when you need something Hermoso genuinely can't do — an unsupported platform or channel, a missing model, an export format, a tool that would have completed the user's task but isn't available. Say what the user was trying to achieve, not just the feature name — the use case is what gets built. Free, no credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"summary",
"details"
],
"properties": {
"details": {
"type": "string",
"description": "what the user was actually trying to achieve, why the current tools couldn't do it, and what you'd expect the capability to do"
},
"summary": {
"type": "string",
"description": "one line: the capability you need"
}
}
},
"annotations": {
"title": "Request a feature",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Message Hermoso's human support team for the user: billing, account or sign-in problems, a connector that will not connect, or a question the tools cannot answer. Use the user's words. The team replies by email to the account's address (the result names it). Defects you found: report_bug. Missing capabilities: request_feature. Free.
| Parameter | Type | Description |
|---|---|---|
| page | string | where it happened: a tool, page or job id |
| message * | string | the user's question, in their words, with what they tried |
{
"name": "contact_support",
"title": "Contact Hermoso support",
"description": "Message Hermoso's human support team for the user: billing, account or sign-in problems, a connector that will not connect, or a question the tools cannot answer. Use the user's words. The team replies by email to the account's address (the result names it). Defects you found: report_bug. Missing capabilities: request_feature. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"message"
],
"properties": {
"page": {
"type": "string",
"description": "where it happened: a tool, page or job id"
},
"message": {
"type": "string",
"description": "the user's question, in their words, with what they tried"
}
}
},
"annotations": {
"title": "Contact Hermoso support",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Show this account's billing at a glance: current plan (quote plan.priceUsd per plan.period), credit balance, whether auto-reload is on, whether a card is on file, and whether YOU (this key) have ADMIN rights to change billing. Read-only, free. Call it before upgrade_plan / set_auto_reload to know what's possible — members have read-only billing. IN A SHARED TEAM WORKSPACE A MEMBER SEES THE PLAN AND THE BALANCE ONLY: the workspace owner's payment card and auto-reload belong to them and are not reported (billingScope:'member'). Never tell a member there is no card on file — the honest answer is that you cannot see it. plan.memberRate: media models at cost + 10%; plan.legacy: an older plan kept at its price. posting: the posting allowance (Free includes up to 10 posts on 3 channels; "N of 10 posts used", unlimited on every paid plan).
No parameters.
{
"name": "billing_status",
"title": "Billing status",
"description": "Show this account's billing at a glance: current plan (quote plan.priceUsd per plan.period), credit balance, whether auto-reload is on, whether a card is on file, and whether YOU (this key) have ADMIN rights to change billing. Read-only, free. Call it before upgrade_plan / set_auto_reload to know what's possible — members have read-only billing. IN A SHARED TEAM WORKSPACE A MEMBER SEES THE PLAN AND THE BALANCE ONLY: the workspace owner's payment card and auto-reload belong to them and are not reported (billingScope:'member'). Never tell a member there is no card on file — the honest answer is that you cannot see it. plan.memberRate: media models at cost + 10%; plan.legacy: an older plan kept at its price. posting: the posting allowance (Free includes up to 10 posts on 3 channels; \"N of 10 posts used\", unlimited on every paid plan).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Billing status",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Change the SUBSCRIPTION plan (admin only). No argument lists the monthly plans. Basic ($19.99) is the posting plan: Autopilot, plus unlimited posting and scheduling with NO monthly credits (it includes the same 160+ free credits as the Free plan, and monthly credits start on Starter). Starter, Pro and Studio include monthly credits and no markup on models. Every paid plan posts without a limit (Free: up to 10 posts on 3 channels). New subscriber: a Checkout URL for the human. Existing subscriber upgrading: a quote + quote_token; once the human agrees, call again with confirm:true and quote_token to charge the card on file. Downgrade: a billing-page link; it starts at the term's end.
| Parameter | Type | Description |
|---|---|---|
| plan | string | the plan id to move to (e.g. pro) — omit to list the available plans first |
| period | string | monthly only ('yr' buys monthly) |
| confirm | boolean | true (with quote_token) to make a quoted upgrade |
| quote_token | string | the quoteToken from the quote step |
{
"name": "upgrade_plan",
"title": "Upgrade plan",
"description": "Change the SUBSCRIPTION plan (admin only). No argument lists the monthly plans. Basic ($19.99) is the posting plan: Autopilot, plus unlimited posting and scheduling with NO monthly credits (it includes the same 160+ free credits as the Free plan, and monthly credits start on Starter). Starter, Pro and Studio include monthly credits and no markup on models. Every paid plan posts without a limit (Free: up to 10 posts on 3 channels). New subscriber: a Checkout URL for the human. Existing subscriber upgrading: a quote + quote_token; once the human agrees, call again with confirm:true and quote_token to charge the card on file. Downgrade: a billing-page link; it starts at the term's end.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"plan": {
"type": "string",
"description": "the plan id to move to (e.g. pro) — omit to list the available plans first"
},
"period": {
"enum": [
"mo",
"yr"
],
"type": "string",
"description": "monthly only ('yr' buys monthly)"
},
"confirm": {
"type": "boolean",
"description": "true (with quote_token) to make a quoted upgrade"
},
"quote_token": {
"type": "string",
"description": "the quoteToken from the quote step"
}
}
},
"annotations": {
"title": "Upgrade plan",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Turn automatic credit reloads on or off (admin only): when the balance drops below a threshold, the card on file is charged for a top-up pack — SERVER-SIDE, even with no app open. Requires a saved card, added once in the app at first checkout/top-up; if there's none the tool tells you exactly where to add it. After that one-time card setup, agents can manage auto-reload, top-ups and plan links fully. Members (read-only billing) get an 'ask an admin' message.
| Parameter | Type | Description |
|---|---|---|
| enabled * | boolean | true to turn auto-reload on, false to turn it off |
| reloadCredits | integer | how many credits to add each reload — must match a credit pack size (see buy_credits) |
| thresholdCredits | integer | reload when the balance drops below this many credits |
{
"name": "set_auto_reload",
"title": "Set auto-reload",
"description": "Turn automatic credit reloads on or off (admin only): when the balance drops below a threshold, the card on file is charged for a top-up pack — SERVER-SIDE, even with no app open. Requires a saved card, added once in the app at first checkout/top-up; if there's none the tool tells you exactly where to add it. After that one-time card setup, agents can manage auto-reload, top-ups and plan links fully. Members (read-only billing) get an 'ask an admin' message.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"enabled"
],
"properties": {
"enabled": {
"type": "boolean",
"description": "true to turn auto-reload on, false to turn it off"
},
"reloadCredits": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "how many credits to add each reload — must match a credit pack size (see buy_credits)"
},
"thresholdCredits": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "reload when the balance drops below this many credits"
}
}
},
"annotations": {
"title": "Set auto-reload",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List every profile on this account (id + name; a profile is a brand, a creator or a personal workspace) and which one this connection acts on, PLUS any profile another account shared with you. Call this, then use_brand to switch; a SHARED profile switches the same way (pass its name or the profile id printed here). If a profile looks empty when the app shows it full, you are acting on a different one: call this first. Read-only, free.
No parameters.
{
"name": "list_brands",
"title": "List profiles",
"description": "List every profile on this account (id + name; a profile is a brand, a creator or a personal workspace) and which one this connection acts on, PLUS any profile another account shared with you. Call this, then use_brand to switch; a SHARED profile switches the same way (pass its name or the profile id printed here). If a profile looks empty when the app shows it full, you are acting on a different one: call this first. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List profiles",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Pin which profile this connection acts on. Pass the profile id or exact name from list_brands. Works for your own profiles AND one another account SHARED with you (pass its name or the profile id list_brands prints); access is verified against your real membership before it is pinned. Persists for this API key until changed, on every surface (hosted connector included — no environment variables, no restart). On a signed-in connector it also moves every other Hermoso connector the same person signed in from the same app (e.g. all the Hermoso connectors in Claude), so they act on one profile.
| Parameter | Type | Description |
|---|---|---|
| brand * | string | profile id (e.g. default / p_xxx), its exact name from list_brands, or the profile id of one shared with you |
{
"name": "use_brand",
"title": "Switch profile",
"description": "Pin which profile this connection acts on. Pass the profile id or exact name from list_brands. Works for your own profiles AND one another account SHARED with you (pass its name or the profile id list_brands prints); access is verified against your real membership before it is pinned. Persists for this API key until changed, on every surface (hosted connector included — no environment variables, no restart). On a signed-in connector it also moves every other Hermoso connector the same person signed in from the same app (e.g. all the Hermoso connectors in Claude), so they act on one profile.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brand"
],
"properties": {
"brand": {
"type": "string",
"description": "profile id (e.g. default / p_xxx), its exact name from list_brands, or the profile id of one shared with you"
}
}
},
"annotations": {
"title": "Switch profile",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Add a NEW profile (a brand, client, creator or personal workspace) and switch to it. Each has its OWN brand details, memory, swipefile, Library, avatars, skills, playbooks and connectors; nothing leaks between them. Use draft_brand to FILL it and update_brand to edit it. Re-running with the same name returns the existing profile instead of a duplicate. Creating it is free. Drafting a NEW brand into it (draft_brand) needs the credits for its research on the balance, about 100; with fewer, draft_brand refuses before anything runs or is charged and says how many it needs and how many the account has.
| Parameter | Type | Description |
|---|---|---|
| name * | string | the name for the new profile (a brand, client or creator name) |
| activate | boolean | switch this connection to the new profile (default true); everything you do next scopes to it |
{
"name": "create_brand",
"title": "Create a profile",
"description": "Add a NEW profile (a brand, client, creator or personal workspace) and switch to it. Each has its OWN brand details, memory, swipefile, Library, avatars, skills, playbooks and connectors; nothing leaks between them. Use draft_brand to FILL it and update_brand to edit it. Re-running with the same name returns the existing profile instead of a duplicate. Creating it is free. Drafting a NEW brand into it (draft_brand) needs the credits for its research on the balance, about 100; with fewer, draft_brand refuses before anything runs or is charged and says how many it needs and how many the account has.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "the name for the new profile (a brand, client or creator name)"
},
"activate": {
"type": "boolean",
"description": "switch this connection to the new profile (default true); everything you do next scopes to it"
}
}
},
"annotations": {
"title": "Create a profile",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}PERMANENTLY delete a profile and EVERYTHING in it — brand details, memory, swipefile, Library creations, generated assets, avatars, skills, playbooks, chats — and disconnect its connected accounts. Irreversible, and it applies to everyone the workspace is shared with. Call it WITHOUT confirm first: it reports exactly what that workspace holds. Show the user that inventory verbatim, get an unambiguous yes, then call again with confirm:true — plus, if the workspace is not empty, confirmName set to its exact name and confirmConnectors set to the number of connected accounts it reported. Those two exist because confirming INTENT does not prove you picked the right WORKSPACE, and a wrong target is how a live profile was destroyed. The account's FIRST/anchor profile cannot be deleted this way (it holds the workspace's root storage) — that one is replaced from the app.
| Parameter | Type | Description |
|---|---|---|
| brand * | string | profile id or exact name from list_brands |
| confirm | boolean | REQUIRED true — this destroys the whole profile and cannot be undone |
| confirmName | string | the workspace's EXACT name, required when it is not empty — copy it from the inventory this tool returned, after the user has agreed to it |
| confirmConnectors | number | the number of connected accounts the inventory reported, required when there is at least one — the user must specifically agree to losing them, because reconnecting each needs a browser and no agent can do it |
Persist an ARBITRARY user file (image, video, audio, PDF or document, up to 150MB) into Hermoso and get back a durable public URL that EVERY publish, schedule and ad-build tool accepts. Kept in the Library. THIS IS THE BRING-YOUR-OWN-CREATIVE PATH: it is for files that have NOTHING to do with a Hermoso render (media on the user's desktop, an agency's finished ad, a photo they shot), and it means you can publish, schedule and run ads through Hermoso without generating anything here. Provide exactly ONE source — passing two is an error, never a silent preference: `url` (ANY public http(s) link — Hermoso fetches it server-side, so nothing crosses this connection and there is no practical size limit; THIS IS THE ONE THAT ALWAYS WORKS, including on the hosted connector), `dataUri` (a base64 data: URI — keep it under ~15MB, since the bytes travel over this connection). If the file is already at a public https URL, the Meta, Reddit and ChatGPT-Ads tools take it directly and re-host it safely — but LinkedIn (posts and ad creatives), Pinterest, the YouTube thumbnail and upload_google_ads_asset upload the BYTES themselves and therefore refuse an external host, so run it through here first and pass the URL this returns. When in doubt, use this: its URL works everywhere. (Calling the underlying HTTP route directly? POST /api/upload takes the file's RAW BYTES as the request body with its own content-type — NOT multipart/form-data — or ?url=<link> with no body.) Returns {url, kind, bytes}.
| Parameter | Type | Description |
|---|---|---|
| url | string | a PUBLIC http(s) URL Hermoso fetches server-side (private/internal addresses are refused, and every redirect hop is re-checked). A share link from Dropbox, Google Drive, OneDrive, SharePoint or Box works as the file itself (set to "Anyone with the link"); an iCloud Drive link does not, Apple gives i… |
| name | string | original file name — helps pick the right extension |
| dataUri | string | base64 data: URI of the file bytes (data:<mime>;base64,<…>) — bytes travel over this connection, so keep it small |
The DEEP Pinterest ad report — Pinterest’s ASYNCHRONOUS lane, which reaches 914 DAYS back (2.5 years) where pinterest_ads_report stops at 90, and carries roughly three times the metric columns (conversion, ROAS and cross-device families the quick report does not have). Use it for anything older than three months, and for revenue questions. Levels: ADVERTISER / CAMPAIGN / AD_GROUP / PIN_PROMOTION / KEYWORD / PRODUCT_GROUP / PRODUCT_ITEM plus their *_TARGETING twins. Pinterest generates it asynchronously, so this may come back pending:true with a token — CALL AGAIN WITH THAT TOKEN to pick it up, and never re-submit without it (a second submit generates a second report). Pinterest’s own windows are enforced here with the reason rather than as an opaque 400: 914 days back over at most 186 days; at HOUR granularity 8 days back over 3; at a PRODUCT_ITEM level 92 back over 31. A finished report link is valid five minutes and the report one hour, so an EXPIRED status means run it again, not that anything failed. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| adIds | array | limit the report to these ad ids |
| level | string | ADVERTISER | CAMPAIGN | AD_GROUP | PIN_PROMOTION | KEYWORD | PRODUCT_GROUP | PRODUCT_ITEM (+ _TARGETING variants) — default CAMPAIGN. An unknown level is refused with the list. |
| since | string | YYYY-MM-DD (default 30 days ago) |
| token | string | RESUME a pending report — pass the token back instead of re-submitting |
| until | string | YYYY-MM-DD (default today) |
| columns | array |
THE IDS AN AD GROUP’S targetingSpec NEEDS. create_pinterest_ads_campaign and create_pinterest_ads_ad_group accept interests, locales, locations, age buckets and keywords — this is where those values come from, and guessing one is the worst option available: Pinterest ACCEPTS a well-formed but wrong interest id and the campaign then quietly targets the wrong people. Pass targetingType (INTEREST, GEO, LOCATION, LOCALE, AGE_BUCKET, GENDER, APPTYPE, KEYWORD, AUDIENCE_INCLUDE, AUDIENCE_EXCLUDE) and optionally `query` to narrow the list. INTERESTS ARE A TREE: pass interestId instead to drill into one and get its children, which is how you get from "Food" to something specific enough to target. Pinterest publishes no search parameter of its own, so `query` filters the full list HERE — the note says so, because a filter we applied is not a filter the vendor applied. Read-only, 0 credits, no new permission (it uses ads:read, already granted).
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1–500, default 100 |
| query | string | narrow the list to options mentioning this text (filtered here, not by Pinterest) |
| interestId | string | drill INTO one interest and return its child interests — how you walk the interest tree |
| adAccountId | string | Pinterest ad account id; omit when only one is shared with this profile |
| targetingType | string | which catalog to list — required unless you pass interestId |
Upload creative(s) — a finished Hermoso ad OR arbitrary user files (e.g. A folder of media from the user’s desktop) — into a connected ad account’s ASSET LIBRARY so the user or a later ad-build step can use them in their OWN campaigns. Pass `url` for one file, or `urls` (up to 20) to BULK-upload in a single call. Each accepts a public https URL, a data: URI, or a Hermoso /generated path; for LOCAL files call upload_file first and pass the url(s) it returns. Image -> image hash; video -> video id.
| Parameter | Type | Description |
|---|---|---|
| url | string | a single public https URL / data: URI / /generated path; a URL, not a local file path; use upload_file for local files |
| kind | string | inferred from the URL if omitted |
| name | string | a label for the asset |
| urls | array | up to 20 media URLs/paths for a one-call BULK upload |
| adAccountId * | string | Ad account id |
{
"name": "upload_meta_asset",
"title": "Upload an asset to a Meta ad account",
"description": "Upload creative(s) — a finished Hermoso ad OR arbitrary user files (e.g. A folder of media from the user’s desktop) — into a connected ad account’s ASSET LIBRARY so the user or a later ad-build step can use them in their OWN campaigns. Pass `url` for one file, or `urls` (up to 20) to BULK-upload in a single call. Each accepts a public https URL, a data: URI, or a Hermoso /generated path; for LOCAL files call upload_file first and pass the url(s) it returns. Image -> image hash; video -> video id.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"url": {
"type": "string",
"description": "a single public https URL / data: URI / /generated path; a URL, not a local file path; use upload_file for local files"
},
"kind": {
"enum": [
"image",
"video"
],
"type": "string",
"description": "inferred from the URL if omitted"
},
"name": {
"type": "string",
"description": "a label for the asset"
},
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "up to 20 media URLs/paths for a one-call BULK upload"
},
"adAccountId": {
"type": "string",
"description": "Ad account id"
}
}
},
"annotations": {
"title": "Upload an asset to a Meta ad account",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Use this when the user asks to create a new Facebook or Instagram ad campaign on their own ad account. Create a campaign on a connected Meta ad account. Always created PAUSED — it spends NOTHING until you activate it with set_meta_campaign_status(confirm:true). Optionally set a dailyBudgetUsd (an amount in the AD ACCOUNT’s currency, e.g. CAD on a CAD account — the name is historical, it is not USD). Pass adAccountId + an objective. Needs ads-management permission on the connected account. CATALOG / ADVANTAGE+ CATALOG ADS (also called DPA or dynamic product ads) ARE SUPPORTED: pass productCatalogId here and productSetId on the ad set, and the campaign is catalog-backed. Say YES when a user asks for catalog, Advantage+ catalog, DPA or feed-driven ads.
| Parameter | Type | Description |
|---|---|---|
| name * | string | campaign name |
| objective | string | default OUTCOME_TRAFFIC |
| adAccountId * | string | Ad account id |
| bidStrategy | string | with dailyBudgetUsd: how the campaign bids across its ad sets — LOWEST_COST_WITHOUT_CAP (default: highest volume), LOWEST_COST_WITH_BID_CAP / COST_CAP (each ad set then needs bidAmountUsd), LOWEST_COST_WITH_MIN_ROAS (each ad set needs minRoas) |
| dailyBudgetUsd | number | optional campaign daily budget in the AD ACCOUNT's currency (not necessarily USD — the reply names it); real spend once ACTIVE. With it, the campaign holds the budget (Advantage+ campaign budget) and every ad set under it carries NONE — create_meta_adset / create_meta_ad then send no ad-set budget |
| productCatalogId |
Turn a campaign ON (ACTIVE) or OFF (PAUSED). ACTIVATING STARTS REAL AD SPEND — you MUST first show the user the campaign name + its daily budget, get an explicit yes, then call with status:"ACTIVE" and confirm:true. Pausing is always safe. Needs ads-management permission.
| Parameter | Type | Description |
|---|---|---|
| status * | string | ACTIVE = start spending; PAUSED = stop |
| confirm | boolean | REQUIRED true to activate (real spend) — set only after the user explicitly approved the budget |
| campaignId * | string | the campaign id (from create_meta_campaign) |
{
"name": "set_meta_campaign_status",
"title": "Activate or pause a Meta campaign",
"description": "Turn a campaign ON (ACTIVE) or OFF (PAUSED). ACTIVATING STARTS REAL AD SPEND — you MUST first show the user the campaign name + its daily budget, get an explicit yes, then call with status:\"ACTIVE\" and confirm:true. Pausing is always safe. Needs ads-management permission.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"campaignId",
"status"
],
"properties": {
"status": {
"enum": [
"ACTIVE",
"PAUSED"
],
"type": "string",
"description": "ACTIVE = start spending; PAUSED = stop"
},
"confirm": {
"type": "boolean",
"description": "REQUIRED true to activate (real spend) — set only after the user explicitly approved the budget"
},
"campaignId": {
"type": "string",
"description": "the campaign id (from create_meta_campaign)"
}
}
},
"annotations": {
"title": "Activate or pause a Meta campaign",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Upload a PLAYABLE ad (an interactive HTML game the advertiser already has) to a Meta ad account. Pass url: ONE HTML file up to 2 MB, or a zip up to 5 MB (under 100 files) with index.html at the top; it must call FbPlayableAd.onCTAClick() and load nothing from outside. Hermoso checks those rules first and refuses a file Meta would reject. Returns playableAssetId: build the ad with create_meta_ad(playableAssetId, adSetId of an App Installs ad set, ONE lead-in video). Meta has no way to delete a playable once uploaded. Free.
| Parameter | Type | Description |
|---|---|---|
| url * | string | public https link to the HTML file or zip; upload_file turns a local file into one |
| name | string | display name for the playable in Meta; optional |
| adAccountId * | string | ad account id |
{
"name": "upload_meta_playable",
"title": "Upload a playable ad to Meta",
"description": "Upload a PLAYABLE ad (an interactive HTML game the advertiser already has) to a Meta ad account. Pass url: ONE HTML file up to 2 MB, or a zip up to 5 MB (under 100 files) with index.html at the top; it must call FbPlayableAd.onCTAClick() and load nothing from outside. Hermoso checks those rules first and refuses a file Meta would reject. Returns playableAssetId: build the ad with create_meta_ad(playableAssetId, adSetId of an App Installs ad set, ONE lead-in video). Meta has no way to delete a playable once uploaded. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId",
"url"
],
"properties": {
"url": {
"type": "string",
"description": "public https link to the HTML file or zip; upload_file turns a local file into one"
},
"name": {
"type": "string",
"description": "display name for the playable in Meta; optional"
},
"adAccountId": {
"type": "string",
"description": "ad account id"
}
}
},
"annotations": {
"title": "Upload a playable ad to Meta",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}List the playables uploaded to a Meta ad account (id and name), for create_meta_ad's playableAssetId. Free.
| Parameter | Type | Description |
|---|---|---|
| limit | number | maximum number of playables to return |
| adAccountId * | string | act_… or the bare number |
{
"name": "list_meta_playables",
"title": "List Meta playables",
"description": "List the playables uploaded to a Meta ad account (id and name), for create_meta_ad's playableAssetId. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"limit": {
"type": "number",
"description": "maximum number of playables to return"
},
"adAccountId": {
"type": "string",
"description": "act_… or the bare number"
}
}
},
"annotations": {
"title": "List Meta playables",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Build a complete, ready-to-run Meta ad: campaign -> ad set (FULL targeting + budget + schedule + bidding) -> creative -> ad(s), ALL created PAUSED — it spends NOTHING until you activate the campaign with set_meta_campaign_status(confirm:true). This is the "create a campaign and put the ads on it" path. IMAGE, VIDEO (uploaded, transcoded and thumbnailed for you) and CAROUSEL (format:"carousel", 2–10 cards each with its own headline/description/link) all work. Targeting is the `targeting` object: geo down to cities with a radius, age, gender, interests, behaviours, custom audiences and lookalikes, languages, placements, devices and OS. For a conversion objective pass pixelId + conversionEvent and the ad set optimizes for that conversion. Schedule with startTime/endTime + dayparting; bid with bidStrategy + bidAmountUsd/minRoas; use lifetimeBudgetUsd (with endTime) for a fixed flight. Attach to an existing campaign with campaignId or an existing ad set with adSetId. Everything is READ BACK from Meta before you are told it exists — print the returned summary verbatim (it carries 24-hour Meta PREVIEW LINKS for the first ad — hand them to the user; preview_meta_ad renders any ad in any placement). Needs ads-management on the connected account. BOOST AN EXISTING POST: pass boostPostId — a post you have ALREADY published (numeric id, the <pageId>_<postId> form, or a permalink) — INSTEAD of any creative, and the ad promotes that post exactly as published, comments and all. The post keeps its own caption and media, so message/headline/description do NOT apply. AN INSTAGRAM BOOST TAKES A BUTTON: pass cta (e.g. SHOP_NOW, SIGN_UP) and link and the boosted post carries that button to that link; a FACEBOOK post boost takes no button and keeps the post as published. Anything not applied is named in the reply, and the reply reads back from Meta which post the ad promotes. Targeting, budget, schedule, bidding and PAUSED-by-default all work identically. AN INSTAGRAM POST NEEDS boostTarget:"instagram" — IG media ids and Facebook post ids are both bare digits, so Hermoso never guesses, and a Facebook boost given an IG media id is refused. Instagram eligibility is checked for free before anything is created (Meta refuses to boost a post carrying licensed music or an interactive element).
Schema too large to show here (23,519 characters).
Create an AD SET on an EXISTING Meta campaign — the level that holds the audience, budget, schedule and bidding. Use it to hang SEVERAL ad sets off ONE campaign, which is how you actually test audiences on Meta (one ad set per audience, same campaign, same creative). Takes the same full `targeting`, pixelId/conversionEvent, bidStrategy, schedule and budget fields as create_meta_ad. Created PAUSED and read back from Meta. It has NO ads until you call create_meta_ad(adSetId:…). For CATALOG / ADVANTAGE+ CATALOG ads (DPA), pass productSetId here — the campaign carries productCatalogId and the ad set narrows it to a product set.
| Parameter | Type | Description |
|---|---|---|
| name | string | ad set name |
| pageId | string | Omit when the brand has one Page; with several the call lists them, so ask the user which one. |
| country | string | 2-letter shorthand when you are not passing full targeting (default US) |
| endTime | string | REQUIRED with lifetimeBudgetUsd |
| minRoas | number | REQUIRED for LOWEST_COST_WITH_MIN_ROAS, e.g. 1.1 |
| pixelId | string | Meta Pixel id — with this the ad set optimizes for a real CONVERSION instead of falling back to link clicks |
| dsaPayor | string | EU AD TRANSPARENCY: who pays for the ads (Meta shows it on the ad). Omit it and it matches dsaBeneficiary |
| startTime |
Look up the Meta targeting ids you need before building an ad set — interests, behaviours, cities/regions/zips/DMAs, languages, employers, job titles and schools. type:"adinterest" (q:"yoga") returns interest ids + audience size; type:"adTargetingCategory" with class:"behaviors" returns behaviour ids; type:"adgeolocation" (q:"Toronto", optionally locationTypes:"city") returns the geo KEYS that go in targeting.geo.cities/regions/zips; type:"adlocale" (q:"french") returns language ids for targeting.locales. Read-only and free. Use it whenever the user names an audience in words — never guess an id.
| Parameter | Type | Description |
|---|---|---|
| q | string | what to search for |
| type * | string | what kind of targeting object to search |
| class | string | for adTargetingCategory, e.g. "behaviors" or "interests" |
| limit | number | maximum matches to return; the reply shows up to 25 |
| adAccountId | string | search with that ad account’s token |
| countryCode | string | 2-letter hint to disambiguate a city name |
| locationTypes | string | comma-separated: country,region,city,zip,geo_market |
Read the EXISTING campaigns, ad sets, or ads on a connected Meta ad account — id, name, status, budget, objective, and at level ad WHY Meta rejected or flagged an ad (its review feedback, in Meta’s words). Pass adAccountId and level (campaign|adset|ad). Scope to a parent with campaignId (-> its ad sets/ads) or adsetId (-> its ads), and filter by status (ACTIVE/PAUSED/…). Read-only — use it to inspect an account before editing/deleting, or to answer "what’s running?".
| Parameter | Type | Description |
|---|---|---|
| level | string | what to list (default campaign) |
| limit | number | max rows (1–200, default 50) |
| status | string | filter by effective status, e.g. ACTIVE / PAUSED |
| adsetId | string | list the ads under this ad set |
| campaignId | string | list the ad sets / ads under this campaign |
| adAccountId * | string | Ad account id |
{
"name": "list_meta_ads",
"title": "List Meta campaigns / ad sets / ads",
"description": "Read the EXISTING campaigns, ad sets, or ads on a connected Meta ad account — id, name, status, budget, objective, and at level ad WHY Meta rejected or flagged an ad (its review feedback, in Meta’s words). Pass adAccountId and level (campaign|adset|ad). Scope to a parent with campaignId (-> its ad sets/ads) or adsetId (-> its ads), and filter by status (ACTIVE/PAUSED/…). Read-only — use it to inspect an account before editing/deleting, or to answer \"what’s running?\".",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"level": {
"enum": [
"campaign",
"adset",
"ad"
],
"type": "string",
"description": "what to list (default campaign)"
},
"limit": {
"type": "number",
"description": "max rows (1–200, default 50)"
},
"status": {
"type": "string",
"description": "filter by effective status, e.g. ACTIVE / PAUSED"
},
"adsetId": {
"type": "string",
"description": "list the ads under this ad set"
},
"campaignId": {
"type": "string",
"description": "list the ad sets / ads under this campaign"
},
"adAccountId": {
"type": "string",
"description": "Ad account id"
}
}
},
"annotations": {
"title": "List Meta campaigns / ad sets / ads",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user asks how their paid ads are doing across platforms, or what to scale, pause, fix or test next. One verdict across every connected ad platform: it pulls each platform's own report (Meta, Google Ads, ChatGPT Ads, TikTok, LinkedIn, Microsoft Advertising, Pinterest, Reddit, Snapchat, X, Apple Ads), normalises every campaign / ad set / ad into ONE table — spend, impressions, clicks, CTR, CPC, conversions, CPA, ROAS and frequency where the platform reports them — and answers with four lists: `scale`, `pause`, `fix` and `test_next`, plus `insufficient_data`. Each recommendation carries the row's own numbers, the reason, a next action and the exact tool call that would apply it (e.g. set_meta_campaign_status with confirm), which this tool never runs. FOUR REFUSALS TO REPEAT RATHER THAN PAPER OVER: (1) A ROW BELOW THE DATA FLOOR IS NEVER JUDGED — the minimums are stated in the reply, and an under-powered row lands in insufficient_data with what it lacks, never in "pause"; a row whose conversions are too few for a CPA verdict can still be read on CTR and CPC and says so. (2) A PLATFORM WHOSE READ FAILED IS NAMED AS UNREADABLE and its numbers are MISSING, never zero — never move budget on the strength of an absence. (3) A META AD SET IN THE LEARNING PHASE IS HELD BACK, because editing it restarts learning. (4) A CONVERSION COLUMN THE PLATFORM DOES NOT PUBLISH READS UNMEASURED, not zero (Reddit, Snapchat and X in this report). Conversion definitions differ per platform and travel with every row, and each platform's days are its own account's days, so a cross-platform CPA comparison must carry that caveat. Args: days (complete days ending yesterday, default 14, max 90), platforms (omit for every connected one), goal ("lowest CPA", "ROAS", "leads under $30"), level (campaign | ad_group | ad — a platform with no report at that tier is read at campaign level and says so). Changes nothing in any ad account and spends no ad money; it bills one model call over the table.
| Parameter | Type | Description |
|---|---|---|
| days | number | how many complete days back, ending yesterday (default 14, max 90) |
| goal | string | what to optimise for, in the user's own words |
| level |
Use this when the user asks how their Facebook or Instagram ads are doing. It reads performance insights for a connected Meta ad account, or a specific campaign / ad set / ad: spend, impressions, reach, clicks, CTR, CPC, CPM, frequency, and the conversions and video numbers Meta reports. Pass adAccountId (for auth); optionally objectId to scope to one object and level (campaign / adset / ad) for one named row per campaign, ad set or ad. EVERY ROW CARRIES `kpis`, the Ads Manager columns read out of Meta's arrays: purchases with purchaseValue, costPerPurchase (CPA) and purchaseRoas (purchase ROAS); addToCart (adds to cart), initiateCheckout (checkouts started), landingPageViews (landing page views) and costPerLandingPageView; linkClicks with linkCtr (link CTR) and linkCpc (link CPC); video3sPlays (3-second video plays), thruPlays (ThruPlay), videoP25 / P50 / P75 / P95 / P100 (plays to 25%, 50%, 75%, 95%, 100%) and videoAvgWatchSeconds (average watch time). A kpi that is null was not reported by Meta for that row: say "not reported", never zero. timeIncrement gives one row per day (1 or "daily"), per week (7) or "monthly" in ONE call. attributionSetting:"adset" counts conversions with each ad set's own attribution setting, as Ads Manager's columns do; attributionWindows (e.g. "7d_click,1d_view") adds each window's count beside the total. fields adds more of Meta's insights fields (e.g. "attribution_setting,quality_ranking,outbound_clicks"); an unknown name is refused, never dropped. Up to 500 rows a call: pass limit, and after:nextCursor for the next page. BREAKDOWNS are what make the numbers actionable — a flat total says an ad cost $X, never WHO it worked on: pass breakdowns:"age,gender", "publisher_platform,platform_position" (which placement), "country" / "region" / "comscore_market" (where — US metro; Meta retired "dma" for it, and "dma" is sent as comscore_market), "impression_device" / "device_platform" (what they held). Comma-separated; "placement", "device" and "geo" are accepted as aliases; an unknown value is REJECTED, never silently ignored. THREE breakdowns need an ad-account OPT-IN from 2026-08-06 — impression_device, hourly_stats_aggregated_by_audience_time_zone and frequency_value: Meta returns NO ROWS (not an error) for an account that has not opted in, so they are always ATTEMPTED, and if nothing comes back the report is re-run WITHOUT them and `droppedBreakdowns` + a note name the missing dimension and say an account admin can enable it in Ads Manager. A dropped dimension is ABSENT, never zero — never present the remaining total as if it were still split by it. Date window: datePreset OR since+until (YYYY-MM-DD). datePreset is Meta's OWN enum — today, yesterday, last_3d, last_7d, last_14d, last_28d, last_30d, last_90d, this_week_mon_today, this_week_sun_today, last_week_mon_sun, last_week_sun_sat, this_month, last_month, this_quarter, last_quarter, this_year, last_year, maximum, data_maximum. THERE IS NO "lifetime": Meta disabled it in Graph API v10.0 and replaced it with "maximum" (the last 37 months); anything unrecognised is refused by name here rather than 400ing at Meta. Read-only.
Render a REAL preview of a Meta ad, per placement — Meta returns a link that shows exactly what a person scrolling Facebook or Instagram would see. Pass adAccountId + adId (from list_meta_ads), or creativeId. Optional placements (comma-separated): facebook_feed, facebook_feed_desktop, facebook_story, facebook_reels, facebook_profile_feed, facebook_marketplace, facebook_right_column, facebook_video_feed, instagram_feed, instagram_story, instagram_reels, instagram_explore, instagram_profile_feed, messenger_inbox, messenger_story, audience_network — default facebook_feed + instagram_feed + instagram_story + instagram_reels. Short words are read too and the reply says how: feed means facebook_feed, story/stories means facebook_story, reels means facebook_reels, instagram/ig means instagram_feed, ig_story, ig_reels. Free, read-only, spends nothing. THE LINKS EXPIRE AFTER 24 HOURS — always say so when handing them to a user. Use it straight after create_meta_ad, and whenever someone wants to approve an ad before it runs.
| Parameter | Type | Description |
|---|---|---|
| adId | string | the ad to preview (from list_meta_ads) |
| creativeId | string | preview a creative directly instead of an ad |
| placements | string | comma-separated placements (see the list above) |
| adAccountId * | string | ad account id (act_… or digits) |
{
"name": "preview_meta_ad",
"title": "Preview a Meta ad exactly as it will appear",
"description": "Render a REAL preview of a Meta ad, per placement — Meta returns a link that shows exactly what a person scrolling Facebook or Instagram would see. Pass adAccountId + adId (from list_meta_ads), or creativeId. Optional placements (comma-separated): facebook_feed, facebook_feed_desktop, facebook_story, facebook_reels, facebook_profile_feed, facebook_marketplace, facebook_right_column, facebook_video_feed, instagram_feed, instagram_story, instagram_reels, instagram_explore, instagram_profile_feed, messenger_inbox, messenger_story, audience_network — default facebook_feed + instagram_feed + instagram_story + instagram_reels. Short words are read too and the reply says how: feed means facebook_feed, story/stories means facebook_story, reels means facebook_reels, instagram/ig means instagram_feed, ig_story, ig_reels. Free, read-only, spends nothing. THE LINKS EXPIRE AFTER 24 HOURS — always say so when handing them to a user. Use it straight after create_meta_ad, and whenever someone wants to approve an ad before it runs.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"adId": {
"type": "string",
"description": "the ad to preview (from list_meta_ads)"
},
"creativeId": {
"type": "string",
"description": "preview a creative directly instead of an ad"
},
"placements": {
"type": "string",
"description": "comma-separated placements (see the list above)"
},
"adAccountId": {
"type": "string",
"description": "ad account id (act_… or digits)"
}
}
},
"annotations": {
"title": "Preview a Meta ad exactly as it will appear",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Meta can show products from a catalog under a new ad by default (the product showcase). This previews what it would pick for an ad account before the ad is made: the catalog and product sets, each on by default or waiting for confirmation, or why there is none (no catalog, not enough context, not enabled). Pass adAccountId, objective (OUTCOME_SALES default, OUTCOME_TRAFFIC, OUTCOME_ENGAGEMENT or OUTCOME_LEADS) and adUrl and/or pageId; without either Meta cannot suggest. It applies to ads created from now on, and a creative’s product extensions cannot be changed after it is made. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| adUrl | string | the landing page the ad will open (recommended) |
| pageId | string | the Facebook Page the ad will run from |
| objective | string | the campaign objective of the ad you plan (default OUTCOME_SALES) |
| adAccountId * | string | Meta ad account id (act_ optional), from list_meta_ads |
{
"name": "meta_catalog_suggestions",
"title": "Which catalog Meta would show under a new ad",
"description": "Meta can show products from a catalog under a new ad by default (the product showcase). This previews what it would pick for an ad account before the ad is made: the catalog and product sets, each on by default or waiting for confirmation, or why there is none (no catalog, not enough context, not enabled). Pass adAccountId, objective (OUTCOME_SALES default, OUTCOME_TRAFFIC, OUTCOME_ENGAGEMENT or OUTCOME_LEADS) and adUrl and/or pageId; without either Meta cannot suggest. It applies to ads created from now on, and a creative’s product extensions cannot be changed after it is made. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"adUrl": {
"type": "string",
"description": "the landing page the ad will open (recommended)"
},
"pageId": {
"type": "string",
"description": "the Facebook Page the ad will run from"
},
"objective": {
"enum": [
"OUTCOME_SALES",
"OUTCOME_TRAFFIC",
"OUTCOME_ENGAGEMENT",
"OUTCOME_LEADS"
],
"type": "string",
"description": "the campaign objective of the ad you plan (default OUTCOME_SALES)"
},
"adAccountId": {
"type": "string",
"description": "Meta ad account id (act_ optional), from list_meta_ads"
}
}
},
"annotations": {
"title": "Which catalog Meta would show under a new ad",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Ask Meta how many people a targeting spec can actually reach — BEFORE any budget is committed. Two ways: pass adSetId to size an ad set you already built (Meta uses its own saved targeting), or pass the same `targeting` object you would give create_meta_ad (plus optional objective / optimizationGoal / country / pixelId) to size an audience you are considering. Returns the monthly-active range, a daily-active estimate, and an explicit warning when the audience is too narrow to deliver. Free, read-only, creates nothing and spends nothing. Use it before recommending a budget and every time the user narrows a geo or piles on interests.
| Parameter | Type | Description |
|---|---|---|
| adSetId | string | size an EXISTING ad set using its own saved targeting |
| country | string | 2-letter fallback country when targeting names no geo |
| pixelId | string | estimate a conversion goal against this pixel |
| objective | string | OUTCOME_TRAFFIC | OUTCOME_SALES | … — picks the matching optimization goal |
| targeting | object | a targeting object, same shape as create_meta_ad.targeting |
| adAccountId * | string | ad account id (act_… or digits) |
| conversionEvent | string | e.g. PURCHASE — used with pixelId |
| optimizationGoal |
List the custom audiences and lookalikes on a connected Meta ad account — id, name, type, approximate size, and whether Meta says it is ready to target. Call it before create_meta_audience (so you never build a duplicate) and before targeting one: the ids go straight into create_meta_ad’s targeting.customAudiences / excludedCustomAudiences. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| limit | number | max rows (1–200, default 50) |
| adAccountId * | string | ad account id (act_… or digits) |
{
"name": "list_meta_audiences",
"title": "List Meta custom audiences + lookalikes",
"description": "List the custom audiences and lookalikes on a connected Meta ad account — id, name, type, approximate size, and whether Meta says it is ready to target. Call it before create_meta_audience (so you never build a duplicate) and before targeting one: the ids go straight into create_meta_ad’s targeting.customAudiences / excludedCustomAudiences. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"limit": {
"type": "number",
"description": "max rows (1–200, default 50)"
},
"adAccountId": {
"type": "string",
"description": "ad account id (act_… or digits)"
}
}
},
"annotations": {
"title": "List Meta custom audiences + lookalikes",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Build a retargeting audience on a connected Meta ad account. Four kinds: kind:"website" (people whose visited URL contains urlContains, seen by pixelId — pass the brand’s own domain for "all visitors"; retentionDays up to 180), kind:"engagement" (people who did `event` on the brand’s Facebook Page, or its Instagram business profile with source:"instagram"; retentionDays up to 730), or kind:"lookalike" (sourceAudienceId + country + ratio 0.01–0.20 = the top 1%–20% most similar people, lookalikeType "similarity" or "reach", or startingRatio for a band such as 1%–3%). Meta delivers a lookalike to the locations of the AD SET that targets it, so `country` is where you will run it — target the same country in that ad set. CREATING AN AUDIENCE SPENDS NOTHING — it is a definition; money only moves when an ad set targets it and that campaign is activated through set_meta_campaign_status(confirm:true). Meta needs roughly 30 minutes and ~1,000 people before a new audience can be targeted, so a fresh one reporting no size is normal. kind:"customerfile" is the brand's OWN CUSTOMER LIST (emails, phones, names…) for retargeting, suppression or as a lookalike seed: pass customerFileSource (a required attestation of where the data came from: USER_PROVIDED_ONLY, PARTNER_PROVIDED_ONLY or BOTH_USER_AND_PARTNER_PROVIDED), plus schema (the column names in order, from EMAIL, PHONE, FN, LN, FI, CT, ST, ZIP, COUNTRY, DOB, DOBY, GEN, MADID, EXTERN_ID) and rows (arrays in that order, up to 10,000 per call) to upload them in the same call. Hermoso normalizes and SHA-256-hashes every value before it leaves the server, exactly as Meta requires, and reports Meta’s own match counts (a mostly-rejected upload is a format problem and says so). To ADD more people to an existing list, call again with kind:"customerfile" + audienceId + schema + rows (uploads add, they never replace). Meta asks the ad account to accept its Custom Audience Terms once; if it has not, Meta’s refusal says so.
| Parameter | Type | Description |
|---|---|---|
| kind * | string | which kind of audience to build — customerfile = your own customer list |
| name | string | audience name (required unless adding rows to an existing list with audienceId) |
List the META PIXELS on one of the brand’s ad accounts — id, name, when it was created, and WHEN IT LAST FIRED. This is where the pixelId every conversion tool needs comes from: create_meta_ad takes it (with conversionEvent) to optimise an ad set for OFFSITE_CONVERSIONS instead of link clicks, and create_meta_audience needs it to build a website retargeting audience. READ lastFiredAt BEFORE YOU TRUST A PIXEL: one that has NEVER FIRED is not installed on the site, so an ad optimising against it will spend and never learn. Pass includeCode:true to get the <script> snippet for installation (it is long, so it is off by default). Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| adAccountId * | string | The ad account, with or without the act_ prefix |
| includeCode | boolean | also return the full pixel <script> snippet — only ask when the user is about to install it |
{
"name": "list_meta_pixels",
"title": "List Meta Pixels on an ad account",
"description": "List the META PIXELS on one of the brand’s ad accounts — id, name, when it was created, and WHEN IT LAST FIRED. This is where the pixelId every conversion tool needs comes from: create_meta_ad takes it (with conversionEvent) to optimise an ad set for OFFSITE_CONVERSIONS instead of link clicks, and create_meta_audience needs it to build a website retargeting audience. READ lastFiredAt BEFORE YOU TRUST A PIXEL: one that has NEVER FIRED is not installed on the site, so an ad optimising against it will spend and never learn. Pass includeCode:true to get the <script> snippet for installation (it is long, so it is off by default). Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"adAccountId": {
"type": "string",
"description": "The ad account, with or without the act_ prefix"
},
"includeCode": {
"type": "boolean",
"description": "also return the full pixel <script> snippet — only ask when the user is about to install it"
}
}
},
"annotations": {
"title": "List Meta Pixels on an ad account",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read a Meta AD ACCOUNT’s BILLING and DELIVERY state: account status in words (ACTIVE, DISABLED, UNSETTLED unpaid balance, IN_GRACE_PERIOD failed payment, PENDING_RISK_REVIEW, CLOSED…) with the disable reason; currency and time zone; BALANCE (the bill amount due); AMOUNT SPENT; SPEND CAP and how much is left under it (none means no account spending limit); the minimum daily budget; whether it is a PREPAID account; and the PAYMENT METHOD / FUNDING SOURCE (card, PayPal, prepaid funds / stored balance, invoice, credit line). Every amount is converted from Meta’s minor units into the account currency. Use it for “what is my Meta ad balance”, “how much prepaid funds are left”, “which card pays for my ads”, “why are my ads not delivering”, and before activating anything. IT CANNOT ADD PREPAID FUNDS OR CHANGE THE PAYMENT METHOD — Meta publishes no API for either, so the reply links the account’s page in Meta Billing (Ads Manager > Billing & payments) where the user does it; say so rather than looking for another tool. If Meta refuses the billing fields to this connection (the connected person lacks the MANAGE role on the account), the reply says the funding source could not be read, which is not the same as having none. Meta fields read: account_status, the disable reason, balance, amount_spent, spend_cap, min_daily_budget, is_prepay_account, funding_source_details. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| adAccountId * | string | The ad account, with or without the act_ prefix |
{
"name": "get_meta_ad_account",
"title": "Read a Meta ad account’s billing and status",
"description": "Read a Meta AD ACCOUNT’s BILLING and DELIVERY state: account status in words (ACTIVE, DISABLED, UNSETTLED unpaid balance, IN_GRACE_PERIOD failed payment, PENDING_RISK_REVIEW, CLOSED…) with the disable reason; currency and time zone; BALANCE (the bill amount due); AMOUNT SPENT; SPEND CAP and how much is left under it (none means no account spending limit); the minimum daily budget; whether it is a PREPAID account; and the PAYMENT METHOD / FUNDING SOURCE (card, PayPal, prepaid funds / stored balance, invoice, credit line). Every amount is converted from Meta’s minor units into the account currency. Use it for “what is my Meta ad balance”, “how much prepaid funds are left”, “which card pays for my ads”, “why are my ads not delivering”, and before activating anything. IT CANNOT ADD PREPAID FUNDS OR CHANGE THE PAYMENT METHOD — Meta publishes no API for either, so the reply links the account’s page in Meta Billing (Ads Manager > Billing & payments) where the user does it; say so rather than looking for another tool. If Meta refuses the billing fields to this connection (the connected person lacks the MANAGE role on the account), the reply says the funding source could not be read, which is not the same as having none. Meta fields read: account_status, the disable reason, balance, amount_spent, spend_cap, min_daily_budget, is_prepay_account, funding_source_details. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"adAccountId": {
"type": "string",
"description": "The ad account, with or without the act_ prefix"
}
}
},
"annotations": {
"title": "Read a Meta ad account’s billing and status",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create a META PIXEL on one of the brand’s ad accounts, so their ads can optimise for real website conversions instead of link clicks and so website retargeting audiences become possible. A pixel is a DEFINITION: it cannot serve, cannot spend, and RECORDS NOTHING until its snippet is installed on the site — the reply hands back that snippet and says so. TWO THINGS TO SAY OUT LOUD BEFORE CALLING IT: Meta allows exactly ONE pixel per ad account (a second attempt is refused and Hermoso will name the one that already exists — so call list_meta_pixels first), and Meta publishes NO WAY TO DELETE a pixel, so this is permanent. Creating it spends nothing.
| Parameter | Type | Description |
|---|---|---|
| name * | string | what it will be called in Events Manager — name it after the website or brand it measures |
| adAccountId * | string | The ad account, with or without the act_ prefix |
{
"name": "create_meta_pixel",
"title": "Create a Meta Pixel",
"description": "Create a META PIXEL on one of the brand’s ad accounts, so their ads can optimise for real website conversions instead of link clicks and so website retargeting audiences become possible. A pixel is a DEFINITION: it cannot serve, cannot spend, and RECORDS NOTHING until its snippet is installed on the site — the reply hands back that snippet and says so. TWO THINGS TO SAY OUT LOUD BEFORE CALLING IT: Meta allows exactly ONE pixel per ad account (a second attempt is refused and Hermoso will name the one that already exists — so call list_meta_pixels first), and Meta publishes NO WAY TO DELETE a pixel, so this is permanent. Creating it spends nothing.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "what it will be called in Events Manager — name it after the website or brand it measures"
},
"adAccountId": {
"type": "string",
"description": "The ad account, with or without the act_ prefix"
}
}
},
"annotations": {
"title": "Create a Meta Pixel",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Send SERVER events to the brand’s OWN Meta pixel (the Conversions API): Purchase, Lead, CompleteRegistration, AddToCart, InitiateCheckout, ViewContent, Contact, Subscribe or a custom name, for sales and sign-ups the browser pixel misses (a CRM deal, a phone order, a checkout the browser blocked). The pixel must be on one of the brand’s ticked ad accounts (list_meta_pixels); any other id is refused. PASS PLAIN VALUES (email, phone with country code, firstName, lastName, city, state, zip, country, dateOfBirth, externalId): Hermoso normalizes and SHA-256 hashes them per Meta’s rules, so never hash them yourself. clientIpAddress, clientUserAgent, fbc or fbclid, fbp and a Meta leadId go as given. A website event needs eventSourceUrl and clientUserAgent. Give every event an eventId (the same one the browser pixel sends) so Meta deduplicates it. Events up to 7 days old (62 for physical_store), up to 1,000 per call. testEventCode sends to Events Manager’s Test Events, and those events still count. The brand is responsible for its customers’ consent to share this data with Meta. RECEIVED IS NOT MATCHED: the reply reads back Meta’s events_received. Free.
| Parameter | Type | Description |
|---|---|---|
| events * | array | each: eventName, actionSource (website, email, app, phone_call, chat, physical_store, system_generated, business_messaging, other), eventTime (unix seconds or ISO; default now), eventId, eventSourceUrl, plain identifiers (email, phone, firstName, lastName, city, state, zip, country, dateOfBirth, gen… |
| pixelId * | string | the pixel (dataset) id, or its exact name, from list_meta_pixels |
| adAccountId * | string | the ad account that owns the pixel, with or without act_ |
| testEventCode | string |
How well the brand’s Meta pixel is set up for the Conversions API, from Meta’s Dataset Quality API: event match quality (out of 10) per website event, which match keys arrive and how often, Meta’s own list of problems with the fix for each, how much browser traffic the server also covers, deduplication key coverage, how fresh the uploads are and how many arrive late. Website events only: Meta scores nothing else. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| pixelId * | string | from list_meta_pixels |
| adAccountId * | string | the ad account that owns the pixel |
{
"name": "meta_dataset_quality",
"title": "Check a Meta pixel’s Conversions API health",
"description": "How well the brand’s Meta pixel is set up for the Conversions API, from Meta’s Dataset Quality API: event match quality (out of 10) per website event, which match keys arrive and how often, Meta’s own list of problems with the fix for each, how much browser traffic the server also covers, deduplication key coverage, how fresh the uploads are and how many arrive late. Website events only: Meta scores nothing else. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId",
"pixelId"
],
"properties": {
"pixelId": {
"type": "string",
"description": "from list_meta_pixels"
},
"adAccountId": {
"type": "string",
"description": "the ad account that owns the pixel"
}
}
},
"annotations": {
"title": "Check a Meta pixel’s Conversions API health",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read or change AUTOMATIC sending to the brand’s Meta pixel. Sources, each OFF by default: shopify (paid Shopify orders as Purchase, keyed by order id; waits on Shopify approving access to order details), metaLeads (Meta instant-form leads sent back as Lead), emailReplies (an email lead who replies, as Lead). Call with no arguments to read the setting and the last run. Turning a source ON needs confirm:true AND consent:true, after showing the user what is sent and that they are responsible for their customers’ consent. limitedDataUse sets Meta’s Limited Data Use for US state privacy laws. runNow:true sends now. An event is never sent twice, and a failed send is retried. Free.
| Parameter | Type | Description |
|---|---|---|
| runNow | boolean | |
| confirm | boolean | |
| consent | boolean | |
| pixelId | string | |
| sources | object | |
| adAccountId | string | |
| everyMinutes | number | 15 to 1440, default 60 |
| leadEventName | string | the event name leads are sent as, default Lead |
| limitedDataUse | string |
List the INSTANT LEAD FORMS on a connected Facebook Page — id, name, status, how many leads each has collected and what each one asks. This is where the formId every other lead tool needs comes from, and calling it before create_meta_lead_form is how you avoid building a duplicate. Read-only, free. NEEDS the pages_manage_ads permission, which Hermoso’s Meta consent screen asks for. If Meta answers "Requires pages_manage_ads", the user must RECONNECT Meta under Connectors > Meta — a connection made before that permission was added cannot gain it by retrying. Call the tool rather than pre-refusing: any refusal comes from Meta and names the one thing that fixes it.
| Parameter | Type | Description |
|---|---|---|
| limit | number | max rows (1–100, default 25) |
| pageId | string | Which connected Page — required only if the profile has more than one |
{
"name": "list_meta_lead_forms",
"title": "List Meta instant (lead) forms",
"description": "List the INSTANT LEAD FORMS on a connected Facebook Page — id, name, status, how many leads each has collected and what each one asks. This is where the formId every other lead tool needs comes from, and calling it before create_meta_lead_form is how you avoid building a duplicate. Read-only, free. NEEDS the pages_manage_ads permission, which Hermoso’s Meta consent screen asks for. If Meta answers \"Requires pages_manage_ads\", the user must RECONNECT Meta under Connectors > Meta — a connection made before that permission was added cannot gain it by retrying. Call the tool rather than pre-refusing: any refusal comes from Meta and names the one thing that fixes it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "max rows (1–100, default 25)"
},
"pageId": {
"type": "string",
"description": "Which connected Page — required only if the profile has more than one"
}
}
},
"annotations": {
"title": "List Meta instant (lead) forms",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create an INSTANT LEAD FORM on a connected Facebook Page — the in-app form a Meta lead ad opens instead of sending someone to a website, so a person can sign up without leaving the app. `questions` takes Meta’s own type names, e.g. ["FULL_NAME","EMAIL","PHONE"]; for anything bespoke pass {type:"CUSTOM", label:"What size fleet do you run?"} and add options:[…] to make it a dropdown. Ask FEWER questions than you think — every extra field costs completions. privacyPolicyUrl is REQUIRED: the form collects real people’s contact details and has to say where their data goes. Optional: headline, contextCard {title, bullets[], buttonText} for the why-should-I screen, thankYou {title, body, buttonType, buttonText, websiteUrl}, locale, followUpActionUrl. CREATING A FORM SPENDS NOTHING and publishes nothing — it is invisible to the public until an ad points at it (create_meta_ad with objective:"OUTCOME_LEADS" + leadFormId), and that ad is created PAUSED. Read the submissions with read_meta_leads. NEEDS pages_manage_ads — see list_meta_lead_forms for what to do if Meta refuses it.
| Parameter | Type | Description |
|---|---|---|
| name * | string | internal name for the form — not shown to the person filling it in |
| locale | string | form language, e.g. EN_US, ES_ES, PT_BR, DE_DE |
| pageId | string | which connected Page (required only if the profile has more than one) |
| headline | string | headline shown above the questions |
| thankYou | object | {title, body, buttonType, buttonText, websiteUrl} — shown after submitting |
| questions * | array |
Retire an INSTANT LEAD FORM so it stops collecting — the only way to tidy a Page’s Instant Forms list, because META DOES NOT SUPPORT DELETING A LEAD FORM AT ALL, only archiving it. This is REVERSIBLE: pass status:"ACTIVE" to switch an archived form back on. Archiving publishes nothing, spends nothing and DELETES NO LEADS — everything the form already collected stays readable with read_meta_leads. CALL IT WITHOUT confirm FIRST: nothing changes and you get the form’s real name, current status and lead count READ BACK FROM META, so you can show the user exactly which form they are about to retire rather than echoing back an id they may have mistyped; then call again with confirm:true. WARNING WORTH RELAYING BEFORE ARCHIVING: if a live ad still points at this form, its button will open nothing — check the ad first. The new status is READ BACK from Meta after the change, so the summary reports what Meta actually stored and says plainly when the change did NOT take; print it verbatim rather than assuming a successful call means a changed form.
| Parameter | Type | Description |
|---|---|---|
| formId * | string | the form to retire (from list_meta_lead_forms) |
| pageId | string | which connected Page (required only if the profile has more than one) |
| status | string | default ARCHIVED; "ACTIVE" restores a form that was archived |
| confirm | boolean | must be true to actually change it — without it nothing changes and you get the read-back to show the user |
Read the LEADS a form (formId) or a single ad (adId) has collected — the real answers people submitted, fetched live from Meta. THIS RETURNS REAL PEOPLE’S CONTACT DETAILS (names, emails, phone numbers). Treat it as the user’s own customer data: show only what they asked for, never post a lead list anywhere public, and do not copy it into an unrelated document. Hermoso PULLS these on demand and keeps no copy — nothing here watches, polls or files leads anywhere, so if the user wants this batch kept, put it somewhere THEY own in the same turn (a Google Sheet with create_sheet / append_to_sheet, a doc, or their own CRM). Meta makes each lead available for 90 days after it is submitted; anything older is handled in Meta’s own Leads Center and CRM integrations. Narrow with since/until (ISO dates), page with cursor, or pass redact:true to see counts, timestamps and which ad produced each lead WITHOUT the personal details. NEEDS leads_retrieval — see list_meta_lead_forms for what to do if Meta refuses it.
| Parameter | Type | Description |
|---|---|---|
| adId | string | just the leads this ONE ad produced (from list_meta_ads) — pass this OR formId, never both |
| limit | number | 1–500, default 100 |
| since | string | ISO date (2026-08-01) or epoch ms — only leads created after this |
| until | string | ISO date or epoch ms — only leads created before this |
| cursor | string | paging cursor returned by a previous call |
| formId | string | every lead this form has ever collected (from list_meta_lead_forms) |
PERMANENTLY delete a Meta custom audience or lookalike. Meta’s own warning: "When you delete a custom audience, it will be permanently removed from your account and your ads using it will stop running." An audience is the one ad object whose value is its CONTENTS — a big retargeting list cannot be rebuilt, it has to re-accumulate — so CALL IT WITHOUT confirm FIRST: nothing is deleted, and you get its real name, how many people are in it and which lookalikes were built from it, read live from Meta. Show the user exactly that. A populated audience, or one with lookalikes, then needs confirmName set to its exact name (and confirmChildren set to the lookalike count when there are any). META REFUSES to delete an audience that has lookalikes derived from it (error 2656) — delete those first; the unconfirmed call names them. Pass adAccountId + audienceId (from list_meta_audiences). The result is READ BACK from Meta: it says deleted only when the id no longer resolves.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | REQUIRED true — the deletion is permanent |
| audienceId * | string | the custom audience id (from list_meta_audiences) |
| adAccountId * | string | ad account id (act_… or digits) |
| confirmName | string | the audience’s EXACT name, required when it holds people or has lookalikes |
| confirmChildren | number | the exact number of derived lookalikes reported by the unconfirmed call, required when it has any |
Send ONE conversion event (a sale, sign-up, lead or your own event) to EVERY ad platform conversions API the brand saved as a destination (conversion_destinations), in one call: Meta, TikTok, LinkedIn, Snapchat, Reddit, Pinterest, X, Microsoft Advertising, ChatGPT Ads, AppLovin and Amazon Ads. Pass PLAIN identifiers: each platform’s sender normalises and SHA-256 hashes them to that platform’s own rules, and every platform receives the same eventId as its dedup key (match it to the browser pixel’s). Click ids in sourceUrl (gclid, fbclid, ttclid, twclid, msclkid, li_fat_id …) are read automatically, and a click id the same person carried on an earlier stored page view rides along with a server-side sale. Each destination answers on its own, read back from what the PLATFORM said (accepted, refused, skipped and why); one failing never blocks another. DRY RUN: validateOnly:true and/or testCode reach only the platforms with a mode that records nothing (Pinterest, Snapchat and ChatGPT Ads validate; TikTok and Reddit take a test code from their Events Manager) and skip the rest by name, so nothing real is counted. Meta keeps events sent with a test code, so a dry run never reaches Meta. forward:false only RECORDS the events (page views and other touches for journeys) and sends them nowhere. Every non-test event is stored with its identifiers hashed, for conversion_insights and campaign_profit. Google Ads is refused by name: Google no longer accepts conversion uploads from new integrations through its Ads API. Free.
| Parameter | Type | Description |
|---|---|---|
| events * | array | 1 to 1,000 events |
| source | string | where these came from, e.g. crm, shopify, stripe (shown on stored events); default api |
| forward | boolean | false records the events for journeys and sends them nowhere |
| testCode |
The ad platform conversions APIs send_conversion_event sends to, per brand. action list (default) shows them plus what each platform needs; add saves one: platform (meta, tiktok, linkedin, snapchat, reddit, pinterest, x, microsoft, chatgpt, applovin, amazon) with its ids (Meta pixelId + adAccountId; TikTok eventSourceId = the pixel CODE, eventSource web/offline/crm, advertiserId; LinkedIn conversionId of a Conversions API rule; Snapchat pixelId; Reddit pixelId; Pinterest adAccountId; X pixelId and eventId; Microsoft conversionName of an OFFLINE goal; ChatGPT Ads pixelSnippetId + apiKey, the Conversions API key, stored encrypted and never shown again; Amazon amazonProfileId + countryCode). eventNames limits which events it takes (LinkedIn and Microsoft need it: their rule or goal decides the type); eventMap renames one of yours to the platform’s, e.g. {"QualifiedLead":"CUSTOM_EVENT_1"}. Meta pixels, Amazon profiles and LinkedIn rules are checked against the brand’s own account when added; the rest on the first send. action remove takes destinationId. Free.
| Parameter | Type | Description |
|---|---|---|
| label | string | add: your name for it |
| action | string | default list |
| apiKey | string | ChatGPT Ads Conversions API key |
| eventId | string | X conversion event id |
| pixelId | string | Meta / Snapchat / Reddit / X pixel id |
| eventMap | object | your event name to this platform’s event name |
| platform | string | add: meta, tiktok, linkedin, snapchat, reddit, pinterest, x, microsoft, chatgpt, applovin or amazon |
The conversion events send_conversion_event stored for this brand, newest first, with each one’s delivery per platform (sent, failed or skipped, and why). action list (default) filters by from / to (YYYY-MM-DD), eventName, source, platform, deliveryStatus (sent | failed), fromAd and campaignId, paged with cursor; action get takes eventId; update sets a stored event’s value (and currency) for journeys, LTV and profit; retract removes it from Hermoso’s records. Identifiers are stored hashed and never returned; test and validate-only sends are never stored. Free.
| Parameter | Type | Description |
|---|---|---|
| to | string | YYYY-MM-DD |
| from | string | YYYY-MM-DD |
| limit | number | 1-200, default 50 |
| value | number | update: the new value |
| action | string | default list (get when eventId is given) |
| cursor | string | nextCursor from the last page |
| fromAd | boolean | only events from an ad click (true) or not (false) |
| source | string | e.g. api, crm, stripe |
| eventId | string | get / update / retract |
| currency | string |
Read the brand’s stored conversion events as: journey — ONE customer’s every touch and conversion in order, with lifetime value (pass email, phone, externalId, visitorId or a customer key); customers — everyone who converted in the window with their path, conversions and LTV; paths — the most common touch sequences before a conversion (an ad click on Meta, then organic search, and so on); ltv — buyers by first-purchase month and first channel, revenue at months 0, 1, 3, 6 and 12; accuracy — per destination, how many real sales were sent, accepted, failed or never sent and why; overview (default). People are tied together across events by any identifier they share (a visitorId on a page view and an email on the sale). Money stays per currency. Free.
| Parameter | Type | Description |
|---|---|---|
| to | string | YYYY-MM-DD |
| days | number | the last N days instead of from |
| from | string | YYYY-MM-DD |
| view | string | default overview, journey when a customer is named |
| string | journey: the customer’s email | |
| limit | number | rows |
| phone | string | journey: the customer’s phone |
| toMonth | string | ltv: YYYY-MM |
| customer |
Your own numbers per ad campaign per day (sales, revenue, qualified_leads, cogs, gross_profit or any snake_case metric) so campaign_profit can put them next to each platform’s spend. Each row: date (YYYY-MM-DD, up to 400 days back), exactly one of campaignId, utmCampaign or campaignName, optional adAccountId, platform and currency, and values {metric: number}. Or pass csv with a header row: date, then a campaign id, utm campaign or campaign name column, then metric columns. Re-sending a day replaces it. action list reads what is stored (from / to); action clear removes rows in a window (optionally one campaign). Up to 1,000 rows per call. Free.
| Parameter | Type | Description |
|---|---|---|
| to | string | list / clear: YYYY-MM-DD |
| csv | string | the same rows as CSV text |
| from | string | list / clear: YYYY-MM-DD |
| rows | array | rows to save |
| action | string | default upload when rows or csv is given, else list |
| campaign | string | clear: only this campaign |
{
"name": "upload_campaign_results",
"title": "Upload your own results per campaign",
"description": "Your own numbers per ad campaign per day (sales, revenue, qualified_leads, cogs, gross_profit or any snake_case metric) so campaign_profit can put them next to each platform’s spend. Each row: date (YYYY-MM-DD, up to 400 days back), exactly one of campaignId, utmCampaign or campaignName, optional adAccountId, platform and currency, and values {metric: number}. Or pass csv with a header row: date, then a campaign id, utm campaign or campaign name column, then metric columns. Re-sending a day replaces it. action list reads what is stored (from / to); action clear removes rows in a window (optionally one campaign). Up to 1,000 rows per call. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"type": "string",
"description": "list / clear: YYYY-MM-DD"
},
"csv": {
"type": "string",
"description": "the same rows as CSV text"
},
"from": {
"type": "string",
"description": "list / clear: YYYY-MM-DD"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"values"
],
"properties": {
"date": {
"type": "string",
"description": "YYYY-MM-DD"
},
"values": {
"type": "object",
"description": "1-20 metrics, e.g. {\"sales\": 2, \"revenue\": 180, \"cogs\": 60}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
},
"currency": {
"type": "string",
"description": "ISO code of revenue / cogs"
},
"platform": {
"type": "string",
"description": "meta, google_ads, tiktok_ads …"
},
"campaignId": {
"type": "string",
"description": "platform campaign id"
},
"adAccountId": {
"type": "string",
"description": "narrows matching to one ad account"
},
"utmCampaign": {
"type": "string",
"description": "utm_campaign on its ads"
},
"campaignName": {
"type": "string",
"description": "campaign name, any case"
}
}
},
"description": "rows to save"
},
"action": {
"enum": [
"upload",
"list",
"clear"
],
"type": "string",
"description": "default upload when rows or csv is given, else list"
},
"campaign": {
"type": "string",
"description": "clear: only this campaign"
}
}
},
"annotations": {
"title": "Upload your own results per campaign",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}The numbers campaign_profit turns revenue into profit with: marginPercent (0-100, the share of revenue kept as gross profit; null removes profit), costPerOrder (subtracted per sale, in each ad account’s currency) and campaignMargins, a margin per campaign {"<campaign id, utm_campaign or name>": percent} (null removes one). profit = revenue × margin − sales × costPerOrder; POAS = profit ÷ spend; profit after ads = profit − spend. A campaign whose results upload carries cogs or gross_profit uses those instead. No arguments reads the setting. Free.
| Parameter | Type | Description |
|---|---|---|
| costPerOrder | ["number","null"] | per sale, in each ad account’s currency |
| marginPercent | ["number","null"] | 0-100; null removes it |
| campaignMargins | any | per-campaign margins; null for one removes it |
{
"name": "set_profit_settings",
"title": "Set margin and cost per order for profit",
"description": "The numbers campaign_profit turns revenue into profit with: marginPercent (0-100, the share of revenue kept as gross profit; null removes profit), costPerOrder (subtracted per sale, in each ad account’s currency) and campaignMargins, a margin per campaign {\"<campaign id, utm_campaign or name>\": percent} (null removes one). profit = revenue × margin − sales × costPerOrder; POAS = profit ÷ spend; profit after ads = profit − spend. A campaign whose results upload carries cogs or gross_profit uses those instead. No arguments reads the setting. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"costPerOrder": {
"type": [
"number",
"null"
],
"description": "per sale, in each ad account’s currency"
},
"marginPercent": {
"type": [
"number",
"null"
],
"description": "0-100; null removes it"
},
"campaignMargins": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"number",
"null"
]
}
},
{
"type": "null"
}
],
"description": "per-campaign margins; null for one removes it"
}
}
},
"annotations": {
"title": "Set margin and cost per order for profit",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Profit per campaign across every connected ad platform: each campaign’s spend read live from the platform, joined to the brand’s own sales. Revenue per campaign comes from ONE source, strongest first: results you uploaded (upload_campaign_results), else conversion events sent through send_conversion_event and credited to campaigns under `model` (last_click default, first_touch, linear, position_based, time_decay), else Shopify / Stripe orders matched by utm_campaign. Never summed across sources, so one sale is never counted twice. Each row: spend, sales, revenue, profit (set_profit_settings), POAS, profit after ads, ROAS, cost per sale, the platform’s own reported conversions beside it, and which source the revenue came from. Money stays per currency; a platform that could not be read is named, never shown as zero. from / to (YYYY-MM-DD) or days, up to 92; platforms narrows it. Free.
| Parameter | Type | Description |
|---|---|---|
| to | string | YYYY-MM-DD, default today |
| days | number | the last N days; default 30 |
| from | string | YYYY-MM-DD |
| model | string | how event revenue is credited to campaigns; default last_click |
| platforms | array | meta, google_ads, tiktok_ads, linkedin, microsoft_ads, pinterest_ads, reddit_ads, snapchat_ads, x_ads, openai_ads, apple_ads; default every connected one |
| includeIdle | boolean | true also lists campaigns with no spend and no sales |
| revenueFrom | array |
The brand’s HERMOSO TAG: ONE first-party snippet per brand for its website. It records page views, each visit’s UTM parameters and ad click ids (gclid, fbclid, ttclid, msclkid, li_fat_id, ScCid, rdt_cid, epik …), the referrer, and conversions the site reports (hermoso('track', 'Lead' | 'Purchase' | your own event, {value, currency, orderId, email …})), ties a visitor to a person when the site calls hermoso('identify', {email, phone}) (hashed before storage), and FORWARDS conversions server-side to every conversions destination the brand saved (conversion_destinations), each with one dedup eventId (a Purchase uses its orderId, so a browser pixel firing the same id is deduplicated). action get (default) returns the snippet, the install status (last event seen, from which hosts) and the settings; it MAKES the brand’s tag on first call. action update changes settings: consentDefault, waitForConsent, honorGpc, honorDnt, forward, forwardEvents, allowedDomains, spa, testMode ("validate" or a TikTok / Reddit test code sends conversions as a dry run; "off" ends it) and conversions (define the brand’s own events as conversions, each sent to the platforms as a standard event, e.g. {"quote_requested": {"as": "Lead"}}). action verify reads the site (url, default the brand’s website) for the snippet and reports the last event seen. autoTrack {forms, outbound, downloads, scroll} turns on automatic events (form submits as leads, outbound / phone / email clicks, file downloads, scroll depth); linkDomains lists the brand’s other sites so a visit carries on across them. action server_key makes a server key (shown once) for POST /htag/s, so a backend sends purchases with the same dedup ids; action stripe with signingSecret (whsec_…) turns a Stripe webhook into Purchases through the tag. The tag also runs from the brand’s own domain behind a proxy (forward /htag.js and /htag/e, pass X-Hermoso-Client-IP) so ad blockers do not drop it. CONSENT: the tag follows the consent the site gives it (hermoso('consent', …) or Google Consent Mode v2) and the brand’s defaults; THE WEBSITE OWNER IS RESPONSIBLE for the site’s consent banner and privacy notice. To put it on the site use install_hermoso_tag. Free.
| Parameter | Type | Description |
|---|---|---|
| spa | boolean | update: count a page view on each in-page navigation (default true) |
Put the brand’s HERMOSO TAG (hermoso_tag) on its website through the site connection it has: google_tag_manager (a Custom HTML tag on every page, staged, live with publish:true through the Tag Manager publish confirmation), wordpress (a block in the theme footer, or a custom HTML widget, read back; a site that strips scripts for the connected user is undone and answered with paste steps), shopify (Hermoso’s app pixel in Shopify customer events, which also records checkout purchases) or manual (the snippet and where to paste it in Webflow, Wix, Squarespace, Framer …). site omitted = the best one connected. WITHOUT confirm:true NOTHING IS WRITTEN: the reply says what would change; show the user, get a yes, call again with confirm:true. remove:true uninstalls what Hermoso added. This is NOT install_tracking_tag, which installs ad platforms’ own pixels (Meta Pixel, TikTok Pixel …). Free.
| Parameter | Type | Description |
|---|---|---|
| site | string | default the best connected site |
| remove | boolean | true uninstalls what Hermoso added |
| confirm | boolean | true writes; without it nothing changes |
| publish | boolean | google_tag_manager: publish the container so it reaches visitors |
| gtmWorkspace | string | google_tag_manager: the workspace |
| containerPath | string | google_tag_manager: the container, when several are ticked |
| confirmPublicId | string |
What the Hermoso tag saw on the brand’s website: visits -> leads -> purchases -> revenue, grouped by channel (default), source, medium, campaign, post (the Hermoso post or email a utm_content id came from), ad, or landing page. Money stays per currency; days are UTC; bots are left out and counted; test (dry-run) events are reported apart, never in the totals. from / to (YYYY-MM-DD) or days, up to 92. Free.
| Parameter | Type | Description |
|---|---|---|
| to | string | YYYY-MM-DD, default today |
| days | number | the last N days, up to 92; default 30 |
| from | string | YYYY-MM-DD |
| limit | number | rows, default 50 |
| groupBy | string | default channel |
{
"name": "hermoso_tag_report",
"title": "Website visits, leads and revenue by source",
"description": "What the Hermoso tag saw on the brand’s website: visits -> leads -> purchases -> revenue, grouped by channel (default), source, medium, campaign, post (the Hermoso post or email a utm_content id came from), ad, or landing page. Money stays per currency; days are UTC; bots are left out and counted; test (dry-run) events are reported apart, never in the totals. from / to (YYYY-MM-DD) or days, up to 92. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"type": "string",
"description": "YYYY-MM-DD, default today"
},
"days": {
"type": "number",
"description": "the last N days, up to 92; default 30"
},
"from": {
"type": "string",
"description": "YYYY-MM-DD"
},
"limit": {
"type": "number",
"description": "rows, default 50"
},
"groupBy": {
"enum": [
"channel",
"source",
"medium",
"campaign",
"post",
"ad",
"page"
],
"type": "string",
"description": "default channel"
}
}
},
"annotations": {
"title": "Website visits, leads and revenue by source",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}The most recent events the Hermoso tag received, newest first: conversions (default), visits or all, each with its page, source / medium, value, and what each ad platform answered when it was forwarded (sent, validated, failed or skipped and why). conversion_events (source hermoso_tag) holds each stored conversion’s full delivery record. action send puts SERVER-SIDE events into the tag (a renewal, a phone order, a payment the browser never saw): events [{eventName, eventId (the same id the browser sent, so it is one sale), value, currency, user {email, phone, externalId, visitorId}, sourceUrl}], forwarded and reported like the browser’s. Free.
| Parameter | Type | Description |
|---|---|---|
| kind | string | default conversions |
| limit | number | 1-150, default 30 |
| action | string | default list |
| events | array | send: 1-500 events in the send_conversion_event shape |
| eventName | string | only this event |
{
"name": "hermoso_tag_events",
"title": "Recent events from the Hermoso tag",
"description": "The most recent events the Hermoso tag received, newest first: conversions (default), visits or all, each with its page, source / medium, value, and what each ad platform answered when it was forwarded (sent, validated, failed or skipped and why). conversion_events (source hermoso_tag) holds each stored conversion’s full delivery record. action send puts SERVER-SIDE events into the tag (a renewal, a phone order, a payment the browser never saw): events [{eventName, eventId (the same id the browser sent, so it is one sale), value, currency, user {email, phone, externalId, visitorId}, sourceUrl}], forwarded and reported like the browser’s. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"kind": {
"enum": [
"conversions",
"visits",
"all"
],
"type": "string",
"description": "default conversions"
},
"limit": {
"type": "number",
"description": "1-150, default 30"
},
"action": {
"enum": [
"list",
"send"
],
"type": "string",
"description": "default list"
},
"events": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "send: 1-500 events in the send_conversion_event shape"
},
"eventName": {
"type": "string",
"description": "only this event"
}
}
},
"annotations": {
"title": "Recent events from the Hermoso tag",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}AUDIENCES FROM THE BRAND’S WEBSITE VISITORS, seen by the Hermoso tag (hermoso_tag). A segment is visitors who visited page paths (visited, prefixes such as "/pricing"), did ANY of some events (events, e.g. ["AddToCart"]) and NONE of others (notEvents, e.g. ["Purchase"]) within withinDays (1-180, default 30). action list (default) shows the segments with how many visitors match, how many are identified (the site gave an email or phone through hermoso('identify') or a form) and how many allowed ad use; preview counts a rule set without saving; save stores one (pass segmentId to edit it); delete removes one (confirm:true). action sync fills a customer-list audience: platform meta (adAccountId; a NEW audience unless audienceId), google_ads (audienceId = a Customer Match list from google_ads_customer_lists, and acceptTerms:true once the advertiser accepts Google’s Customer Match terms), snapchat_ads, pinterest_ads or x_ads (each with the audienceId to fill). Only IDENTIFIED people whose LATEST consent allowed ad use are sent, as SHA-256 hashes made to that platform’s own rule; uploads add people and never remove anyone. WITHOUT confirm:true sync sends nothing and says exactly what it would send: show the user, then call again with confirm:true. Microsoft, Reddit, TikTok and LinkedIn are named with the reason they are not sent. Free.
| Parameter | Type | Description |
|---|---|---|
| name | string | save / preview: the segment’s name |
| action | string | default list |
| events | array | events, any of (Lead, AddToCart, your own …) |
| confirm | boolean | sync / delete: true does it; without it nothing changes |
| visited | array | page paths (prefixes), any of |
POST-PURCHASE SURVEY, "How did you hear about us?": what buyers SAY brought them, beside what tracking saw. Asked in three places: on Shopify’s Thank you and Order status pages (the "Hermoso survey" app block, placed once in Settings > Checkout > Customize; not on Shopify Starter), on a hosted page (pageUrl) any store links from its own order email or SMS, and through a signed webhook for answers collected anywhere else (WooCommerce, another survey app, a form). Each answer is written to the Shopify order (metafield hermoso.how_did_you_hear, shown on the order page) and to the brand’s contact (field how_did_you_hear, tag survey:<channel>), and sent as survey.answered to the brand’s Slack, Discord or webhook alerts. action get (default): settings, the page and webhook links, the answer count, whether the Shopify block has loaded. set: enabled, question, options [{ label, channel?, freeText? }] (2-20; channel such as instagram, tiktok, google, ai, word_of_mouth, creator, podcast, email, other), thankYou, shuffle, writeToOrder, writeToContact, accent (hex). link: orderId, email, value, currency -> a link signed with the brand’s secret, so the answer is tied to that order. secret: the signing secret for links and the webhook (rotate:true makes a new one; old signatures stop working). record: an answer the user or agent already has (answer = an option id or label, or the buyer’s own words; otherText, orderId, email, value, currency, at). answers: the answers (days or from/to, channel, source, limit). report: answers and revenue per answer, and for each answer what tracking recorded for the same orders, including how many buyers named a channel tracking credited to direct traffic or nothing. sync: retry writing answers onto orders and contacts. Free.
| Parameter | Type | Description |
|---|---|---|
| at | string | record: when it was answered, ISO time |
| to | string | |
| days | number | answers / report: the last N days (default 30) |
| from | string |
ONE-TIME SETUP, and the FIRST thing to run when Merchant Center calls are being refused. Google blocks every Merchant API call until Hermoso's Google Cloud project is registered against the merchant's account, and says so verbatim ("GCP project ... is not registered with the merchant account"). This performs that link. It is NOT a broken connection and reconnecting cannot fix it. Google asks for up to 5 minutes afterwards before the API starts answering.
| Parameter | Type | Description |
|---|---|---|
| developerEmail * | string | a contact address Google records against the registration; it is not used to sign in |
| merchantCenterId * | string | the numeric id shown top-right in Merchant Center |
{
"name": "register_merchant_developer",
"title": "Register Hermoso with a Merchant Center account",
"description": "ONE-TIME SETUP, and the FIRST thing to run when Merchant Center calls are being refused. Google blocks every Merchant API call until Hermoso's Google Cloud project is registered against the merchant's account, and says so verbatim (\"GCP project ... is not registered with the merchant account\"). This performs that link. It is NOT a broken connection and reconnecting cannot fix it. Google asks for up to 5 minutes afterwards before the API starts answering.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"developerEmail"
],
"properties": {
"developerEmail": {
"type": "string",
"description": "a contact address Google records against the registration; it is not used to sign in"
},
"merchantCenterId": {
"type": "string",
"description": "the numeric id shown top-right in Merchant Center"
}
}
},
"annotations": {
"title": "Register Hermoso with a Merchant Center account",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List the Google Merchant Center accounts this brand's connected Google account can reach. EVERY other Merchant tool needs the merchantCenterId this returns, and an agency often has several, so never guess one — ask the user which store. Read-only and free. If it is refused, the Merchant Center permission has not been granted yet; that is not a broken connection and reconnecting will not change it.
No parameters.
{
"name": "list_merchant_accounts",
"title": "List Merchant Center accounts",
"description": "List the Google Merchant Center accounts this brand's connected Google account can reach. EVERY other Merchant tool needs the merchantCenterId this returns, and an agency often has several, so never guess one — ask the user which store. Read-only and free. If it is refused, the Merchant Center permission has not been granted yet; that is not a broken connection and reconnecting will not change it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List Merchant Center accounts",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read the products in a Merchant Center feed — what the merchant actually offers, which is what Shopping and retail Performance Max campaigns serve. Needs merchantCenterId from list_merchant_accounts. Read-only and free.
| Parameter | Type | Description |
|---|---|---|
| limit | number | max products (default 50, max 250) |
| merchantCenterId * | string | from list_merchant_accounts |
{
"name": "list_merchant_products",
"title": "List Merchant Center products",
"description": "Read the products in a Merchant Center feed — what the merchant actually offers, which is what Shopping and retail Performance Max campaigns serve. Needs merchantCenterId from list_merchant_accounts. Read-only and free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId"
],
"properties": {
"limit": {
"type": "number",
"description": "max products (default 50, max 250)"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "List Merchant Center products",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Record an ad or campaign the merchant is running (on Meta, Google, TikTok, email, anywhere) in their Shopify admin under Marketing, so Shopify's own reports attribute storefront visits and sales to it by its UTM. REPORTING ONLY: it publishes nothing and spends nothing. Pass title, remoteUrl (where the ad is managed, e.g. The Ads Manager link), the utm {campaign, source, medium} the ad's links carry, and optionally tactic (AD default, RETARGETING, POST, LINK, NEWSLETTER, …), channel (SOCIAL default, SEARCH, DISPLAY, EMAIL, REFERRAL), status (ACTIVE default, PAUSED, SCHEDULED, INACTIVE, DELETED_EXTERNALLY), budget {type DAILY|LIFETIME, amount, currency}, adSpend {amount, currency}, start / end / scheduledEnd dates and previewImageUrl. RemoteId is YOUR stable id for the activity (the ad platform's campaign id is ideal); calling again with the same remoteId UPDATES that one row, and every field you leave out is KEPT from the existing record (Shopify's own upsert would erase it; the reply lists what was kept). Read back from Shopify. Needs the store to have approved Hermoso's marketing permission: if it has not, the reply says to open Hermoso once from the Shopify admin to approve it. Works for the Shopify store connected to this brand or the store this account was installed on. Free.
| Parameter | Type | Description |
|---|---|---|
| end | string | ISO date it ended |
| utm | object | the UTM the ad links carry; Shopify matches visits on all three |
| start | string | ISO date the ad started |
| title | string | what the merchant sees in Shopify > Marketing; required on the first recording |
| budget | object | budget object: {type DAILY or LIFETIME, amount, currency} |
The marketing activities recorded in the merchant's Shopify > Marketing by Hermoso (and other apps): title, tactic, channel, status, UTM, budget, ad spend, dates and the remoteId each was recorded under. Filter by remoteId or a Shopify search query (e.g. Title:summer). Newest first; pass cursor for more. Read-only, free. Needs the store to have approved Hermoso's marketing permission. Works for the Shopify store connected to this brand or the store this account was installed on.
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1–100, default 25 |
| query | string | Shopify search syntax, e.g. title:summer or tactic:AD |
| cursor | string | pageInfo cursor from the previous reply, to fetch the next page |
| remoteId | string | return only the activity recorded under this remoteId |
{
"name": "list_shopify_marketing_activities",
"title": "List Shopify marketing activities",
"description": "The marketing activities recorded in the merchant's Shopify > Marketing by Hermoso (and other apps): title, tactic, channel, status, UTM, budget, ad spend, dates and the remoteId each was recorded under. Filter by remoteId or a Shopify search query (e.g. Title:summer). Newest first; pass cursor for more. Read-only, free. Needs the store to have approved Hermoso's marketing permission. Works for the Shopify store connected to this brand or the store this account was installed on.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "1–100, default 25"
},
"query": {
"type": "string",
"description": "Shopify search syntax, e.g. title:summer or tactic:AD"
},
"cursor": {
"type": "string",
"description": "pageInfo cursor from the previous reply, to fetch the next page"
},
"remoteId": {
"type": "string",
"description": "return only the activity recorded under this remoteId"
}
}
},
"annotations": {
"title": "List Shopify marketing activities",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Remove a marketing activity Hermoso recorded from the merchant's Shopify > Marketing, by remoteId or id. Shopify stops attributing visits and sales to it and it cannot be undone, so without confirm:true NOTHING is deleted and the reply names exactly what would go: show the user, get a yes, then call again with confirm:true. Read back afterwards. Works for the Shopify store connected to this brand or the store this account was installed on. Free.
| Parameter | Type | Description |
|---|---|---|
| id | string | gid://shopify/MarketingActivity/… |
| confirm | boolean | true to delete; without it the reply names what would be removed and deletes nothing |
| remoteId | string | remoteId of the activity to delete; use this or id |
{
"name": "delete_shopify_marketing_activity",
"title": "Delete a Shopify marketing activity",
"description": "Remove a marketing activity Hermoso recorded from the merchant's Shopify > Marketing, by remoteId or id. Shopify stops attributing visits and sales to it and it cannot be undone, so without confirm:true NOTHING is deleted and the reply names exactly what would go: show the user, get a yes, then call again with confirm:true. Read back afterwards. Works for the Shopify store connected to this brand or the store this account was installed on. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string",
"description": "gid://shopify/MarketingActivity/…"
},
"confirm": {
"type": "boolean",
"description": "true to delete; without it the reply names what would be removed and deletes nothing"
},
"remoteId": {
"type": "string",
"description": "remoteId of the activity to delete; use this or id"
}
}
},
"annotations": {
"title": "Delete a Shopify marketing activity",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}COMPETITOR INTELLIGENCE GOOGLE COMPUTES FOR FREE, for any retail brand with a Merchant Center. Ten report views, read with a SQL-like MCQL query. The three worth reaching for first: `competitive_visibility_competitor_view` (WHICH other domains appear beside this merchant, their rank, page-overlap and higher-position rates — i.e. who is actually beating them), `best_sellers_product_cluster_view` (what is SELLING on Google in a category right now, with an inventory_status saying whether this merchant even stocks it) and `price_insights_product_view` (Google's own suggested price plus the predicted click and conversion change). Also: competitive_visibility_benchmark_view, competitive_visibility_top_merchant_view, best_sellers_brand_view, price_competitiveness_product_view, product_view, product_performance_view, non_product_performance_view. MCQL IS NOT SQL: no OR, no subqueries, no GROUP BY, no aggregates, no JOIN, and ORDER BY may only name fields already in SELECT. Date filters use `WHERE date BETWEEN '2026-01-01' AND '2026-01-31'` or `WHERE date DURING LAST_30_DAYS`. Several views REQUIRE specific fields in SELECT and in WHERE — competitive visibility needs report_category_id + report_country_code + traffic_source, and top_merchant uniquely REQUIRES a date condition while FORBIDDING date in SELECT. An unknown view is refused by name with the list. NOT AVAILABLE ON MULTI-CLIENT (MCA) ACCOUNTS — pass a subaccount id. An empty result is often a normal state (price insights are only produced where Google predicts a substantial gain), and the note says which kind of empty it is. Read-only, free, no new permission.
| Parameter | Type | Description |
|---|---|---|
| query * | string | the MCQL query, e.g. "SELECT id, title, price, suggested_price, effectiveness FROM price_insights_product_view" |
| pageSize | number | rows per response, 1–100000 (default 1000). 100,000 is GOOGLE's ceiling, not ours. |
| pageToken | string |
Read the account-level issues Google reports on a Merchant Center — the answer to "why is this product not showing?". Needs merchantCenterId from list_merchant_accounts. Read-only and free.
| Parameter | Type | Description |
|---|---|---|
| merchantCenterId * | string | from list_merchant_accounts |
{
"name": "list_merchant_issues",
"title": "List Merchant Center account issues",
"description": "Read the account-level issues Google reports on a Merchant Center — the answer to \"why is this product not showing?\". Needs merchantCenterId from list_merchant_accounts. Read-only and free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId"
],
"properties": {
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "List Merchant Center account issues",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The sale and discount promotions on a Merchant Center account, with each one's PER-DESTINATION status and any issues Google has raised against it. GOOGLE VALIDATES PROMOTIONS ASYNCHRONOUSLY, so 'created' and 'running' are different states and only destinationStatuses tells them apart — never report a sale as live off a successful create. Read-only, 0 credits. Needs Google Ads connected (Merchant Center rides the same connection).
| Parameter | Type | Description |
|---|---|---|
| limit | number | up to 250, default 50 |
| merchantCenterId * | string | from list_merchant_accounts |
{
"name": "list_merchant_promotions",
"title": "List Merchant Center promotions",
"description": "The sale and discount promotions on a Merchant Center account, with each one's PER-DESTINATION status and any issues Google has raised against it. GOOGLE VALIDATES PROMOTIONS ASYNCHRONOUSLY, so 'created' and 'running' are different states and only destinationStatuses tells them apart — never report a sale as live off a successful create. Read-only, 0 credits. Needs Google Ads connected (Merchant Center rides the same connection).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId"
],
"properties": {
"limit": {
"type": "number",
"description": "up to 250, default 50"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "List Merchant Center promotions",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}PUT A SALE BADGE ON THE MERCHANT'S SHOPPING LISTINGS — the most seasonal thing a retail advertiser does. It creates the promotion and resolves (or creates) the promotion DATA SOURCE that country/language needs automatically; a promotion data source is its own kind and cannot be the product feed. IT IS NOT LIVE ON CREATE: Google validates promotions asynchronously and can take days to approve one, so report it as SUBMITTED and re-read with list_merchant_promotions. Everything Google marks Required is refused up front by name, including the pairings its own 400 does not mention — PERCENT_OFF needs percentOff, MONEY_OFF needs moneyOffAmount, GENERIC_CODE needs genericRedemptionCode — because otherwise Google accepts the promotion and disapproves it hours later where nobody is watching. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| endDate * | string | ISO date; widened to the END of that day, because Google's interval end is exclusive |
| longTitle * | string | the promotion text shoppers see, e.g. '20% off all winter coats' — describe the offer, do not name the campaign |
| offerType * | string | NO_CODE when the discount applies automatically, GENERIC_CODE when the shopper types a code |
| startDate * | string | ISO date, e.g. 2026-11-27 |
| attributes | object | any other promotion attribute Google publishes — item/brand/product-type filters, minimum purchase, store filters, display period — forwarded as given |
| percentOff | number |
GOOGLE'S OWN FIX STEPS, not just the name of the problem. list_merchant_issues stops at the symptom; this returns the remediation content Google writes for each issue, plus the ACTIONS available on it — request a review, claim the website, edit a named attribute — with the exact opaque ids trigger_merchant_issue_action needs. Pass an offerId (with feedLabel, and contentLanguage if it is not 'en') for one PRODUCT's issues, or leave it off for the ACCOUNT's. The fix text is Google's and is relayed verbatim: RELAY IT, do not paraphrase a remediation step into something that sounds simpler. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| offerId | string | for one PRODUCT's issues; omit for the account's issues |
| timeZone | string | IANA zone for times inside the content, e.g. 'America/Los_Angeles' |
| feedLabel | string | REQUIRED alongside offerId — from list_merchant_products. A product is addressed by contentLanguage + feedLabel + offerId |
| languageCode | string | BCP-47 language for the fix text, e.g. 'en-US' |
| contentLanguage | string | with offerId; defaults to 'en' |
| merchantCenterId * | string | from list_merchant_accounts |
FIRE one of the actions merchant_issue_help returned — most usefully 'request a review' on a disapproval. SEVERAL OF THESE ARE ONE-SHOT and Google says so in its own dialog callout ('You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait'), so read that callout back to the user before confirming: a review spent on the wrong issue cannot be spent again. WITHOUT `confirm` IT FIRES NOTHING. `actionContext` is OPAQUE by Google's own instruction — pass it back exactly as merchant_issue_help gave it; it cannot be constructed or edited. The answer is Google's own message to the business, relayed verbatim, because this endpoint returns no resource to read back. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | must be true to actually fire it |
| inputValues | array | values for the flow's input fields, shaped as Google described them: {inputFieldId, textInputValue|choiceInputValue|checkboxInputValue} |
| actionFlowId * | string | the id of the flow you picked from that action's flows — each asks for different inputs |
| languageCode | string | BCP-47 language for the response message |
| actionContext * | string | the opaque token from merchant_issue_help, on the action you are firing |
| merchantCenterId * | string | from list_merchant_accounts |
The per-store and per-region price and availability overrides on one Shopping product. An override REPLACES the product's own price and availability for that store or region; where there is no override the product-level values apply, so an empty result is the normal answer and does NOT mean the product is missing. Needs the product's offerId plus its contentLanguage and feedLabel, because in the Merchant API those three together ARE the product's address rather than optional filters. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| kind | string | omit to read both |
| offerId * | string | the product's own id in the feed, from list_merchant_products |
| feedLabel * | string | usually the feed target country, e.g. "US". Part of the product's address, not a filter |
| contentLanguage * | string | two-letter feed language, e.g. "en". Part of the product's address, not a filter |
| merchantCenterId * | string | from list_merchant_accounts |
{
"name": "list_merchant_inventory",
"title": "Merchant store and region overrides",
"description": "The per-store and per-region price and availability overrides on one Shopping product. An override REPLACES the product's own price and availability for that store or region; where there is no override the product-level values apply, so an empty result is the normal answer and does NOT mean the product is missing. Needs the product's offerId plus its contentLanguage and feedLabel, because in the Merchant API those three together ARE the product's address rather than optional filters. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"offerId",
"contentLanguage",
"feedLabel"
],
"properties": {
"kind": {
"enum": [
"local",
"regional"
],
"type": "string",
"description": "omit to read both"
},
"offerId": {
"type": "string",
"description": "the product's own id in the feed, from list_merchant_products"
},
"feedLabel": {
"type": "string",
"description": "usually the feed target country, e.g. \"US\". Part of the product's address, not a filter"
},
"contentLanguage": {
"type": "string",
"description": "two-letter feed language, e.g. \"en\". Part of the product's address, not a filter"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "Merchant store and region overrides",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}SET the price, availability or stock level of one Shopping product at ONE physical store (kind:"local", keyed by storeCode) or in ONE region (kind:"regional", keyed by region). This is what stops a Shopping ad advertising something the nearest store has sold out of. Google's insert REPLACES the whole entry, so this tool reads what is already stored, merges your fields over it, and reports which stored fields it preserved; pass an explicit null to CLEAR one. The API publishes no enum for availability, so it accepts anything and only Google's local inventory data specification says which values actually serve: In stock, Limited availability, On display to order, Out of stock, submitted in English. An unrecognised value is warned about here rather than refused, because refusing would mean inventing an enum Google does not publish. Google states it can take up to 30 minutes before the product itself reflects the change, so a product read straight afterwards can still show the old value and be correct. Free.
| Parameter | Type | Description |
|---|---|---|
| kind * | string | local = one physical store (storeCode), regional = one Google region (region) |
| price | ["string","null"] | "12.99 USD". A bare number is refused because a price with no currency is not a price. null clears it |
| region | string | required for kind:'regional' — the Merchant Center region id. Immutable |
| offerId * | string | the product's own id in the feed |
| quantity | ["number","null"] | local only. null clears it |
| feedLabel |
WHY THE MERCHANT CENTER ACCOUNT IS OR IS NOT SERVING, in one read. Do not trust the program state on its own: an account can report Shopping ads and free listings as ENABLED and serve in ZERO countries, because Google counts a region as active only where every requirement for that program is met. This reports the active regions, the unmet requirements Google names with its own help link for each, and then the eight account settings that explain them — whether the homepage is CLAIMED (unclaimed stops the whole account serving), whether business info has an address, a verified phone and a customer service contact, whether any active shipping service covers the countries you sell to, the return policies, whether the Merchant Center terms have been accepted, plus autofeed and automatic improvements. An account with no shipping settings at all is reported as not configured, which is an account state and not a failed read. Anything that genuinely could not be read comes back null with a warning, which means unknown rather than missing. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| merchantCenterId * | string | from list_merchant_accounts |
{
"name": "merchant_account_status",
"title": "Merchant Center serving status",
"description": "WHY THE MERCHANT CENTER ACCOUNT IS OR IS NOT SERVING, in one read. Do not trust the program state on its own: an account can report Shopping ads and free listings as ENABLED and serve in ZERO countries, because Google counts a region as active only where every requirement for that program is met. This reports the active regions, the unmet requirements Google names with its own help link for each, and then the eight account settings that explain them — whether the homepage is CLAIMED (unclaimed stops the whole account serving), whether business info has an address, a verified phone and a customer service contact, whether any active shipping service covers the countries you sell to, the return policies, whether the Merchant Center terms have been accepted, plus autofeed and automatic improvements. An account with no shipping settings at all is reported as not configured, which is an account state and not a failed read. Anything that genuinely could not be read comes back null with a warning, which means unknown rather than missing. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId"
],
"properties": {
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "Merchant Center serving status",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}FIX THE MERCHANT CENTER SETTINGS that stop an account serving (merchant_account_status names them). Pick section + action. shipping: get · upsert (add or update services by name; services you do not mention are KEPT) · remove (serviceNames) · replace (exactly this list). A service is {name, countries, currency, rate, freeOver?, handlingDays:[min,max], transitDays:[min,max], active?} or Google's own Service shape; delivery days are required, never guessed. returns: list · create (policy {countries, returnPolicyUri, days or policyType, itemConditions, returnMethods, processRefundDays, returnLabelSource, label?}) · delete (returnPolicyId). Google has no edit for a return policy. business_info: get · update (address, customerService {uri,email,phone}, koreanBusinessRegistrationNumber; merged field by field, null clears). homepage: get · claim (re-checks verification; overwrite:true takes it from another account) · unclaim · set_uri (removes the claim). programs: list · enable · disable (program e.g. free-listings, shopping-ads). Overwriting or removing a shipping service, replacing existing business info, deleting a return policy, unclaiming, changing a claimed homepage, overwrite:true and disabling an enabled program each answer with what would change and need confirm:true. Every write is read back from Google. Free.
| Parameter | Type | Description |
|---|---|---|
| uri | string | homepage set_uri |
| action | string | defaults to the section's read (get/list) |
| policy | object | returns create |
| address | object | business_info: regionCode, street or addressLines, locality, administrativeArea, postalCode |
| confirm | boolean | true ONLY after the user approved the change the first call described |
Merchant Center API quota and account limits, which is the difference between "the API refused" and "you are out of daily quota". Two different things in one answer: quota groups are how many API CALLS each method group has left today, and account limits are how many PRODUCTS the account may hold per destination. Google resets the daily quota at 12:00 PM MIDDAY UTC, not at midnight. If one half of the read fails it comes back null with a warning, which means unknown rather than zero. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| merchantCenterId * | string | from list_merchant_accounts |
{
"name": "merchant_quota",
"title": "Merchant Center quota and limits",
"description": "Merchant Center API quota and account limits, which is the difference between \"the API refused\" and \"you are out of daily quota\". Two different things in one answer: quota groups are how many API CALLS each method group has left today, and account limits are how many PRODUCTS the account may hold per destination. Google resets the daily quota at 12:00 PM MIDDAY UTC, not at midnight. If one half of the read fails it comes back null with a warning, which means unknown rather than zero. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId"
],
"properties": {
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "Merchant Center quota and limits",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}PUSH INSTEAD OF POLLING for Merchant Center product status. Google POSTs to a URL the moment a product's status changes — a disapproval is otherwise found whenever someone happens to run list_merchant_issues, which for a feed of thousands means money burning unnoticed. action:'list' shows the subscriptions, 'create' adds one, 'delete' removes one. BE HONEST ABOUT WHERE IT GOES: callBackUri must be an HTTPS endpoint THE MERCHANT runs and can decode — Hermoso does not receive these notifications, so this only helps someone with a server on the other end. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| action | string | defaults to 'list' |
| callBackUri | string | HTTPS endpoint Google will POST to (create). Not a Hermoso URL and not localhost |
| targetAccount | string | accounts/{id} to receive notifications for; defaults to this account |
| subscriptionId | string | for action:'delete', from action:'list' |
| registeredEvent | string | defaults to PRODUCT_STATUS_CHANGE, the one that fires on a disapproval |
| merchantCenterId * | string | from list_merchant_accounts |
| allManagedAccounts | boolean | subscribe for every managed account instead of just this one — mutually exclusive with targetAccount |
WHERE MERCHANT CENTER GETS ITS CONVERSION DATA FROM, which is what free-listing and Shopping performance reporting is built on — a merchant with no conversion source sees clicks and no outcomes, and nothing in Merchant Center says why. Two kinds, and they are different jobs: a MERCHANT CENTER DESTINATION is a Google tag target, and creating one returns a destination id (MC-…) that is the only place that id exists, so it must be read back to the user because it is what the Google tag has to send conversions to. A GOOGLE ANALYTICS LINK pulls conversions from a GA4 property instead, needs the connected Google account to be an ADMIN on that property, and Google marks it IMMUTABLE — the property cannot be changed afterwards, only deleted and re-created. action:'list' shows every source including archived ones, 'create' adds one, 'update' changes a destination's name, currency or attribution, 'delete' ARCHIVES one (confirm-gated) and 'undelete' restores it until the expiry Google reports on the archived row. Attribution lookback is 7, 30 or 40 days and nothing else. Free.
| Parameter | Type | Description |
|---|---|---|
| kind | string | for action:'create' — which kind to make. Passing propertyId implies the Google Analytics one |
| action | string | defaults to 'list' |
| confirm | boolean | must be true to actually archive |
| propertyId | string | NUMERIC GA4 property id for a Google Analytics link (from list_analytics_properties), not a G- measurement id |
| displayName | string | the name that identifies a tag destination in the Merchant Center UI, e.g. "Website purchases". Required to create one; may also name an existing source for update/delete |
List the data sources (feeds) on a Merchant Center account and say which of them can actually take a product write. Do this BEFORE creating or deleting a product: writes go into a data source, and Google only accepts them into an API-input product feed — a file feed, the feed Merchant Center's own UI creates, and an autofeed all list here and all REFUSE writes, so picking the first row would pick a feed that cannot be written to. Needs merchantCenterId from list_merchant_accounts. Read-only and free.
| Parameter | Type | Description |
|---|---|---|
| merchantCenterId * | string | from list_merchant_accounts |
{
"name": "list_merchant_data_sources",
"title": "List Merchant Center product feeds",
"description": "List the data sources (feeds) on a Merchant Center account and say which of them can actually take a product write. Do this BEFORE creating or deleting a product: writes go into a data source, and Google only accepts them into an API-input product feed — a file feed, the feed Merchant Center's own UI creates, and an autofeed all list here and all REFUSE writes, so picking the first row would pick a feed that cannot be written to. Needs merchantCenterId from list_merchant_accounts. Read-only and free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId"
],
"properties": {
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "List Merchant Center product feeds",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create an API product feed on a Merchant Center account — the container upsert_merchant_product writes into. Most accounts have none until one is made: a store set up through the Merchant Center UI has a UI feed, which is read-only. feedLabel and contentLanguage must be set TOGETHER or not at all and BOTH ARE IMMUTABLE — leave them off and the feed accepts products for any market and language, which is the safer default because a wrong feed label can never be corrected. Omit destinations to inherit wherever the account already sells. Creating a feed costs nothing and cannot spend.
| Parameter | Type | Description |
|---|---|---|
| countries | array | CLDR territory codes the items may be shown in |
| feedLabel | string | market bucket, e.g. "US" — max 20 chars, A-Z/0-9/dashes. IMMUTABLE, and must be set together with contentLanguage |
| displayName * | string | the name the merchant will see in Merchant Center |
| destinations | array | omit to inherit the account's own program participation (SHOPPING_ADS, FREE_LISTINGS, …) |
| contentLanguage | string | two-letter ISO 639-1, e.g. "en". IMMUTABLE, and must be set together with feedLabel |
| merchantCenterId * | string | from list_merchant_accounts |
Create or replace a product in a Merchant Center feed — this is how a merchant's catalogue gets populated, and it is what Shopping ads, free listings and retail Performance Max actually serve. It is an UPSERT and a WHOLE-ROW write: calling it again for the same offerId REPLACES the product rather than patching it, so send every field you want kept each time. You do not have to find a feed first — omit dataSource and it resolves the account's one writable feed, creates one if there is none, and REFUSES by name if there are several rather than putting the product in a market the campaigns may not target. offerId, contentLanguage and feedLabel together ARE the product's identity and are all immutable; contentLanguage and feedLabel are taken from the feed when the feed declares them. For the product to serve at all Google needs title, description, link, imageLink, availability and price — a row missing any of them is stored and then disapproved, and the reply says so rather than letting you believe it published. The reply reports what GOOGLE STORED, not what was sent. Free: a feed edit cannot spend.
| Parameter | Type | Description |
|---|---|---|
| mpn | string | manufacturer part number |
| gtin | string | GTIN barcode (UPC, EAN or similar) |
| link | string | the product page URL on the merchant's store |
| size | string | product size |
| brand | string | brand name |
| color | string | product colour |
| price |
Delete a product from a Merchant Center feed. CONFIRM-GATED: without confirm:true nothing is deleted and it reports the real product it WOULD delete — title, price and availability read back from Google — because the id you were given proves nothing about what is actually there. It is recoverable: re-inserting the same offerId re-creates the product. Needs the same offerId + contentLanguage + feedLabel that identify the product (contentLanguage and feedLabel come from the feed when it declares them). Free.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | must be true to actually delete; without it nothing is deleted and the real product is reported back |
| offerId * | string | your offer id of the product to delete |
| feedLabel | string | market label of the product, e.g. US; taken from the feed when it declares one |
| dataSource | string | the feed it lives in, from list_merchant_data_sources |
| contentLanguage | string | two-letter language code of the product; taken from the feed when it declares one |
| merchantCenterId * | string | from list_merchant_accounts |
Change SOME fields on a product already in a Merchant Center feed — the everyday operation, because price and availability move daily. This is a PATCH: only the attributes you name are touched and everything else on the product survives, which is the difference from upsert_merchant_product (a whole-row write that wipes anything you leave out). It refuses if the product does not exist rather than quietly creating a half-populated one, and it refuses an empty change rather than sending an update mask with nothing behind it. The reply reports every field Google now holds, so you can see what survived. Free.
| Parameter | Type | Description |
|---|---|---|
| mpn | string | manufacturer part number |
| gtin | string | GTIN barcode (UPC, EAN or similar) |
| link | string | product page URL on the merchant's store |
| size | string | product size |
| brand | string | brand name |
| color | string | product colour |
| price | object | new price: {value in major units or amountMicros, currencyCode} |
| title | string | new product title; omit to leave unchanged |
| gender | string |
Delete a data source (feed) from a Merchant Center account. CONFIRM-GATED and the heavier of the two deletes: without confirm:true nothing is deleted and it reports the feed plus HOW MANY PRODUCTS would be destroyed with it, counted live from Google. This is NOT recoverable the way a product delete is — the products would have to be re-inserted into a new feed, and feedLabel/contentLanguage are immutable so a replacement may not be identical. Free.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | must be true to actually delete; without it nothing is deleted and the product count that would go with it is reported |
| dataSource * | string | the feed to delete, from list_merchant_data_sources |
| merchantCenterId * | string | from list_merchant_accounts |
{
"name": "delete_merchant_data_source",
"title": "Delete a Merchant Center product feed",
"description": "Delete a data source (feed) from a Merchant Center account. CONFIRM-GATED and the heavier of the two deletes: without confirm:true nothing is deleted and it reports the feed plus HOW MANY PRODUCTS would be destroyed with it, counted live from Google. This is NOT recoverable the way a product delete is — the products would have to be re-inserted into a new feed, and feedLabel/contentLanguage are immutable so a replacement may not be identical. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"dataSource"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "must be true to actually delete; without it nothing is deleted and the product count that would go with it is reported"
},
"dataSource": {
"type": "string",
"description": "the feed to delete, from list_merchant_data_sources"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "Delete a Merchant Center product feed",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Read the connected Google Ads account(s). Call with NO customerId to list the accessible accounts (customerId + name + currency) — do this first to pick a target. Call WITH customerId to list that account’s campaigns (id, name, status, daily budget, channel) plus performance metrics (impressions, clicks, CTR, avg CPC, cost, conversions). Date window: datePreset (LAST_7_DAYS | LAST_30_DAYS | TODAY | THIS_MONTH | LAST_90_DAYS …) or since+until (YYYY-MM-DD). Read-only, free. Needs Google Ads connected (Connectors > Google Ads).
| Parameter | Type | Description |
|---|---|---|
| limit | number | max campaigns (1–500, default 100) |
| since | string | start date YYYY-MM-DD (with until) |
| until | string | end date YYYY-MM-DD |
| status | string | filter campaigns by status |
| metrics | boolean | include performance metrics (default true) |
| customerId | string | 10-digit account id (dashes ok) — omit to list accessible accounts |
| datePreset | string | metrics window preset (default LAST_30_DAYS) |
| loginCustomerId | string | manager (MCC) id — only if reaching a client account through a manager |
Use this when the user asks how their Google Ads campaigns performed. Run a GAQL (Google Ads Query Language) report for detailed performance breakdowns — ad groups, ads, keywords, search terms, demographics, geo. Pass customerId + a GAQL query (SELECT … FROM <resource> WHERE segments.date DURING LAST_30_DAYS). Allowed FROM resources: campaign, ad_group, ad_group_ad, keyword_view, campaign_budget, campaign_criterion, ad_group_criterion, conversion_action, campaign_conversion_goal, search_term_view, age_range_view, gender_view, geographic_view, asset, change_event and every other documented GAQL report resource (the refusal names the full list if one is missing). Campaign network settings (Search partners / Display) are readable here as campaign.network_settings.* and changed with set_google_ads_networks. cost_micros is micros — divide by 1,000,000 for the account currency. Reach (metrics.unique_users, unique_users_two_plus…ten_plus, cross_device_conversions) reads FROM campaign or customer and is never summed across rows; the reply notes its window limits. Lead form submissions: list_google_ads_lead_submissions. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| query * | string | GAQL, e.g. "SELECT ad_group.name, metrics.clicks, metrics.cost_micros FROM ad_group WHERE segments.date DURING LAST_7_DAYS" |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "google_ads_report",
"title": "Google Ads GAQL report",
"description": "Use this when the user asks how their Google Ads campaigns performed. Run a GAQL (Google Ads Query Language) report for detailed performance breakdowns — ad groups, ads, keywords, search terms, demographics, geo. Pass customerId + a GAQL query (SELECT … FROM <resource> WHERE segments.date DURING LAST_30_DAYS). Allowed FROM resources: campaign, ad_group, ad_group_ad, keyword_view, campaign_budget, campaign_criterion, ad_group_criterion, conversion_action, campaign_conversion_goal, search_term_view, age_range_view, gender_view, geographic_view, asset, change_event and every other documented GAQL report resource (the refusal names the full list if one is missing). Campaign network settings (Search partners / Display) are readable here as campaign.network_settings.* and changed with set_google_ads_networks. cost_micros is micros — divide by 1,000,000 for the account currency. Reach (metrics.unique_users, unique_users_two_plus…ten_plus, cross_device_conversions) reads FROM campaign or customer and is never summed across rows; the reply notes its window limits. Lead form submissions: list_google_ads_lead_submissions. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "GAQL, e.g. \"SELECT ad_group.name, metrics.clicks, metrics.cost_micros FROM ad_group WHERE segments.date DURING LAST_7_DAYS\""
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Google Ads GAQL report",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}WHAT CHANGED ON THE ACCOUNT, AND WHEN — the answer to "performance fell off a cliff on Tuesday, what happened?". source:"change_event" (default) is FIELD-LEVEL over the last 30 days: the change time, who made it, from which client (web UI, API, scripts, bulk upload, automated rule), whether it was a CREATE / UPDATE / REMOVE, and exactly which fields moved — with detail:true it also carries the old and new resource snapshots. source:"change_status" reaches 90 days and is the ONLY one that catches GOOGLE ADS EDITOR and criterion-level edits: Google documents change_event as NEVER returning Editor changes, so an Editor-managed account looks completely untouched there. CHECK BOTH BEFORE TELLING ANYONE NOTHING CHANGED. An unknown source is refused by name; the 30/90-day windows and Google’s own 10,000-row cap are enforced here with the reason instead of surfacing as an unreadable Google error, and a change takes up to three minutes to appear. Neither resource carries any metric or segment, so this says what changed, never what it cost. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| limit | number | rows, max 10000 — Google’s own ceiling, and the clamp is reported |
| since | string | YYYY-MM-DD, default 14 days ago |
| until | string | YYYY-MM-DD, default today |
| detail | boolean | change_event only — include the old/new resource snapshots |
| source | string | default change_event (30 days, field-level). change_status is 90 days and is the only one that sees Google Ads Editor. |
| customerId | string |
Build a campaign on a connected Google Ads account. ALWAYS created PAUSED — it spends NOTHING until you enable it with set_google_ads_status(confirm:true). Google's object graph is campaign -> ad group -> ad, so a campaign ON ITS OWN CANNOT SERVE AN IMPRESSION: pass adGroup{name, ad{headlines,descriptions,finalUrls}, keywords[]} and this builds budget + campaign + location/language targeting + ad group + ad + keywords in ONE ATOMIC operation (if any part is rejected, nothing at all is created — no half-built campaign to clean up). Also here: bidding strategy, locations by NAME ("United States", "Toronto" — resolved for you), languages, and start/end dates. Google requires 3–15 headlines (≤30 chars) and 2–4 descriptions (≤90 chars) on a search ad. Everything is READ BACK from Google before you are told it exists; print the returned note verbatim, and if it says the campaign cannot serve yet, say that rather than calling it a finished ad.
| Parameter | Type | Description |
|---|---|---|
| name * | string | campaign name |
| dryRun | boolean | validate the WHOLE tree against Google without creating anything. Nothing is written and no budget is consumed |
| adGroup | object | build the serving tree in the same atomic call — WITHOUT this you get a campaign shell that can never show an ad |
| bidding | object | how the campaign bids — default MANUAL_CPC |
| endDate | string | YYYY-MM-DD |
| languages | array | ISO language codes, e.g. ["en","fr"] |
Add an ad group to an EXISTING Google Ads campaign — the level between a campaign and its ads. Google requires it: a campaign with no ad group cannot serve. Optionally build its ad and keywords in the same ATOMIC call. The ad-group type is taken from the campaign's channel automatically. Created PAUSED and read back from Google before you are told it exists. If the parent campaign is already LIVE (ENABLED), creating this ENABLED starts REAL AD SPEND immediately — show the user what would begin serving, get an explicit yes, then pass confirm:true. Leaving it PAUSED never needs confirmation.
| Parameter | Type | Description |
|---|---|---|
| ad | object | build the ad in the same atomic call |
| name * | string | ad group name |
| dryRun | boolean | true = validate with Google and create nothing |
| status | string | default PAUSED |
| confirm | boolean | set true ONLY after the user explicitly approved starting spend — required when the parent campaign is already LIVE (ENABLED) and this object would serve immediately |
| keywords | array | a SEARCH ad group with no keywords never shows |
| cpcBidUsd | number | max CPC for this ad group — omit to inherit the campaign bidding |
| campaignId * |
Create the actual AD inside a Google Ads ad group — this is the object that carries the creative; a campaign or ad group alone shows nothing. On a SEARCH campaign it builds a RESPONSIVE SEARCH AD: 3–15 headlines (≤30 chars), 2–4 descriptions (≤90 chars), at least one finalUrl, optional path1/path2. On a DISPLAY campaign it builds a RESPONSIVE DISPLAY AD: headlines, longHeadline, descriptions, businessName plus BOTH a landscape (1.91:1) and a square (1:1) image asset from upload_google_ads_asset. The right format is chosen from the campaign's channel. Created PAUSED and read back from Google. If the parent campaign is already LIVE (ENABLED), creating this ENABLED starts REAL AD SPEND immediately — show the user what would begin serving, get an explicit yes, then pass confirm:true. Leaving it PAUSED never needs confirmation.
| Parameter | Type | Description |
|---|---|---|
| path1 | string | SEARCH only — display-URL path segment, ≤15 chars |
| path2 | string | SEARCH only — second display-URL path segment, ≤15 chars |
| dryRun | boolean | true = validate with Google and create nothing |
| status | string | default PAUSED |
| confirm | boolean | set true ONLY after the user explicitly approved starting spend — required when the parent campaign is already LIVE (ENABLED) and this object would serve immediately |
| adGroupId * | string | the ad group this ad lives in |
| finalUrls | array |
Add keywords — and NEGATIVE keywords — to a Google Ads ad group. A Search ad group with no keywords never shows. Each keyword takes text (≤80 chars, ≤10 words) and matchType EXACT | PHRASE | BROAD (default PHRASE). Set negative:true to BLOCK a term instead of targeting it, which is the cheapest way to stop wasted spend. Read back from Google before you are told they exist. If the parent campaign and ad group are already LIVE, a positive keyword starts bidding real money at once — get an explicit yes and pass confirm:true, or add it with paused:true. Negative keywords only restrict spend and never need confirmation.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | true = validate with Google and create nothing |
| confirm | boolean | set true ONLY after the user explicitly approved starting spend — required when the parent campaign is already LIVE (ENABLED) and this object would serve immediately |
| keywords * | array | the keywords to add |
| adGroupId * | string | the ad group to add them to |
| customerId | string | omit to use the brand’s selected default account |
| loginCustomerId | string | manager (MCC) account id when acting through a manager account; omit otherwise |
ADD locations and languages to an existing Google Ads campaign. THIS ADDS; IT DOES NOT REPLACE — Google campaign criteria are a list, this call only ever creates entries, and there is no remove operation here. So a campaign already targeting the United States that you "change to Canada" ends up targeting BOTH and still spending in the US; the read-back names every pre-existing location and language it kept, and you MUST relay that rather than reporting the new total as the answer. Removing targeting is done in Google Ads (Campaign > Settings > Locations). Pass locations by NAME ("United States", "California", "Toronto") — they are resolved to Google's geo target ids for you; excludedLocations adds a NEGATIVE criterion (the reliable way to stop serving somewhere from here); languages takes ISO codes ("en","fr"). A campaign with NO location targeting runs WORLDWIDE, which is the most expensive default in Google Ads. Changing a LIVE campaign's targeting moves real spend immediately, so that needs confirm:true.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | true = validate with Google and change nothing |
| confirm | boolean | REQUIRED true to change a LIVE (ENABLED) campaign |
| languages | array | ISO language codes, e.g. ["en","es"] |
| locations | array | location NAMES to target |
| campaignId * | string | the campaign to target |
| customerId | string | omit to use the brand’s selected default account |
Change how an existing Google Ads campaign bids: MANUAL_CPC (optionally enhanced), MAXIMIZE_CLICKS (needs maxCpcUsd on an existing campaign — Google requires the CPC ceiling on that change), MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, TARGET_CPA (needs targetCpaUsd) or TARGET_ROAS (needs targetRoas, e.g. 4 = $4 revenue per $1 spent). TARGET_CPA and TARGET_ROAS are applied as Google's own v25 equivalents — maximize-conversions with a target CPA, and maximize-conversion-value with a target ROAS — so the read-back reports them as MAXIMIZE_CONVERSIONS / MAXIMIZE_CONVERSION_VALUE; report what the read-back says. The conversion-based strategies only deliver once conversion tracking is configured on the account. Changing a LIVE campaign's bidding changes what it pays immediately, so that needs confirm:true.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | true = validate with Google and change nothing |
| confirm | boolean | REQUIRED true to change a LIVE (ENABLED) campaign |
| strategy * | string | the bidding strategy |
| maxCpcUsd | number | MAXIMIZE_CLICKS — the max CPC ceiling; REQUIRED when switching an existing campaign to it |
| campaignId * | string | the campaign to change |
| customerId | string | omit to use the brand’s selected default account |
| targetRoas | number |
Look up Google Ads location targets by name — turns "Toronto" / "California" / "United Kingdom" into the geo target ids Google needs, with each one's type (COUNTRY, STATE, CITY, POSTAL_CODE…) and reach. Use it when a location name is ambiguous, or to show the user exactly which place you are about to target. Read-only and free.
| Parameter | Type | Description |
|---|---|---|
| query * | string | one location name, or several comma-separated (up to 25) |
| countryCode | string | 2-letter hint, e.g. CA to disambiguate "London" |
| loginCustomerId | string | manager (MCC) account id when acting through a manager account; omit otherwise |
{
"name": "find_google_ads_locations",
"title": "Look up Google Ads locations",
"description": "Look up Google Ads location targets by name — turns \"Toronto\" / \"California\" / \"United Kingdom\" into the geo target ids Google needs, with each one's type (COUNTRY, STATE, CITY, POSTAL_CODE…) and reach. Use it when a location name is ambiguous, or to show the user exactly which place you are about to target. Read-only and free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "one location name, or several comma-separated (up to 25)"
},
"countryCode": {
"type": "string",
"description": "2-letter hint, e.g. CA to disambiguate \"London\""
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id when acting through a manager account; omit otherwise"
}
}
},
"annotations": {
"title": "Look up Google Ads locations",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create a new daily budget, or change an existing budget’s daily amount (pass budgetResourceName). Raising the budget on a LIVE (ENABLED) campaign increases real spend immediately — you MUST show the user the new daily amount, get an explicit yes, then call with confirm:true. Creating a budget or lowering one on a paused campaign is safe.
| Parameter | Type | Description |
|---|---|---|
| name | string | name for a newly created budget |
| confirm | boolean | REQUIRED true to raise the budget of a LIVE campaign |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| dailyBudgetUsd * | number | daily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000) |
| loginCustomerId | string | manager id if operating through an MCC |
| budgetResourceName | string | existing budget to UPDATE — omit to CREATE a new budget |
{
"name": "set_google_ads_budget",
"title": "Set a Google Ads campaign budget",
"description": "Create a new daily budget, or change an existing budget’s daily amount (pass budgetResourceName). Raising the budget on a LIVE (ENABLED) campaign increases real spend immediately — you MUST show the user the new daily amount, get an explicit yes, then call with confirm:true. Creating a budget or lowering one on a paused campaign is safe.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"dailyBudgetUsd"
],
"properties": {
"name": {
"type": "string",
"description": "name for a newly created budget"
},
"confirm": {
"type": "boolean",
"description": "REQUIRED true to raise the budget of a LIVE campaign"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"dailyBudgetUsd": {
"type": "number",
"description": "daily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000)"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"budgetResourceName": {
"type": "string",
"description": "existing budget to UPDATE — omit to CREATE a new budget"
}
}
},
"annotations": {
"title": "Set a Google Ads campaign budget",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Turn a campaign, AD GROUP, AD or one KEYWORD ON (ENABLED), OFF (PAUSED) or REMOVED. Pass level:"campaign" + campaignId, level:"adGroup" + adGroupId, level:"ad" + BOTH adGroupId and adId (Google keys an ad by adGroupId~adId), or level:"keyword" + BOTH adGroupId and keywordId. ENABLING STARTS REAL AD SPEND — you MUST first show the user the campaign name + its daily budget, get an explicit yes, then call with status:"ENABLED" and confirm:true. Pausing is always safe. REMOVED is PERMANENT in Google Ads and is handled by the same gate as delete_google_ads_object — call it once WITHOUT confirm to see what goes with it, and expect to echo back the object’s name and child count when it has children, is live, or has spent. The resulting status is READ BACK from Google before you are told it took.
| Parameter | Type | Description |
|---|---|---|
| adId | string | ad id (level:"ad" — pass adGroupId too) |
| level | string | what to change — default campaign |
| status * | string | ENABLED = start spending; PAUSED = stop; REMOVED = permanent |
| confirm | boolean | REQUIRED true to ENABLE (real spend) or to REMOVE (permanent) |
| adGroupId | string | ad group id (level:"adGroup", or with adId for level:"ad") |
| keywordId | string | keyword criterion id (level:"keyword", with adGroupId) |
| campaignId | string |
Google Ads WATERFALL AND NETWORK CAPS: which network a budget spends on first and how much the others may take. action 'read' (default), 'set' (settings) or 'clear', on the ACCOUNT DEFAULT or, with budgetId, on one campaign budget, which then wins. Every channel a campaign type supports must be in a tier and caps only go on tier2; Google says which if not. A budget's read says whether it can use these and why not. 'set' and 'clear' move real spend on the next auction: show the user, get a yes, then confirm:true; dryRun:true validates without changing anything.
| Parameter | Type | Description |
|---|---|---|
| action | string | default 'read' |
| dryRun | boolean | validate with Google, write nothing |
| confirm | boolean | REQUIRED true for set and clear, after the user approved |
| budgetId | string | numeric campaign budget id; omit for the account default |
| settings | array | for set: one entry per campaign type |
| customerId | string | 10-digit account id (dashes ok); omit to use the brand’s selected default account |
| loginCustomerId | string | manager id if operating through an MCC |
Ask Google whether a Business Profile listing can run LOCAL SERVICES ads on this Google Ads account: eligible or not, why not, and which lead types and categories it qualifies for. Read-only.
| Parameter | Type | Description |
|---|---|---|
| listingId * | string | numeric Business Profile location id |
| customerId | string | 10-digit account id (dashes ok); omit to use the brand’s selected default account |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "google_ads_local_services_eligibility",
"title": "Check Google Local Services eligibility",
"description": "Ask Google whether a Business Profile listing can run LOCAL SERVICES ads on this Google Ads account: eligible or not, why not, and which lead types and categories it qualifies for. Read-only.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"listingId"
],
"properties": {
"listingId": {
"type": "string",
"description": "numeric Business Profile location id"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok); omit to use the brand’s selected default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Check Google Local Services eligibility",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Change WHERE an existing Google Ads campaign serves: Google Search, Search partners (target_search_network) and the Display Network (target_content_network), each true/false. The classic use is turning Search partners OFF on a Search campaign, or Display off. Current settings are read first and a no-op says so. On a LIVE (ENABLED) campaign this moves real spend on the next auction — show the user the before -> after, get an explicit yes, then call again with confirm:true. dryRun:true validates with Google and writes nothing. The result is READ BACK from Google before you are told it took; Google’s own rules (a Display campaign cannot take Google Search on, a Search campaign keeps Google Search on) are relayed by name.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | validate with Google, write nothing |
| confirm | boolean | REQUIRED true to change a LIVE (ENABLED) campaign |
| display | boolean | serve on the Google Display Network (target_content_network) |
| campaignId * | string | the campaign to change |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| googleSearch | boolean | serve on Google Search (target_google_search) |
| searchPartners | boolean |
WHEN a Google Ads campaign runs and how much more or less it bids by device, location and hour. Pass only campaignId to read the current schedule and adjustments. schedule:[{day: MONDAY…SUNDAY | WEEKDAYS | WEEKENDS | EVERYDAY, start:"09:00", end:"17:00", bidModifier?}] REPLACES the schedule (scheduleMode:"add" appends; clearSchedule:true runs it all day again); account time zone, quarter hours, end may be 24:00. devices {mobile, desktop, tablet, connectedTv} and adGroupDevices (with adGroupId) take MULTIPLIERS: 1.2 = +20%, 0.8 = -20%, 0 = never show on that device. locations:[{geoTargetId, bidModifier}] adjusts locations the campaign already targets. On a LIVE campaign a change that can raise spend (more hours, a higher multiplier) needs confirm:true after the user approves; lowering never does. dryRun:true validates only. Read back from Google.
| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | validate with Google, change nothing |
| confirm | boolean | true only after the user approved a change to a LIVE campaign or a delete |
| devices | object | campaign-level device multipliers |
| schedule | array | ad schedule slots; replaces the current schedule unless scheduleMode is add |
| adGroupId | string | for adGroupDevices |
| locations | array | bid adjustments for locations the campaign already targets |
| campaignId * |
Shared NEGATIVE KEYWORD LISTS: one list of blocked searches reused across Google Ads campaigns, or applied to the whole account. action: list (with sharedSetId shows its keywords) | create (name, keywords, campaignIds or accountLevel:true) | add (keywords) | remove_keywords (keywords or criterionIds) | attach / detach (campaignIds) | delete. keywords are "text" or {text, matchType: BROAD|PHRASE|EXACT}. Creating, adding and attaching only block ads, so they never need confirm. Removing keywords, detaching or deleting lets blocked searches show ads again: confirm:true on a live campaign, and always for delete. One ad group's own negatives: add_google_ads_keywords with negative:true.
| Parameter | Type | Description |
|---|---|---|
| name | string | create |
| action | string | default list |
| dryRun | boolean | validate with Google, change nothing |
| confirm | boolean | true only after the user approved a change to a LIVE campaign or a delete |
| keywords | array | keywords to block, as text strings or {text, matchType BROAD, PHRASE or EXACT} objects |
| customerId | string | omit to use the selected default account |
| campaignIds | array | campaign ids to attach to or detach from the shared list |
| sharedSetId | string |
Performance Max ASSET GROUPS after launch. action: list (campaignId) | create (campaignId, name, finalUrls, assets; a non-retail group needs Google's minimum set in the same call: 3+ headlines, 1+ longHeadlines, 2+ descriptions, businessName + logos unless brand guidelines are on, 1+ marketingImages and squareMarketingImages as asset resource names from upload_google_ads_asset; born PAUSED) | update (assetGroupId; name, finalUrls, path1, path2) | pause | enable | remove (permanent: confirm:true + confirmName; never the last group) | link (assets to add) | unlink (unlink:[{asset, fieldType}], never below the minimum) | listing_groups (which feed products a RETAIL group advertises) | set_listing_groups (all:true, or dimension + values + mode include|exclude). A change to a live group needs confirm:true. Everything is read back. Free.
| Parameter | Type | Description |
|---|---|---|
| all | boolean | set_listing_groups: advertise every product |
| mode | string | include = only these; exclude = all but these |
| name | string | |
| index | number | customAttribute index 0-4 |
| level | number | productType / category level 1-5 |
| path1 | string | |
| path2 | string | |
| action * | string |
EDIT a responsive search ad IN PLACE so it keeps its history: headlines (3-15, ≤30 characters; {text, pin:"HEADLINE_1"} pins one), descriptions (2-4, ≤90), path1 / path2 (≤15), finalUrls, finalMobileUrls, finalUrlSuffix, trackingUrlTemplate. A list you pass REPLACES the ad's list, so send it whole. Over-long text is refused, never cut. A live ad needs confirm:true and Google reviews it again. Read back. Free.
| Parameter | Type | Description |
|---|---|---|
| adId * | string | the ad id (from google_ads_report) |
| path1 | string | |
| path2 | string | |
| dryRun | boolean | |
| confirm | boolean | |
| adGroupId | string | |
| finalUrls | array | |
| headlines | array | |
| customerId | string | |
| descriptions | array | |
| finalUrlSuffix |
DUPLICATE a Google Ads Search or Display campaign: budget amount, bidding, networks, locations, languages, schedule, negatives, ad groups, keywords and responsive ads, rebuilt in one step (Google's API has no copy operation) and born PAUSED. History and Quality Score start fresh. dryRun:true checks it without creating anything. Free.
| Parameter | Type | Description |
|---|---|---|
| name | string | default "<name> (copy)" |
| dryRun | boolean | |
| campaignId * | string | |
| customerId | string | |
| shareBudget | boolean | reuse a SHARED budget instead of a new one |
| loginCustomerId | string |
{
"name": "duplicate_google_ads_campaign",
"title": "Duplicate a Google Ads campaign (paused)",
"description": "DUPLICATE a Google Ads Search or Display campaign: budget amount, bidding, networks, locations, languages, schedule, negatives, ad groups, keywords and responsive ads, rebuilt in one step (Google's API has no copy operation) and born PAUSED. History and Quality Score start fresh. dryRun:true checks it without creating anything. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"campaignId"
],
"properties": {
"name": {
"type": "string",
"description": "default \"<name> (copy)\""
},
"dryRun": {
"type": "boolean"
},
"campaignId": {
"type": "string"
},
"customerId": {
"type": "string"
},
"shareBudget": {
"type": "boolean",
"description": "reuse a SHARED budget instead of a new one"
},
"loginCustomerId": {
"type": "string"
}
}
},
"annotations": {
"title": "Duplicate a Google Ads campaign (paused)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Google Ads LABELS for organising campaigns, ad groups and ads ("Made by Hermoso", "Q4 test"). action: list | create (name, color #RRGGBB, description, and targets to label at once) | update (name, color, description) | apply / remove (campaignIds, adGroupIds, ads:[{adGroupId, adId}]) | delete (confirm:true). Labels never change delivery or spend. Report by label with google_ads_report over campaign_label / ad_group_label / ad_group_ad_label.
| Parameter | Type | Description |
|---|---|---|
| ads | array | ads to label, as a list of {adGroupId, adId} objects |
| name | string | label name, for create or update |
| color | string | #RRGGBB |
| action | string | default list |
| dryRun | boolean | validate with Google, change nothing |
| confirm | boolean | true only after the user approved a change to a LIVE campaign or a delete |
| labelId | string | the label (from action list) |
| adGroupIds | array | ad group ids to apply or remove the label on |
| customerId | string | omit to use the selected default account |
PORTFOLIO bid strategies: one shared Google Ads strategy and target driving several campaigns. action: list | create (name, strategy, its targets, optional campaignIds to attach) | update (targets or name; the type cannot change) | attach (campaignIds) | delete (only once no campaign uses it; confirm:true). Amounts are in the account currency. Changing targets of, or attaching, a LIVE campaign changes how it bids now: confirm:true after the user approves. Performance Max cannot use a portfolio. To move a campaign OFF a portfolio, call set_google_ads_bidding on it.
| Parameter | Type | Description |
|---|---|---|
| name | string | strategy name, for create or update |
| action | string | default list |
| dryRun | boolean | validate with Google, change nothing |
| confirm | boolean | true only after the user approved a change to a LIVE campaign or a delete |
| strategy | string | create |
| maxCpcUsd | number | max CPC ceiling (required for TARGET_IMPRESSION_SHARE) |
| minCpcUsd | number | min CPC floor |
| customerId | string | omit to use the selected default account |
| targetRoas | number |
Which conversion goals Google Ads smart bidding optimises toward, the usual cause of "it optimises for the wrong thing". With no goals it reads: the account goals, or with campaignId that campaign's goals and whether it follows the account. goals:[{category (PURCHASE, SIGNUP, SUBMIT_LEAD_FORM, PAGE_VIEW...), origin (default WEBSITE), biddable}] sets them account-wide, or for one campaign with campaignId (it then stops following account changes). useAccountGoals:true puts a campaign back on the account goals. A goal exists only where a conversion action of that category exists. Changing goals of LIVE campaigns needs confirm:true after the user approves. Read back from Google.
| Parameter | Type | Description |
|---|---|---|
| goals | array | conversion goals to set, as a list of {category, origin, biddable}; omit to read the current goals |
| dryRun | boolean | validate with Google, change nothing |
| confirm | boolean | true only after the user approved a change to a LIVE campaign or a delete |
| campaignId | string | omit for the account goals |
| customerId | string | omit to use the selected default account |
| loginCustomerId | string | manager id if operating through an MCC |
| useAccountGoals | boolean | put the campaign back on the account goals |
PERMANENTLY remove a Google Ads object. Google has no HTTP delete — removal is a `remove` operation that puts the object in the terminal REMOVED state, which cannot be undone or re-enabled, so treat it as a delete. Levels: "campaign" + campaignId · "adGroup" + adGroupId · "ad" + adGroupId AND adId · "keyword" + adGroupId AND keywordId · "conversionAction" + conversionActionId · "campaignAsset"/"adGroupAsset" + the LINK’s full resourceName (get it from google_ads_report over campaign_asset / ad_group_asset — an asset id alone does not identify a link). THERE IS DELIBERATELY NO "asset" LEVEL: Google publishes no operation that deletes an Asset, only its links, so removing a link unlinks the asset and leaves it in the library. CALL IT WITHOUT confirm FIRST — nothing is removed and you get the object’s real name, status, LIFETIME SPEND and child counts read live from Google; show the user exactly that. A target with children, live delivery or real spend additionally needs confirmName (its exact name) and confirmChildren (the child count from that read-back). Removing a CAMPAIGN also removes its campaign-owned budget, and the note says whether it did. Removing the last ENABLED conversion action makes every smart-bidding campaign on the account undeliverable — the refusal says so. To stop delivery without removing, use set_google_ads_status(status:"PAUSED").
| Parameter | Type | Description |
|---|---|---|
| adId | string | ad id (level:"ad" — pass adGroupId too) |
| level | string | what to remove — default campaign |
| confirm | boolean | REQUIRED true — REMOVED is permanent |
| adGroupId | string | ad group id (level:"adGroup"; REQUIRED as the parent for "ad" and "keyword") |
| keywordId |
Add a creative to a Google Ads account’s ASSET LIBRARY so it can be used in ads. It does NOT have to be a Hermoso render — the user’s own creative is the normal case; the URL just has to be Hermoso-HOSTED because we fetch the bytes, so run any file of theirs through upload_file and pass the URL it returns. For an IMAGE, pass imageUrl (≤5MB); an arbitrary external/CDN URL is refused. For VIDEO, Google Ads uses YouTube-hosted videos — post the video to YouTube as UNLISTED first, then pass its youtubeVideoId here. For a PLAYABLE (App campaigns), pass playableUrl: an HTML5 zip with <!DOCTYPE html>, an ad.orientation meta tag and no outside files except Google's own (exitapi.js, Google Fonts); add appAdId to put it on an App ad. Returns the asset resource name. Pass customerId (from list_google_ads_campaigns).
| Parameter | Type | Description |
|---|---|---|
| name | string | asset name |
| appAdId | string | also add the playable to this App ad (App campaigns for installs only) |
| imageUrl | string | a Hermoso-hosted image URL for an IMAGE asset (≤5MB) — a Hermoso render, or the user’s OWN creative put through upload_file first. An arbitrary external/CDN URL is refused. |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| playableUrl | string | PLAYABLE: link to an HTML5 zip (any public https URL or upload_file). Checked against Google's rules, then Google's own free validation, then created as a MEDIA_BUNDLE asset |
| youtubeVideoId | string | A YouTube video id for a VIDEO asset |
Create a CONVERSION ACTION — the thing that tells Google what counts as a result on this account. This is a PREREQUISITE, not a nicety: MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, TARGET_CPA, TARGET_ROAS and every Performance Max campaign are undeliverable without one, because Google has nothing to optimise toward. type WEBPAGE (a purchase / lead / signup on the site — the normal choice), UPLOAD_CLICKS or UPLOAD_CALLS; every other Google conversion type (Firebase, Google Analytics 4, Floodlight, store visits) is READ-ONLY and is created in those products, not here. Set category to what actually happened (PURCHASE, SUBMIT_LEAD_FORM, SIGNUP, BOOK_APPOINTMENT…) and defaultValueUsd when a conversion has a known worth — TARGET_ROAS has nothing to maximise without a value. Created ENABLED and counted in "conversions" by default, because a conversion action that is neither records nothing. It CANNOT SERVE AN AD and cannot spend a cent, so it needs no confirmation. A WEBPAGE action records NOTHING until its Google tag is installed on the site — say that when you report it.
| Parameter | Type | Description |
|---|---|---|
| name * | string | what the user calls this result, e.g. "Purchase", "Demo request" |
| type | string | default WEBPAGE — a conversion that happens on the website |
| dryRun | boolean | validate against Google and create NOTHING |
| status | string | default ENABLED — anything else records nothing |
| category | string | what kind of result this is, default DEFAULT. Google Ads v25’s IN_APP_AD_REVENUE is not offered: Google refuses it on every type this tool creates, and it comes only from a linked Firebase app (FIREBASE_ANDROID/IOS_APP_AD_IMPRESSION), which list_google_ads_conversion_actions reads like any other |
List the conversion actions on a Google Ads account and say plainly whether smart bidding can work there. Call this BEFORE proposing MAXIMIZE_CONVERSIONS / MAXIMIZE_CONVERSION_VALUE / TARGET_CPA / TARGET_ROAS or any Performance Max campaign: an account with no ENABLED conversion action that counts toward "conversions" cannot optimise on any of them, and the campaign would spend its budget without ever learning. Shows each action’s status, type, category, counting type, and whether it counts toward "conversions". Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| includeRemoved | boolean | also list REMOVED conversion actions |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "list_google_ads_conversion_actions",
"title": "List Google Ads conversion actions",
"description": "List the conversion actions on a Google Ads account and say plainly whether smart bidding can work there. Call this BEFORE proposing MAXIMIZE_CONVERSIONS / MAXIMIZE_CONVERSION_VALUE / TARGET_CPA / TARGET_ROAS or any Performance Max campaign: an account with no ENABLED conversion action that counts toward \"conversions\" cannot optimise on any of them, and the campaign would spend its budget without ever learning. Shows each action’s status, type, category, counting type, and whether it counts toward \"conversions\". Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"includeRemoved": {
"type": "boolean",
"description": "also list REMOVED conversion actions"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "List Google Ads conversion actions",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Google Ads CUSTOMER MATCH lists on the brand's own Google Ads account, through Google's Data Manager API. action list (every audience list with its Customer Match match rate and sizes), get (one list: status, match rate, search/display/YouTube/Gmail sizes), create (an EMPTY contact-information list: name, description, membershipDays; validateOnly checks it without creating), delete (confirm:true; cannot be undone). Fill a list with upload_google_ads_customer_list, then target or exclude it with set_google_ads_audiences. Sizes take 6 to 48 hours and a list needs 100+ matched people to serve. Free.
| Parameter | Type | Description |
|---|---|---|
| name | string | create: unique on the account |
| action | string | list (default), get, create or delete |
| listId | string | get / delete: the list id from action list |
| confirm | boolean | delete: required true, after the user agreed |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| description | string | |
| validateOnly | boolean | create: check it without creating |
| membershipDays | number | create: whole days a person stays on the list; omit for Google’s maximum |
Add people to (action add, the default) or remove them from (action remove) a Google Ads Customer Match list, so campaigns can target or exclude them. Pass PLAIN emails, E.164 phones (+15551234567) or members [{email, phone, firstName, lastName, countryCode, postalCode}] (an address needs all four of the last); Hermoso normalizes them to Google's published rules (lowercase and trim; gmail.com dots and +tags removed) and SHA-256 hashes them, so only digests leave Hermoso. Already-hashed 64-hex values pass through. Up to 10,000 people per call. ADD NEEDS acceptTerms:true: show the user Google's Customer Match policy (https://support.google.com/adspolicy/answer/6299717) and get their agreement first. validateOnly:true checks the upload without changing the list. Returns a requestId for google_ads_upload_status. Free.
| Parameter | Type | Description |
|---|---|---|
| action | string | add (default) or remove these people |
| emails | array | PLAIN emails, normalized and SHA-256 hashed inside Hermoso |
| listId * | string | the Customer Match list (google_ads_customer_lists) |
| phones | array | E.164 phones (+15551234567), hashed inside Hermoso |
| members | array | people with several identifiers; an address needs firstName, lastName, countryCode and postalCode together |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
Upload offline or enhanced conversions (sales, qualified leads) into the brand's Google Ads account through Google's Data Manager API, which replaced the Google Ads API upload for new integrations. conversionActionId must be an UPLOAD_CLICKS conversion action ("Website (Import from clicks)"; list_google_ads_conversion_actions, or create_google_ads_conversion_action type UPLOAD_CLICKS). Each event needs a time (eventTime: unix seconds or ISO) and something Google can match: a gclid / gbraid / wbraid, or the customer's email or E.164 phone (hashed in Hermoso before sending); optional eventId (Google's transactionId: a repeat counts as an adjustment, not a second sale), value + currency, actionSource. Up to 2,000 per call. validateOnly:true checks without recording. Free.
| Parameter | Type | Description |
|---|---|---|
| events * | array | 1 to 2000 conversions |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| validateOnly | boolean | check without recording |
| loginCustomerId | string | manager id if operating through an MCC |
| conversionActionId * | string | an UPLOAD_CLICKS conversion action id |
{
"name": "send_google_ads_conversions",
"title": "Upload offline conversions to Google Ads",
"description": "Upload offline or enhanced conversions (sales, qualified leads) into the brand's Google Ads account through Google's Data Manager API, which replaced the Google Ads API upload for new integrations. conversionActionId must be an UPLOAD_CLICKS conversion action (\"Website (Import from clicks)\"; list_google_ads_conversion_actions, or create_google_ads_conversion_action type UPLOAD_CLICKS). Each event needs a time (eventTime: unix seconds or ISO) and something Google can match: a gclid / gbraid / wbraid, or the customer's email or E.164 phone (hashed in Hermoso before sending); optional eventId (Google's transactionId: a repeat counts as an adjustment, not a second sale), value + currency, actionSource. Up to 2,000 per call. validateOnly:true checks without recording. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"conversionActionId",
"events"
],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"eventTime"
],
"properties": {
"email": {
"type": "string"
},
"gclid": {
"type": "string"
},
"phone": {
"type": "string"
},
"value": {
"type": "number"
},
"gbraid": {
"type": "string"
},
"wbraid": {
"type": "string"
},
"eventId": {
"type": "string",
"description": "order / lead id; Google’s transactionId"
},
"currency": {
"type": "string"
},
"eventTime": {
"type": [
"string",
"number"
],
"description": "unix seconds or ISO"
},
"actionSource": {
"type": "string",
"description": "web, app, offline, phone_call …"
}
},
"additionalProperties": {}
},
"description": "1 to 2000 conversions"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"validateOnly": {
"type": "boolean",
"description": "check without recording"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"conversionActionId": {
"type": "string",
"description": "an UPLOAD_CLICKS conversion action id"
}
}
},
"annotations": {
"title": "Upload offline conversions to Google Ads",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}What Google did with a Customer Match or conversion upload: pass the requestId that upload_google_ads_customer_list or send_google_ads_conversions returned. Reports PROCESSING / SUCCESS / PARTIAL_SUCCESS / FAILED per destination, records processed, the match-rate range and any per-record error reasons. Free.
| Parameter | Type | Description |
|---|---|---|
| requestId * | string | from upload_google_ads_customer_list or send_google_ads_conversions |
{
"name": "google_ads_upload_status",
"title": "Check a Google Ads upload",
"description": "What Google did with a Customer Match or conversion upload: pass the requestId that upload_google_ads_customer_list or send_google_ads_conversions returned. Reports PROCESSING / SUCCESS / PARTIAL_SUCCESS / FAILED per destination, records processed, the match-rate range and any per-record error reasons. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"requestId"
],
"properties": {
"requestId": {
"type": "string",
"description": "from upload_google_ads_customer_list or send_google_ads_conversions"
}
}
},
"annotations": {
"title": "Check a Google Ads upload",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Add ASSETS (extensions) to a Google Ads campaign, ad group or the whole account (level:"customer") — and ATTACH them, which is what makes them show. Pass assetType plus assets[]: SITELINK {linkText ≤25, finalUrl, description1/2}; CALLOUT {calloutText ≤25}; STRUCTURED_SNIPPET {header, values[] ≥3}; CALL {phoneNumber, countryCode}; PROMOTION {promotionTarget ≤20, percentOff OR moneyAmountOff, finalUrl, promotionCode?, occasion?, startDate?, endDate?}; PRICE {priceType, offerings[3–8] of {header ≤25, description ≤25, price, unit?, finalUrl}}; LEAD_FORM {businessName, headline, description, privacyPolicyUrl, callToActionType, callToActionDescription, finalUrl, fields?}; BUSINESS_NAME {businessName ≤25}; BUSINESS_LOGO {image: a square Hermoso image}. Or link existing ones with assetResourceNames[]. Edit, pause or detach later with manage_google_ads_assets. (Google does not let apps attach Search image extensions; images go through Performance Max, Demand Gen and display ads.) Assets and links go up in ONE atomic operation, so a rejected link never strands an orphan asset, and the links are READ BACK from Google before you are told they exist. Attaching a live asset to a LIVE (ENABLED) campaign changes what that ad shows on the very next auction — show the user what would appear, get an explicit yes, then pass confirm:true. On a paused campaign it never needs confirmation.
| Parameter | Type | Description |
|---|---|---|
| level | string | where to attach it — follows the id you pass; customer = every campaign on the account |
| assets | array | the assets to CREATE and attach |
| dryRun | boolean | validate against Google and create NOTHING |
| status | string | the LINK status — default ENABLED |
| confirm | boolean |
Google Ads’ own advice for the account: the optimization score (account and per campaign), every open recommendation with what applying it would change (budget $X -> $Y, a keyword, a bid target, a Google-written ad) and Google’s weekly impact estimate, each tagged spend (changes what the account buys) or serves (changes what an ad shows), plus which types Google is auto-applying by itself. An empty list means Google has no advice yet, never that the account is optimal. Ids go stale fast, so act on a fresh read. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| types | array | recommendation types, e.g. CAMPAIGN_BUDGET, KEYWORD; an unknown one is refused by name |
| campaignId | string | only recommendations for this campaign |
| customerId | string | 10-digit account id, omit for the brand’s default account |
| loginCustomerId | string | manager id if operating through an MCC |
| includeDismissed | boolean | also show dismissed ones |
{
"name": "google_ads_recommendations",
"title": "Google Ads recommendations + optimization score",
"description": "Google Ads’ own advice for the account: the optimization score (account and per campaign), every open recommendation with what applying it would change (budget $X -> $Y, a keyword, a bid target, a Google-written ad) and Google’s weekly impact estimate, each tagged spend (changes what the account buys) or serves (changes what an ad shows), plus which types Google is auto-applying by itself. An empty list means Google has no advice yet, never that the account is optimal. Ids go stale fast, so act on a fresh read. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"types": {
"type": "array",
"items": {
"type": "string"
},
"description": "recommendation types, e.g. CAMPAIGN_BUDGET, KEYWORD; an unknown one is refused by name"
},
"campaignId": {
"type": "string",
"description": "only recommendations for this campaign"
},
"customerId": {
"type": "string",
"description": "10-digit account id, omit for the brand’s default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"includeDismissed": {
"type": "boolean",
"description": "also show dismissed ones"
}
}
},
"annotations": {
"title": "Google Ads recommendations + optimization score",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Act on Google Ads recommendations by id. action:"apply" makes the change live immediately with no undo. Any spend-type recommendation (budget, bidding, keywords, network or audience expansion, new campaigns) or one touching a LIVE campaign is refused until the user says yes: call once without confirm, show the returned list, then call again with confirm:true and the confirmCount it named. The count is re-checked against a fresh read, and if any id is no longer on offer NOTHING is applied. action:"dismiss" only takes advice off the list and needs no confirm. action:"auto_apply" with autoApply:{TYPE:true|false} lets Google apply that type by itself; turning one ON needs confirm:true, OFF never does. dryRun validates and changes nothing. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| action * | string | apply (live now; spend types need confirm), dismiss (remove from list), or auto_apply (set auto-apply per type) |
| dryRun | boolean | validate and change nothing |
| confirm | boolean | the user saw the list and said yes |
| autoApply | object | auto_apply: {RECOMMENDATION_TYPE: true|false} |
| customerId | string | 10-digit account id, omit for the brand’s default account |
| confirmCount | number | apply: echo the count the unconfirmed call reported |
| loginCustomerId | string |
A shareable Google preview link (viewable with no Google Ads login, good for client approval) for a Performance Max asset group, or for a YouTube video ad. Google cannot preview Search or Display ads (RSA/RDA), and that is refused by name for free. Links expire and cannot be embedded in an iframe. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| adId | string | a YouTube video ad id |
| adGroupId | string | its ad group id |
| customerId | string | 10-digit account id, omit for the brand’s default account |
| assetGroupIds | array | Performance Max asset group ids |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "preview_google_ads_ad",
"title": "Shareable Google Ads preview link",
"description": "A shareable Google preview link (viewable with no Google Ads login, good for client approval) for a Performance Max asset group, or for a YouTube video ad. Google cannot preview Search or Display ads (RSA/RDA), and that is refused by name for free. Links expire and cannot be embedded in an iframe. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"adId": {
"type": "string",
"description": "a YouTube video ad id"
},
"adGroupId": {
"type": "string",
"description": "its ad group id"
},
"customerId": {
"type": "string",
"description": "10-digit account id, omit for the brand’s default account"
},
"assetGroupIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Performance Max asset group ids"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Shareable Google Ads preview link",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}WHY Google rejected or limited something: every DISAPPROVED or APPROVED_LIMITED ad, asset (headlines, images, sitelinks, Performance Max assets) and keyword on the account or one campaign, with Google’s policy topic, its effect, the evidence (offending text, a broken landing page and its HTTP code, restricted countries) and appeal state. includeApproved lists everything. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| campaignId | string | only this campaign |
| customerId | string | 10-digit account id, omit for the brand’s default account |
| includeApproved | boolean | list approved and pending items too |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "google_ads_policy_issues",
"title": "Why Google rejected or limited an ad",
"description": "WHY Google rejected or limited something: every DISAPPROVED or APPROVED_LIMITED ad, asset (headlines, images, sitelinks, Performance Max assets) and keyword on the account or one campaign, with Google’s policy topic, its effect, the evidence (offending text, a broken landing page and its HTTP code, restricted countries) and appeal state. includeApproved lists everything. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"campaignId": {
"type": "string",
"description": "only this campaign"
},
"customerId": {
"type": "string",
"description": "10-digit account id, omit for the brand’s default account"
},
"includeApproved": {
"type": "boolean",
"description": "list approved and pending items too"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Why Google rejected or limited an ad",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The assets on a Google Ads campaign, ad group or the whole account (level:"customer"): action "list" (every attached asset with its review status and any policy problem), "update" (edit a sitelink/callout/snippet/call/promotion/price/lead-form asset — pass assetId, assetType and asset{} in add_google_ads_assets' shape), "pause", "enable" or "unlink" (pass assetId + fieldType from list). Google never deletes an asset; unlink stops it showing. Editing or re-enabling on a LIVE campaign needs confirm:true after the user agrees.
| Parameter | Type | Description |
|---|---|---|
| asset | object | update — the new content |
| level | string | campaign, adGroup or customer; follows the id you pass |
| action | string | default list |
| dryRun | boolean | true = validate with Google and change nothing |
| assetId | string | asset id, from the list action |
| confirm | boolean | true only after the user agreed to change a LIVE campaign's assets |
| adGroupId | string | ad group id, when level is adGroup |
| assetType | string | update — the asset kind |
| fieldType | string |
Set the FINAL URL SUFFIX (the UTMs added to every click), tracking template and custom parameters on a Google Ads campaign, ad group or ad; a lower level overrides a higher one. "" clears a field; utmDefault:true applies our standard UTMs (utm_source=google, utm_medium, utm_campaign=<name>, utm_id={campaignid}, utm_content={creative}). New campaigns already get those unless you say otherwise. Read back from Google.
| Parameter | Type | Description |
|---|---|---|
| adId | string | ad to set tracking on; use with level ad |
| level | string | follows the id you pass |
| dryRun | boolean | true = validate with Google and change nothing |
| confirm | boolean | needed to change the tracking redirect on a LIVE campaign |
| adGroupId | string | ad group to set tracking on; use with level adGroup |
| campaignId | string | campaign to set tracking on; use with level campaign |
| customerId | string | 10-digit account id; omit to use the brand's selected default account |
| utmDefault | boolean | true = apply the standard UTMs (utm_source, utm_medium, utm_campaign, utm_id, utm_content) |
Audiences for Google Ads. action "search" finds affinity + in-market interests, remarketing lists, custom segments and saved audiences (query by name). "create_remarketing_list": people who visited pages matching urlRules [{operator CONTAINS|EQUALS|STARTS_WITH|ENDS_WITH, value}] in the last membershipDays (needs the Google tag on the site). "create_custom_segment": people searching keywords[] or into sites like urls[] (type AUTO or SEARCH). "create_audience": a reusable audience (userLists, interests, customSegments ids + ages like "25-34", genders) — what Performance Max signals and Demand Gen targeting take. "remove" (userList or customSegment, confirm:true). Attach with set_google_ads_audiences.
| Parameter | Type | Description |
|---|---|---|
| id | string | remove |
| ages | array | age ranges to include: 18-24, 25-34, 35-44, 45-54, 55-64, 65+ or unknown |
| apps | array | app identifiers for a custom segment (create_custom_segment) |
| kind | string | remove |
| name | string | audience or list name, unique on the account (create actions) |
| type | string | custom segment type: AUTO (Google decides, default) or SEARCH (people who searched the keywords) |
| urls | array | full http(s) URLs of sites like yours for a custom segment (create_custom_segment) |
| query | string |
Who a Google Ads campaign reaches. adGroupId (Search/Display): userLists, interests (affinity/in-market ids), customSegments (Display only), mode "observation" (report, do not narrow — default on Search) or "targeting" (narrow to them); Demand Gen ad groups take audiences[] ids. assetGroupId (Performance Max): audiences[] as signals and searchThemes[]. campaignId: exclusions only. exclude{userLists, interests, customSegments}, excludeAges ["18-24"…"65+","unknown"], excludeGenders, excludeIncomes (household income bands; with campaignId this is how a Performance Max campaign excludes them). remove[] takes criterion resource names from a call with no changes (which lists what is set). Narrowing a LIVE ad group needs confirm:true.
| Parameter | Type | Description |
|---|---|---|
| mode | string | observation (report only, default on Search) or targeting (narrow delivery to these audiences) |
| dryRun | boolean | true = validate with Google and change nothing |
| remove | array | criterion resource names to remove; a call with no other changes lists the current ones |
| confirm | boolean | true to approve a change that alters who a live ad group reaches |
| exclude | object | audiences to exclude from the ad group or campaign: {userLists, interests, customSegments} ids |
| adGroupId | string | ad group to target (Search, Display or Demand Gen); one of adGroupId, assetGroupId, campaignId |
| audiences | array |
Upload a Hermoso video (render id, Library id, attachment://N or Hermoso link) straight into Google Ads — no YouTube channel needed: it goes UNLISTED to the Google-managed channel of the ad account (or to your own brand channel with channelId, where PUBLIC is allowed). Waits for YouTube to process it, then returns the video asset ready for create_google_ads_demand_gen_campaign or Performance Max. AI-generated renders are disclosed as such. action "status" finishes a slow one (uploadId), "list" shows uploads, "remove" deletes one (confirm:true). Free.
| Parameter | Type | Description |
|---|---|---|
| title | string | required, ≤100 chars |
| video | string | Hermoso render id, Library id, attachment://N or Hermoso video link |
| action | string | default upload |
| dryRun | boolean | true = build and return the request without uploading any bytes |
| confirm | boolean | true to remove the upload (action remove); every ad using the video stops showing it |
| privacy | string | UNLISTED (default, the only option on Google's channel) or PUBLIC (own channel only, with channelId) |
| uploadId | string | upload id from the upload reply or action list; required for status and remove |
| channelId | string | your own YouTube channel (UC…), else Google's |
Build a Google DEMAND GEN campaign — video ads on YouTube Shorts, in-feed and in-stream (plus Discover, Gmail, Display, Maps if you pick them) — as ONE atomic, PAUSED build: budget, campaign, ad group with channel controls, locations/languages, optional audiences, and a video ad. ad needs videoAssets (from upload_google_ads_video) or youtubeVideoIds, a square logo (logoImage or logoAssets), finalUrl, businessName ≤25, 1–5 headlines, longHeadlines, descriptions. Google sets a minimum daily budget (it names it if you go under). Read back; turn it on with set_google_ads_status(confirm:true) only after the user approves.
| Parameter | Type | Description |
|---|---|---|
| ad * | object | video ad: {videoAssets or youtubeVideoIds, logo, finalUrl, businessName, headlines, longHeadlines, descriptions, assetAutomation} |
| name * | string | campaign name |
| dryRun | boolean | true = validate with Google and create nothing |
| bidding | object | bidding object {strategy, targetCpaUsd, targetRoas, maxCpcUsd}; strategy defaults to MAXIMIZE_CONVERSIONS |
| endDate | string | campaign end date, YYYY-MM-DD |
| channels | array | omit for all of Google's channels |
| audiences | array | audience ids from manage_google_ads_audience |
What Google Ads is allowed to generate from the user’s own creative: text laid over videos (OVERLAY_TEXT_ON_VIDEOS), vertical and shorter video cuts, generated videos and animated images, image crops and enhancements, written headlines and landing-page text. Pass campaignId for campaign-level automation (Performance Max, Search), or adGroupId + adId for one ad: a Demand Gen video ad keeps OVERLAY_TEXT_ON_VIDEOS, GENERATE_VERTICAL_YOUTUBE_VIDEOS and GENERATE_SHORTER_YOUTUBE_VIDEOS there, and Google turns them ON by default. With no settings it READS what is set. settings is {TYPE: true|false}; a type you do not name keeps its current value, and one that was never set follows Google’s default. Turning a type OFF needs nothing more; turning one ON for something live needs confirm:true, because Google then serves versions it generated. The reply is what Google stored, read back. Free.
| Parameter | Type | Description |
|---|---|---|
| adId | string | ad id (google_ads_report FROM ad_group_ad lists ad_group.id and ad_group_ad.ad.id) |
| dryRun | boolean | true = validate with Google and change nothing |
| confirm | boolean | true to turn an automation ON for a campaign or ad that is live |
| settings | object | {TYPE: true to opt in, false to opt out}. Types: TEXT_ASSET_AUTOMATION, GENERATE_VERTICAL_YOUTUBE_VIDEOS, GENERATE_SHORTER_YOUTUBE_VIDEOS, GENERATE_LANDING_PAGE_PREVIEW, GENERATE_LANDING_PAGE_TEXT, GENERATE_ENHANCED_YOUTUBE_VIDEOS, GENERATE_IMAGE_ENHANCEMENT, GENERATE_IMAGE_EXTRACTION, GENERATE_DESI… |
| adGroupId | string | ad group id of the ad (with adId) |
Seasonality adjustments tell Google’s Smart Bidding that conversion rate will move for a short event (a sale, a launch, a holiday weekend), so it bids for the event instead of learning it late. action "list" shows them; "create" needs name, start and end ("YYYY-MM-DD HH:mm:ss", the end is exclusive, at most 14 days apart, and Google expects a future event), conversionRateModifier (0.1 to 10: 1.5 means 50% more conversions per click than usual, 0.8 means 20% fewer) and what it covers: campaignIds (up to 2,000 campaigns) OR channels (SEARCH, DISPLAY, SHOPPING, DEMAND_GEN), never both; optional devices. "update" changes the named fields of one (id); "remove" deletes one (id). It moves real bids on every campaign it covers, so create, update and remove need confirm:true after the user agrees; dryRun:true has Google validate it and changes nothing. Google’s API cannot create an account-wide adjustment and does not allow them on manager accounts. The reply is read back from Google. Free.
| Parameter | Type | Description |
|---|---|---|
| id | string | seasonality adjustment id (update, remove), from action list |
| end | string | when it stops, "YYYY-MM-DD HH:mm:ss" (exclusive); at most 14 days after start |
| name | string | name, up to 255 characters (create) |
| start | string | when the event begins, "YYYY-MM-DD HH:mm:ss" (inclusive) |
| action | string | default list |
| dryRun | boolean | true = validate with Google and change nothing |
| confirm |
The people who filled in a Google Ads lead form: each submission’s time, the answers (name, email, phone and any custom questions), the Google click id, and the campaign, ad group and lead form it came from, newest first. Filter by campaignId, adGroupId, assetId (the lead form asset) and since / until (YYYY-MM-DD); limit up to 1,000 (default 100). An empty answer means none that Google still holds for this account and filter, not proof that no form was ever submitted. These are the advertiser’s own leads and contain personal details: show them to the user who asked and do not copy them anywhere else unless asked. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| limit | number | how many, 1 to 1,000 (default 100) |
| since | string | YYYY-MM-DD, submissions on or after this day |
| until | string | YYYY-MM-DD, submissions on or before this day |
| assetId | string | only submissions to this lead form asset |
| adGroupId | string | only submissions from this ad group |
| campaignId | string | only submissions from this campaign |
| customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's default account |
| loginCustomerId | string |
Agency setup on Google Ads: the manager (MCC) and client account tree, and the links between them. action hierarchy (default) shows each shared account's clients and managers with link status and managerLinkId, pending invitations included. invite: managerCustomerId sends clientCustomerId an invitation (PENDING until the client accepts). accept / decline: answer an invitation as the client. cancel: withdraw a pending invitation, as the manager. unlink: end an active link, as the manager. accept and unlink change who controls the account, so they need confirm:true after the user agrees; validateOnly:true has Google check any write first. Read back from Google. Free.
| Parameter | Type | Description |
|---|---|---|
| action | string | hierarchy (default), invite, accept, decline, cancel or unlink |
| confirm | boolean | true after the user agreed (accept, unlink) |
| customerId | string | hierarchy: only the tree of this shared account; omit for every shared account |
| validateOnly | boolean | true = Google checks it, nothing changes |
| managerLinkId | string | from action hierarchy (accept, decline, cancel, unlink) |
| loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
| clientCustomerId | string | the client account id |
| managerCustomerId |
Who can use a Google Ads account. action list (default): users with their role and user id, and email invitations with their status. invite: emailAddress + accessRole (ADMIN, STANDARD, READ_ONLY, EMAIL_ONLY); Google emails them; ADMIN needs confirm:true. revoke: withdraw a pending invitation (invitationId). set_role: change a user's accessRole (userId). remove: take a user's access away (userId). set_role and remove need confirm:true after the user agrees. Read back from Google. Free.
| Parameter | Type | Description |
|---|---|---|
| action | string | list (default), invite, revoke, set_role or remove |
| userId | string | from action list (set_role, remove) |
| confirm | boolean | true after the user agreed |
| accessRole | string | ADMIN, STANDARD, READ_ONLY or EMAIL_ONLY |
| customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's default account |
| emailAddress | string | who to invite |
| invitationId | string | from action list (revoke) |
| loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
Billing on a Google Ads account. action get (default): the manager's monthly-invoicing payments accounts the account can be billed to, its billing setups and its account budgets, read live. action setup: bill the account to one of those payments accounts (paymentsAccountId) and propose an account budget (spendingLimit in the account currency, or none for no limit; budgetName, purchaseOrderNumber). Google's API cannot add a card: an account without monthly invoicing is billed in Google Ads itself. setup lets the account spend, so it needs confirm:true after the user agrees. Free.
| Parameter | Type | Description |
|---|---|---|
| action | string | get (default) or setup |
| confirm | boolean | true after the user agreed (setup) |
| budgetName | string | name of the account budget |
| customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's default account |
| validateOnly | boolean | true = check the budget proposal only |
| spendingLimit | number | account budget limit in the account currency; omit for no limit |
| loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
| paymentsAccountId | string | 16-digit payments account id from action get |
Create a new Google Ads client account under a manager (MCC) account shared with this brand: name, currency (ISO, permanent) and timeZone (IANA, permanent); optionally emailAddress + accessRole to invite its owner. Google accounts cannot be deleted, only cancelled, and Google decides which managers may create accounts. Needs confirm:true after the user agrees; dryRun:true has Google validate it. The new account has no billing (google_ads_billing). To build on it here, add it with set_connector_accounts. Free.
| Parameter | Type | Description |
|---|---|---|
| name * | string | account name |
| dryRun | boolean | true = Google validates it, nothing is created |
| confirm | boolean | true after the user agreed |
| currency * | string | ISO 4217, e.g. USD; permanent |
| timeZone * | string | IANA time zone, e.g. America/New_York; permanent |
| accessRole | string | their role, default ADMIN |
| emailAddress | string | invite this person onto it |
| loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
| managerCustomerId |
The calls, messages and bookings a Google Local Services campaign produced, newest first: type, status, whether Google charged for it, the consumer's name and phone, category. Filter by fromDate / toDate (YYYY-MM-DD), leadType, leadStatus, chargedOnly. Pass leadId for that lead's conversation (calls with duration and recording link, messages with text). Read-only, free. These are the advertiser's own leads and contain personal details: show them to the user who asked.
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1 to 1,000, default 100 |
| leadId | string | one lead's conversation |
| toDate | string | YYYY-MM-DD |
| fromDate | string | YYYY-MM-DD |
| leadType | string | PHONE_CALL, MESSAGE, BOOKING or COUPON |
| customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's default account |
| leadStatus | string | NEW, ACTIVE, BOOKED, DECLINED, EXPIRED, DISABLED, CONSUMER_DECLINED or WIPED_OUT |
| chargedOnly | boolean | only leads Google charged for |
| loginCustomerId | string |
Agency setup on Meta Business Manager, for the person who connected Meta. action list_businesses (default): the business portfolios on this login. list_people: a business's people, system users and pending invitations, with the user ids the assign actions take. invite (email, role) / cancel_invite (invitationId) / remove_person (userId). person_assets: the ad accounts and Pages one person can reach, with tasks. list_ad_account_people, assign_ad_account, unassign_ad_account (adAccountId, userId, tasks MANAGE / ADVERTISE / ANALYZE / DRAFT). list_page_people, assign_page, unassign_page (pageId, userId, tasks MANAGE / CREATE_CONTENT / MODERATE / MESSAGING / ADVERTISE / ANALYZE). An assignment replaces the person's tasks on that asset. Removing access, narrowing tasks and inviting an ADMIN need confirm:true after the user agrees. Read back from Meta. Free.
| Parameter | Type | Description |
|---|---|---|
| role | string | business role, default EMPLOYEE |
| string | who to invite | |
| tasks | array | tasks to give on that asset |
| action | string | what to do |
| pageId | string | Page the business owns or was shared |
| userId | string | business-scoped user id from list_people |
| confirm | boolean | true after the user agreed |
| businessId | string |
Create a new Meta ad account inside one of this login's business portfolios: businessId, name, currency (ISO, permanent), timezoneId (Meta's numeric id, 1 = America/Los_Angeles; permanent). Optional endAdvertiser / mediaAgency / partner (a Page or app id, default NONE), fundingId, invoice, invoiceGroupId, invoicingEmails, io, poNumber. Meta ad accounts cannot be deleted, only closed, and Meta caps how many a business may create. Needs confirm:true after the user agrees. The account starts with no payment method; to build on it here, add it with set_connector_accounts. Free.
| Parameter | Type | Description |
|---|---|---|
| io | boolean | direct-sales insertion order |
| name * | string | ad account name |
| confirm | boolean | true after the user agreed |
| invoice | boolean | attach to the business credit line |
| partner | string | partner Page or app id, or NONE |
| currency * | string | ISO 4217, e.g. USD; permanent |
| poNumber | string | purchase order number |
| fundingId | string | payment method id |
| businessId * | string |
Reach and frequency buying on Meta. action list (default) / get (predictionId). predict: a QUOTE, nothing is bought: startDate, endDate (at most 8 weeks ahead, ending at midnight or after 06:00 account time) and exactly one of budgetAmount (Meta predicts reach) or reach (Meta predicts the budget); optional frequencyCap, targeting (one country), pageId, objective. reserve locks the quoted price and inventory and returns a NEW prediction id for the campaign; cancel releases a reservation. reserve and cancel need confirm:true after the user agrees. Free.
| Parameter | Type | Description |
|---|---|---|
| reach | number | people to reach |
| action | string | list (default), predict, get, reserve or cancel |
| pageId | string | the Page promoted |
| confirm | boolean | true after the user agreed (reserve, cancel) |
| endDate | string | ISO date-time |
| objective | string | REACH (default), BRAND_AWARENESS, VIDEO_VIEWS, LINK_CLICKS, POST_ENGAGEMENT |
| startDate | string | ISO date-time |
| targeting | object | Meta targeting spec, one country |
| adAccountId * |
Scheduled budget increases (high-demand periods) on a Meta campaign or ad set, for a sale or launch. action list (default) / create / delete, with exactly one of campaignId or adSetId (the one holding the budget). create: budgetValueType ABSOLUTE (budgetValue added to the daily budget, in the account currency) or MULTIPLIER (budgetValue = percent increase), timeStart and timeEnd on 15-minute boundaries, optional recurrenceType. A campaign cannot mix ABSOLUTE and MULTIPLIER. To change one, delete and create. create and delete need confirm:true after the user agrees. Read back. Free.
| Parameter | Type | Description |
|---|---|---|
| action | string | list (default), create or delete |
| adSetId | string | ad set holding the budget |
| confirm | boolean | true after the user agreed |
| timeEnd | string | ISO date-time, 15-minute boundary |
| timeStart | string | ISO date-time, 15-minute boundary |
| campaignId | string | campaign with an Advantage+ campaign budget |
| scheduleId | string | from list (delete) |
| adAccountId * | string | Meta ad account id (act_123 or the bare number); it must be one this brand has shared |
Value rules raise or lower Meta bids for audience segments worth more or less to the advertiser. action list (default) / get / create / replace / delete. rules: [{name, adjustSign INCREASE (1-1000%) or DECREASE (1-90%), adjustValue, criteria: [{criteriaType AGE, GENDER, OS_TYPE, DEVICE_PLATFORM, LOCATION, PLACEMENT, OMNI_CHANNEL or AUDIENCE_LABEL, criteriaValues, criteriaValueTypes (LOCATION only: LOCATION_COUNTRY / REGION / CITY / COMSCORE_MARKET)}]}]; rule order matters, the first match adjusts. Up to 6 sets, 10 rules, 4 criteria. replace sends the WHOLE set (get first; keep ids to keep rules); dropping rules and delete need confirm:true. Attach with update_meta_object on an ad set (value_rule_set_id, value_rules_applied:true). Free.
| Parameter | Type | Description |
|---|---|---|
| name | string | rule set name |
| rules | array | the rules, in order |
| action | string | list (default), get, create, replace or delete |
| confirm | boolean | true after the user agreed |
| adAccountId * | string | Meta ad account id (act_123 or the bare number); it must be one this brand has shared |
| valueRuleSetId | string | from list |
The A/B tests and lift studies on a Meta ad account: name, type, timing and the test cells with their split and campaigns or ad sets. Read results per cell with meta_insights. fields overrides the Graph projection. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| after | string | paging cursor |
| limit | number | rows per page, up to 100 |
| fields | string | Graph fields override |
| adAccountId * | string | Meta ad account id (act_123 or the bare number); it must be one this brand has shared |
{
"name": "list_meta_ad_studies",
"title": "Read a Meta ad account's A/B tests and lift studies",
"description": "The A/B tests and lift studies on a Meta ad account: name, type, timing and the test cells with their split and campaigns or ad sets. Read results per cell with meta_insights. fields overrides the Graph projection. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"after": {
"type": "string",
"description": "paging cursor"
},
"limit": {
"type": "number",
"description": "rows per page, up to 100"
},
"fields": {
"type": "string",
"description": "Graph fields override"
},
"adAccountId": {
"type": "string",
"description": "Meta ad account id (act_123 or the bare number); it must be one this brand has shared"
}
}
},
"annotations": {
"title": "Read a Meta ad account's A/B tests and lift studies",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Ready-made automated ad rules to start from: stop losers, scale winners, pause spend with no conversions, creative fatigue alert, spend spike alert, trim expensive clicks. Each is a complete body for create_meta_ad_rule or create_google_ads_rule: add the ad account, adjust the thresholds it names, send it (rules are created switched off). Filter by platform (meta or google_ads) or id. Nothing is created. Free.
| Parameter | Type | Description |
|---|---|---|
| id | string | one template id |
| platform | string | meta or google_ads; omit for both |
{
"name": "list_ad_rule_templates",
"title": "Ready-made ad rules (Meta and Google Ads)",
"description": "Ready-made automated ad rules to start from: stop losers, scale winners, pause spend with no conversions, creative fatigue alert, spend spike alert, trim expensive clicks. Each is a complete body for create_meta_ad_rule or create_google_ads_rule: add the ad account, adjust the thresholds it names, send it (rules are created switched off). Filter by platform (meta or google_ads) or id. Nothing is created. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string",
"description": "one template id"
},
"platform": {
"enum": [
"meta",
"google_ads"
],
"type": "string",
"description": "meta or google_ads; omit for both"
}
}
},
"annotations": {
"title": "Ready-made ad rules (Meta and Google Ads)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Build a PERFORMANCE MAX campaign — Google’s cross-surface campaign type (Search, YouTube, Display, Discover, Gmail, Maps). ALWAYS created PAUSED; it spends NOTHING until you enable it with set_google_ads_status(confirm:true). PMax has NO manual bidding and NO keywords: it bids only on conversions, so the account MUST already have a conversion action — check with list_google_ads_conversion_actions, because this REFUSES rather than build a campaign that cannot optimise. Creative lives in an ASSET GROUP, and Google’s minimums are enforced before anything is sent: 3–15 headlines (≤30 chars), 1–5 longHeadlines (≤90), 2–5 descriptions (≤90), one businessName (≤25), at least one LOGO (1:1), one MARKETING_IMAGE (1.91:1) and one SQUARE_MARKETING_IMAGE (1:1) — upload the images with upload_google_ads_asset first and pass their asset resource names. A YouTube video is optional (Google generates one from the asset group if you omit it). Brand guidelines: since Google Ads API v21 they are ON by default for new PMax campaigns, which means the businessName and LOGO assets are linked to the CAMPAIGN (CampaignAsset), not to the asset group — Hermoso does that for you. Leave brandGuidelinesEnabled alone unless the user wants the older asset-group layout, and pass false for that. Budget, campaign, location/language targeting, the asset group and every asset link go up in ONE ATOMIC operation — if any part is rejected, nothing at all is created — and the whole tree is READ BACK from Google before you are told it exists. Print the returned note verbatim; if it says the campaign cannot serve, say that instead of calling it finished. RETAIL/SHOPPING: pass merchantCenterId (from list_merchant_accounts) to make it a Shopping-feed Performance Max — it then advertises the WHOLE feed (one root listing group); feedLabel narrows it to a single feed. Partitioning the feed by brand/category/custom label is NOT built and is refused by name, so a caller can never believe they narrowed it when they did not.
| Parameter | Type | Description |
|---|---|---|
| name * | string | campaign name |
| dryRun | boolean | validate the whole tree against Google and create NOTHING |
Google’s own KEYWORD PLANNER: real keyword ideas with average monthly search volume, competition level and top-of-page bid estimates, so keyword choices are measured instead of guessed. Seed it with keywords[] (terms you already have), url (one landing page to mine) or site (a whole domain — the fastest way to size a competitor). Narrow by locations (place NAMES, resolved for you) and language. Results come back sorted by monthly volume. Use this BEFORE add_google_ads_keywords or create_google_ads_campaign so the ad group targets terms people actually search, and quote the volumes when you propose them. Read-only, free, spends nothing and creates nothing.
| Parameter | Type | Description |
|---|---|---|
| url | string | one page to mine for ideas |
| mode | string | historical = volume, competition, bids and month-by-month searches of the keywords you pass (up to 10,000), not new ideas |
| site | string | a whole domain to mine, e.g. example.com |
| limit | number | how many ideas to return (1–200, default 50) |
| network | string | default GOOGLE_SEARCH |
| endMonth | string | historical only: YYYY-MM |
| keywords | array | up to 20 seed terms |
| language | string | ISO code, e.g. "en" |
Check one email address without sending anything: whether it is written correctly, whether its domain can receive mail (MX records), and whether it is a throwaway inbox, a role address such as info@ or sales@, a free provider such as Gmail, or a likely typo (gmial.com, with the fix). It never contacts the mail server, so it cannot tell whether that one mailbox exists, and the answer says so. Free.
| Parameter | Type | Description |
|---|---|---|
| address * | string | the email address, e.g. name@example.com |
{
"name": "check_email_address",
"title": "Check an email address",
"description": "Check one email address without sending anything: whether it is written correctly, whether its domain can receive mail (MX records), and whether it is a throwaway inbox, a role address such as info@ or sales@, a free provider such as Gmail, or a likely typo (gmial.com, with the fix). It never contacts the mail server, so it cannot tell whether that one mailbox exists, and the answer says so. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"address"
],
"properties": {
"address": {
"type": "string",
"description": "the email address, e.g. name@example.com"
}
}
},
"annotations": {
"title": "Check an email address",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Check a domain’s email setup from public DNS and say what to fix: MX (who receives its mail), SPF (which servers may send as it, counted against the 10-lookup limit), DKIM (signing keys; pass the selector when known, otherwise common ones are tried), DMARC (policy and reports) and blocklists (its mail servers on public spam lists whose terms allow this lookup). Pass `checks` to run only some. Use it when mail lands in spam, before sending a campaign, or to check SPF, DKIM or DMARC. Free; reads DNS only.
| Parameter | Type | Description |
|---|---|---|
| checks | array | which checks to run; omit for all five |
| domain * | string | the domain, e.g. example.com (a URL or an email address also works) |
| selector | string | the DKIM selector, the s= value in the DKIM-Signature header of a sent message |
{
"name": "check_domain_email_health",
"title": "Check a domain’s email setup",
"description": "Check a domain’s email setup from public DNS and say what to fix: MX (who receives its mail), SPF (which servers may send as it, counted against the 10-lookup limit), DKIM (signing keys; pass the selector when known, otherwise common ones are tried), DMARC (policy and reports) and blocklists (its mail servers on public spam lists whose terms allow this lookup). Pass `checks` to run only some. Use it when mail lands in spam, before sending a campaign, or to check SPF, DKIM or DMARC. Free; reads DNS only.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"domain"
],
"properties": {
"checks": {
"type": "array",
"items": {
"enum": [
"mx",
"spf",
"dkim",
"dmarc",
"blocklists"
],
"type": "string"
},
"description": "which checks to run; omit for all five"
},
"domain": {
"type": "string",
"description": "the domain, e.g. example.com (a URL or an email address also works)"
},
"selector": {
"type": "string",
"description": "the DKIM selector, the s= value in the DKIM-Signature header of a sent message"
}
}
},
"annotations": {
"title": "Check a domain’s email setup",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Write an SPF or DMARC TXT record from plain choices, ready to paste at the DNS host. SPF: `providers` by id (google, microsoft, zoho, fastmail, proton, icloud, godaddy, namecheap, mailgun, zendesk, salesforce, freshdesk; amazonses, sendgrid, postmark, mailchimp, brevo, hubspot, klaviyo, shopify and intercom answer with what they need instead), extra `include` domains, `ip4`/`ip6` addresses and the ending (~all by default); with a `domain`, the includes are read and counted against the 10-lookup limit. DMARC: `policy` none, quarantine or reject, `rua` report addresses and alignment. It writes the record; publishing it at the DNS host is the user’s step. Free.
| Parameter | Type | Description |
|---|---|---|
| a | boolean | SPF: let the domain’s own address send |
| mx | boolean | SPF: let the domain’s own MX servers send |
| all | string | SPF ending, default ~all |
| ip4 | array | SPF: IPv4 addresses or ranges |
| ip6 | array | SPF: IPv6 addresses or ranges |
| rua | array | DMARC: addresses for the daily aggregate reports |
| ruf | array | DMARC: addresses for failure reports |
| aspf | string | one of ["r","s"] |
| type * |
Scan a subject line and email text for words and formatting that read as spam (pressure, money, hype, scam-like phrases, CAPITALS, many links, link shorteners) and say which to change. Rule based, free. It judges the wording only: sender reputation and SPF, DKIM and DMARC matter more, so a low score is not a promise of the inbox.
| Parameter | Type | Description |
|---|---|---|
| body | string | the email text |
| subject | string | the subject line |
{
"name": "check_spam_words",
"title": "Check an email for spam words",
"description": "Scan a subject line and email text for words and formatting that read as spam (pressure, money, hype, scam-like phrases, CAPITALS, many links, link shorteners) and say which to change. Rule based, free. It judges the wording only: sender reputation and SPF, DKIM and DMARC matter more, so a low score is not a promise of the inbox.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"body": {
"type": "string",
"description": "the email text"
},
"subject": {
"type": "string",
"description": "the subject line"
}
}
},
"annotations": {
"title": "Check an email for spam words",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}The GA4 properties SHARED WITH THIS PROFILE, with their numeric property ids, display names and the Analytics account each sits under. CALL THIS FIRST — every other Analytics tool needs a PROPERTY ID, which is NUMERIC (e.g. 123456789) and is NOT the "G-XXXXXXX" Measurement ID people usually know from their tracking snippet; the API accepts the numeric id and nothing else. Resolve the property yourself from this list instead of asking the user to go and find one, and only ask when two names are genuinely ambiguous. THIS IS NOT EVERY PROPERTY THE GOOGLE ACCOUNT CAN SEE, deliberately: Analytics access is handed out freely, so one login often has Viewer on many different clients' properties, and the user ticks which ones belong to THIS profile. Only ticked properties can be reported on, and any other one is refused by name. An empty list means nothing is ticked yet — say so and point the user at Connectors > Google Analytics > Manage accounts (or call list_connector_accounts / set_connector_accounts with provider "google_analytics"); never name or guess a property. Read-only, 0 credits. Needs Google Analytics connected (Connectors > Google Analytics).
No parameters.
{
"name": "list_analytics_properties",
"title": "List the GA4 properties shared with this profile",
"description": "The GA4 properties SHARED WITH THIS PROFILE, with their numeric property ids, display names and the Analytics account each sits under. CALL THIS FIRST — every other Analytics tool needs a PROPERTY ID, which is NUMERIC (e.g. 123456789) and is NOT the \"G-XXXXXXX\" Measurement ID people usually know from their tracking snippet; the API accepts the numeric id and nothing else. Resolve the property yourself from this list instead of asking the user to go and find one, and only ask when two names are genuinely ambiguous. THIS IS NOT EVERY PROPERTY THE GOOGLE ACCOUNT CAN SEE, deliberately: Analytics access is handed out freely, so one login often has Viewer on many different clients' properties, and the user ticks which ones belong to THIS profile. Only ticked properties can be reported on, and any other one is refused by name. An empty list means nothing is ticked yet — say so and point the user at Connectors > Google Analytics > Manage accounts (or call list_connector_accounts / set_connector_accounts with provider \"google_analytics\"); never name or guess a property. Read-only, 0 credits. Needs Google Analytics connected (Connectors > Google Analytics).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List the GA4 properties shared with this profile",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}WHAT HAPPENED ON THE SITE — the GA4 Data API report, and the tool that answers "where is our traffic coming from", "which campaign converted", "which landing page is working". Pass metrics by name (activeUsers, sessions, screenPageViews, conversions, totalRevenue, engagementRate, bounceRate, averageSessionDuration …) and dimensions to break them down by (sessionDefaultChannelGroup, sessionSource / sessionMedium / sessionCampaignName, landingPage, pagePath, country, deviceCategory, date, eventName …). GA4 publishes hundreds of both and each property ships its OWN custom dimensions, so names are forwarded as given rather than validated against a copied list — use list_analytics_definitions to see a property's custom ones. THE PROPERTY IS A NUMERIC ID (e.g. 123456789), NOT the G-XXXXXXX Measurement ID — run list_analytics_properties to resolve it. Dates default to the last 28 days and accept either YYYY-MM-DD or GA4's relative forms ("28daysAgo", "yesterday", "today"). PERIOD OVER PERIOD IN ONE CALL: compare:"previous_period" (or "previous_year") adds the earlier period and returns per-period totals plus `change` (absolute + %) computed from GA4's own totals — quote it, never redo the maths; or pass up to 4 named dateRanges. comparisons put segments side by side; totals:true adds a total row. Rows come back as flat named objects. When GA4 says the data is SAMPLED, TRUNCATED, rolled into an "(other)" row or thresholded, completenessNotes says so in words; repeat those when reporting. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| limit | number | rows to return, 1–250000 (default 50). 250,000 is GOOGLE's per-request maximum, not ours — asking for more is silently capped there. |
| offset | number | skip this many rows — how you page past `limit`. Use the nextOffset the previous call returns. |
| totals | boolean | add TOTAL rows |
| compare | string |
WHO IS ON THE SITE RIGHT NOW — GA4's realtime report, covering roughly the last 30 minutes. Use it to see a launch, a post or a campaign landing in real time. IT IS A DIFFERENT REPORT WITH A DIFFERENT METRIC SET, NOT a shortcut for analytics_report: realtime accepts activeUsers, screenPageViews, conversions and eventCount, and REJECTS `sessions` outright — asking for sessions here returns an error, not a zero. Realtime dimensions are also narrower (unifiedScreenName, country, deviceCategory, platform, eventName …) and there is no date range at all. The property is the NUMERIC id from list_analytics_properties, never the G-XXXXXXX Measurement ID. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| limit | number | rows, 1–1000 (default 50) |
| metrics | array | realtime metric names — default ["activeUsers"]. NOT the same set as analytics_report; `sessions` is not a realtime metric |
| property * | string | the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name |
| dimensions | array | realtime dimension names, e.g. ["country"] or ["unifiedScreenName"] |
{
"name": "analytics_realtime",
"title": "Who is on the site right now (GA4 realtime)",
"description": "WHO IS ON THE SITE RIGHT NOW — GA4's realtime report, covering roughly the last 30 minutes. Use it to see a launch, a post or a campaign landing in real time. IT IS A DIFFERENT REPORT WITH A DIFFERENT METRIC SET, NOT a shortcut for analytics_report: realtime accepts activeUsers, screenPageViews, conversions and eventCount, and REJECTS `sessions` outright — asking for sessions here returns an error, not a zero. Realtime dimensions are also narrower (unifiedScreenName, country, deviceCategory, platform, eventName …) and there is no date range at all. The property is the NUMERIC id from list_analytics_properties, never the G-XXXXXXX Measurement ID. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"limit": {
"type": "number",
"description": "rows, 1–1000 (default 50)"
},
"metrics": {
"type": "array",
"items": {
"type": "string"
},
"description": "realtime metric names — default [\"activeUsers\"]. NOT the same set as analytics_report; `sessions` is not a realtime metric"
},
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name"
},
"dimensions": {
"type": "array",
"items": {
"type": "string"
},
"description": "realtime dimension names, e.g. [\"country\"] or [\"unifiedScreenName\"]"
}
}
},
"annotations": {
"title": "Who is on the site right now (GA4 realtime)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}What a GA4 property already MEASURES — its key events (what GA4 counts as a conversion) and its custom dimensions, with each dimension's parameter name and scope. Two reasons to call it: to learn a property's own custom dimension names before using them in analytics_report, and to CHECK BEFORE CREATING — a custom dimension can never be deleted, only archived, and a property is capped at 50 event-scoped ones, so creating a duplicate permanently burns a slot. The property is the NUMERIC id from list_analytics_properties. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| property * | string | the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name |
{
"name": "list_analytics_definitions",
"title": "List a GA4 property’s key events and custom dimensions",
"description": "What a GA4 property already MEASURES — its key events (what GA4 counts as a conversion) and its custom dimensions, with each dimension's parameter name and scope. Two reasons to call it: to learn a property's own custom dimension names before using them in analytics_report, and to CHECK BEFORE CREATING — a custom dimension can never be deleted, only archived, and a property is capped at 50 event-scoped ones, so creating a duplicate permanently burns a slot. The property is the NUMERIC id from list_analytics_properties. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name"
}
}
},
"annotations": {
"title": "List a GA4 property’s key events and custom dimensions",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Mark an event GA4 ALREADY COLLECTS as a KEY EVENT — what GA4 calls a conversion since the 2024 rename (the resource is keyEvents; the old conversionEvents spelling is deprecated). This is what makes an event countable as a result in reports and importable into Google Ads as a conversion. THE EVENT NAME MUST MATCH AN EVENT THE SITE ALREADY SENDS ("purchase", "generate_lead", "sign_up", or a custom one) — marking an event that is never fired creates a key event that can never fire, so check list_analytics_definitions or an analytics_report broken down by eventName first. countingMethod ONCE_PER_EVENT counts EVERY occurrence; ONCE_PER_SESSION counts the event at most ONCE PER SESSION, however many times it fires in that session. Those are the only two GA4 accepts — there is no per-USER counting method, and asking for one is refused rather than quietly counted per event. The result is READ BACK from Google, never echoed from the request. The property is the NUMERIC id from list_analytics_properties. Needs the Google Analytics connection to have edit access on the property.
| Parameter | Type | Description |
|---|---|---|
| property * | string | the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name |
| eventName * | string | an event GA4 already collects, e.g. "purchase" / "generate_lead" / "sign_up" |
| countingMethod | string | default ONCE_PER_EVENT; ONCE_PER_SESSION counts at most once per session (GA4 publishes no per-user method) |
{
"name": "create_analytics_key_event",
"title": "Mark a GA4 event as a key event (conversion)",
"description": "Mark an event GA4 ALREADY COLLECTS as a KEY EVENT — what GA4 calls a conversion since the 2024 rename (the resource is keyEvents; the old conversionEvents spelling is deprecated). This is what makes an event countable as a result in reports and importable into Google Ads as a conversion. THE EVENT NAME MUST MATCH AN EVENT THE SITE ALREADY SENDS (\"purchase\", \"generate_lead\", \"sign_up\", or a custom one) — marking an event that is never fired creates a key event that can never fire, so check list_analytics_definitions or an analytics_report broken down by eventName first. countingMethod ONCE_PER_EVENT counts EVERY occurrence; ONCE_PER_SESSION counts the event at most ONCE PER SESSION, however many times it fires in that session. Those are the only two GA4 accepts — there is no per-USER counting method, and asking for one is refused rather than quietly counted per event. The result is READ BACK from Google, never echoed from the request. The property is the NUMERIC id from list_analytics_properties. Needs the Google Analytics connection to have edit access on the property.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property",
"eventName"
],
"properties": {
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name"
},
"eventName": {
"type": "string",
"description": "an event GA4 already collects, e.g. \"purchase\" / \"generate_lead\" / \"sign_up\""
},
"countingMethod": {
"enum": [
"ONCE_PER_EVENT",
"ONCE_PER_SESSION"
],
"type": "string",
"description": "default ONCE_PER_EVENT; ONCE_PER_SESSION counts at most once per session (GA4 publishes no per-user method)"
}
}
},
"annotations": {
"title": "Mark a GA4 event as a key event (conversion)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Register an event parameter the site ALREADY SENDS as a custom dimension, so reports can break down by it (plan tier, content category, logged-in state…). TWO THINGS TO TELL THE USER BEFORE CALLING: a GA4 custom dimension CANNOT BE DELETED — only archived — and a property is capped at 50 EVENT-scoped dimensions, so a duplicate or a typo permanently burns one of them. Call list_analytics_definitions first to see what already exists. GET THE TWO NAMES THE RIGHT WAY ROUND: parameterName is the event parameter GA4 is already collecting (e.g. "customer_tier") and displayName is only the label shown in reports — swapping them silently produces a dimension that always reads "(not set)". Registering a dimension is NOT retroactive: it only collects from the moment it is created. The property is the NUMERIC id from list_analytics_properties. Needs the Google Analytics connection to have edit access on the property.
| Parameter | Type | Description |
|---|---|---|
| scope | string | default EVENT. The 50-dimension cap applies to EVENT scope |
| property * | string | the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name |
| description | string | optional description, ≤150 characters |
| displayName | string | the label shown in GA4 reports — defaults to parameterName |
| parameterName * | string | the event parameter GA4 already collects, e.g. "customer_tier" — NOT the report label |
THE VOCABULARY OF ONE PROPERTY — every dimension and metric analytics_report will accept on it, INCLUDING that property's own custom dimensions, each with its api name and its human label. Use this instead of guessing an api name: GA4 publishes hundreds and they are not memorable (sessions broken down by landing page is `landingPage`, revenue is `totalRevenue`, the channel grouping is `sessionDefaultChannelGroup`), and a wrong name is an error mid-conversation rather than a suggestion. analytics_report deliberately forwards names AS GIVEN — it never validates against a copied list, because that list would go stale and start refusing names Google accepts — so THIS is where a name is checked. PASS `search` almost always: unfiltered this returns several hundred rows, and a search matches both the api name and the label ("revenue", "campaign", "device"). Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| search | string | substring filter over api name AND human label, e.g. "revenue", "campaign", "landing" — strongly recommended, since the unfiltered vocabulary is several hundred entries |
| property * | string | the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name |
{
"name": "list_analytics_metadata",
"title": "What a GA4 property can be asked",
"description": "THE VOCABULARY OF ONE PROPERTY — every dimension and metric analytics_report will accept on it, INCLUDING that property's own custom dimensions, each with its api name and its human label. Use this instead of guessing an api name: GA4 publishes hundreds and they are not memorable (sessions broken down by landing page is `landingPage`, revenue is `totalRevenue`, the channel grouping is `sessionDefaultChannelGroup`), and a wrong name is an error mid-conversation rather than a suggestion. analytics_report deliberately forwards names AS GIVEN — it never validates against a copied list, because that list would go stale and start refusing names Google accepts — so THIS is where a name is checked. PASS `search` almost always: unfiltered this returns several hundred rows, and a search matches both the api name and the label (\"revenue\", \"campaign\", \"device\"). Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"search": {
"type": "string",
"description": "substring filter over api name AND human label, e.g. \"revenue\", \"campaign\", \"landing\" — strongly recommended, since the unfiltered vocabulary is several hundred entries"
},
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name"
}
}
},
"annotations": {
"title": "What a GA4 property can be asked",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}THE ONLY WAY TO RETIRE A CUSTOM DIMENSION, and it is ONE-WAY. GA4 publishes no delete and no un-archive for custom dimensions anywhere in its API — archiving is permanent through every programmatic surface — so this is how a typo'd or duplicate dimension is cleared, and it also frees the slot it was holding against the 50-event-scoped cap. Reports lose the ability to break down by it. CALLED WITHOUT `confirm` IT ARCHIVES NOTHING and instead reports what the dimension actually is, read back from Google — check that against what the user asked for before confirming, because naming the right dimension is the only thing `confirm` cannot prove. Identify it by its parameterName (the event parameter), which list_analytics_definitions lists. Needs edit access on the property.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | must be true to actually archive. Without it nothing changes and the dimension is described back to you |
| property * | string | the NUMERIC GA4 property id from list_analytics_properties |
| parameterName * | string | the event parameter of the dimension to archive, e.g. "customer_tier" — from list_analytics_definitions, NOT the report label |
{
"name": "archive_analytics_custom_dimension",
"title": "Archive a GA4 custom dimension",
"description": "THE ONLY WAY TO RETIRE A CUSTOM DIMENSION, and it is ONE-WAY. GA4 publishes no delete and no un-archive for custom dimensions anywhere in its API — archiving is permanent through every programmatic surface — so this is how a typo'd or duplicate dimension is cleared, and it also frees the slot it was holding against the 50-event-scoped cap. Reports lose the ability to break down by it. CALLED WITHOUT `confirm` IT ARCHIVES NOTHING and instead reports what the dimension actually is, read back from Google — check that against what the user asked for before confirming, because naming the right dimension is the only thing `confirm` cannot prove. Identify it by its parameterName (the event parameter), which list_analytics_definitions lists. Needs edit access on the property.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property",
"parameterName"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "must be true to actually archive. Without it nothing changes and the dimension is described back to you"
},
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id from list_analytics_properties"
},
"parameterName": {
"type": "string",
"description": "the event parameter of the dimension to archive, e.g. \"customer_tier\" — from list_analytics_definitions, NOT the report label"
}
}
},
"annotations": {
"title": "Archive a GA4 custom dimension",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}REMOVE A KEY EVENT — the reverse of create_analytics_key_event, and note the ASYMMETRY with custom dimensions: a key event really can be DELETED, where a custom dimension can only be archived. Nothing is destroyed — GA4 keeps collecting the underlying event and keeps all of its history, this only stops it counting as a conversion, and it can be marked again at any time. Use it for an event marked as a conversion by mistake, or one that should no longer be optimised toward. BE AWARE IT REACHES FURTHER THAN GA4: anything importing this conversion — Google Ads smart bidding in particular — stops receiving it, which changes how campaigns bid. Called without `confirm` it deletes nothing and describes the key event back to you. Needs edit access on the property.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | must be true to actually delete. Without it nothing changes and the key event is described back to you |
| property * | string | the NUMERIC GA4 property id from list_analytics_properties |
| eventName * | string | the key event to stop counting, e.g. "sign_up" — from list_analytics_definitions |
{
"name": "delete_analytics_key_event",
"title": "Stop counting a GA4 event as a conversion",
"description": "REMOVE A KEY EVENT — the reverse of create_analytics_key_event, and note the ASYMMETRY with custom dimensions: a key event really can be DELETED, where a custom dimension can only be archived. Nothing is destroyed — GA4 keeps collecting the underlying event and keeps all of its history, this only stops it counting as a conversion, and it can be marked again at any time. Use it for an event marked as a conversion by mistake, or one that should no longer be optimised toward. BE AWARE IT REACHES FURTHER THAN GA4: anything importing this conversion — Google Ads smart bidding in particular — stops receiving it, which changes how campaigns bid. Called without `confirm` it deletes nothing and describes the key event back to you. Needs edit access on the property.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property",
"eventName"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "must be true to actually delete. Without it nothing changes and the key event is described back to you"
},
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id from list_analytics_properties"
},
"eventName": {
"type": "string",
"description": "the key event to stop counting, e.g. \"sign_up\" — from list_analytics_definitions"
}
}
},
"annotations": {
"title": "Stop counting a GA4 event as a conversion",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Register an event parameter the site ALREADY SENDS as a GA4 custom METRIC, so reports can SUM or AVERAGE it. This is the other half of the pair: a custom DIMENSION makes a value something you can group BY, a custom METRIC makes it something you can TOTAL — 'order_value' as a dimension gives you a list of prices, as a metric it gives you revenue. TELL THE USER TWO THINGS BEFORE CALLING: a GA4 custom metric CANNOT be deleted, only archived, and a property is capped at 50 (125 on Analytics 360) — a duplicate or a typo permanently burns a slot, so run list_analytics_definitions first, which lists metrics beside dimensions. measurementUnit IS REQUIRED and is never guessed for you: STANDARD for a plain count or quantity, CURRENCY for money, SECONDS/MINUTES/HOURS for durations. CURRENCY additionally REQUIRES restrictedMetricType (REVENUE_DATA for money coming in, COST_DATA for money going out) and every other unit REFUSES it — both directions are refused before the call is made, because Google's own error names neither field. METRICS ARE EVENT-SCOPED ONLY, unlike dimensions, which take EVENT | USER | ITEM. Not retroactive: it collects from creation onward. The result is READ BACK from Google, never echoed from the request. Needs edit access on the property. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| scope | string | EVENT is the only scope GA4 accepts for a metric, and it is immutable |
| property * | string | NUMERIC GA4 property id from list_analytics_properties — never the G-XXXXXXX Measurement ID |
| description | string | ≤150 characters |
| displayName | string | the label shown in reports; defaults to parameterName, max 82 characters |
| parameterName * | string |
THE ONLY WAY TO RETIRE A GA4 CUSTOM METRIC, and it is ONE-WAY: GA4 publishes no delete and no un-archive for custom metrics anywhere in its API, exactly as for dimensions, so archiving is permanent through every programmatic surface. It frees the slot against the 50-per-property cap, and reports lose the ability to sum or average it. WITHOUT `confirm` IT ARCHIVES NOTHING and instead describes the metric read back from Google — check that against what the user asked for before confirming, because naming the RIGHT metric is the one thing confirm cannot prove. Identify it by parameterName (from list_analytics_definitions), not the report label. A custom DIMENSION of the same name is a DIFFERENT resource and needs archive_analytics_custom_dimension. Needs edit access. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | must be true to actually archive — without it nothing is archived and the metric is described back to you |
| property * | string | NUMERIC GA4 property id |
| parameterName * | string | the event parameter of the metric to archive, e.g. 'order_value' |
{
"name": "archive_analytics_custom_metric",
"title": "Archive a GA4 custom metric (one-way)",
"description": "THE ONLY WAY TO RETIRE A GA4 CUSTOM METRIC, and it is ONE-WAY: GA4 publishes no delete and no un-archive for custom metrics anywhere in its API, exactly as for dimensions, so archiving is permanent through every programmatic surface. It frees the slot against the 50-per-property cap, and reports lose the ability to sum or average it. WITHOUT `confirm` IT ARCHIVES NOTHING and instead describes the metric read back from Google — check that against what the user asked for before confirming, because naming the RIGHT metric is the one thing confirm cannot prove. Identify it by parameterName (from list_analytics_definitions), not the report label. A custom DIMENSION of the same name is a DIFFERENT resource and needs archive_analytics_custom_dimension. Needs edit access. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property",
"parameterName"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "must be true to actually archive — without it nothing is archived and the metric is described back to you"
},
"property": {
"type": "string",
"description": "NUMERIC GA4 property id"
},
"parameterName": {
"type": "string",
"description": "the event parameter of the metric to archive, e.g. 'order_value'"
}
}
},
"annotations": {
"title": "Archive a GA4 custom metric (one-way)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}FREE PRE-FLIGHT FOR analytics_report — ask Google whether these dimensions and metrics can appear in ONE report together, BEFORE running the report that would fail. Use it whenever a report combines fields you have not combined before, and especially when one of them is a custom dimension: GA4 has real pairs that are each perfectly valid alone and cannot be queried together, and `analytics_report` deliberately forwards names AS GIVEN (GA4 publishes hundreds of dimensions and every property ships its own custom ones, so validating against a copied list would go stale and start REFUSING names Google accepts). Pass EXACTLY what you would pass to analytics_report — same metrics, same dimensions, same filters — and it returns which fields are INCOMPATIBLE so you can drop one and run the real report once. IT DOES NOT CHECK THAT A NAME EXISTS: an unknown api name is refused by Google outright, and list_analytics_metadata is what resolves names. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| metrics | array | the same metrics you would send to analytics_report (defaults to the same three it defaults to) |
| property * | string | NUMERIC GA4 property id |
| dimensions | array | the same dimensions you would send to analytics_report |
| metricFilter | object | the same GA4 FilterExpression you would send to analytics_report |
| dimensionFilter | object | the same GA4 FilterExpression you would send to analytics_report |
| compatibilityFilter |
Which Google Ads accounts a GA4 property is linked to, and whether each link has PERSONALIZED ADVERTISING on — the flag that decides whether GA4 audiences and remarketing events reach Google Ads at all. RUN THIS BEFORE two claims: that a GA4 audience can be remarketed to, and that a Google Ads campaign's missing conversion data is a Google Ads problem. For a GA4-first advertiser the conversions come from this link, so an unlinked property is the usual cause and no error anywhere says so. Read-only, 0 credits. Needs Google Analytics connected.
| Parameter | Type | Description |
|---|---|---|
| property * | string | the NUMERIC GA4 property id from list_analytics_properties — never the G-XXXXXXX Measurement ID |
{
"name": "list_analytics_google_ads_links",
"title": "Which Google Ads accounts a GA4 property is linked to",
"description": "Which Google Ads accounts a GA4 property is linked to, and whether each link has PERSONALIZED ADVERTISING on — the flag that decides whether GA4 audiences and remarketing events reach Google Ads at all. RUN THIS BEFORE two claims: that a GA4 audience can be remarketed to, and that a Google Ads campaign's missing conversion data is a Google Ads problem. For a GA4-first advertiser the conversions come from this link, so an unlinked property is the usual cause and no error anywhere says so. Read-only, 0 credits. Needs Google Analytics connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id from list_analytics_properties — never the G-XXXXXXX Measurement ID"
}
}
},
"annotations": {
"title": "Which Google Ads accounts a GA4 property is linked to",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}LINK a GA4 property to a Google Ads account. This is the prerequisite for two things users constantly ask for and cannot otherwise have: importing GA4 key events as Google Ads CONVERSIONS — which is what gets a smart-bidding campaign past the conversion-tracking refusal for a GA4-first advertiser — and using a GA4 AUDIENCE for remarketing. RE-LINKING AN ACCOUNT THAT IS ALREADY LINKED IS NOT AN ERROR: it reports that and changes nothing, because this is exactly the call an agent makes when something downstream is not working. adsPersonalizationEnabled DEFAULTS TO TRUE deliberately — a link with it off is the silent dead end where the audience exists in GA4 and never appears in Google Ads, with nothing reporting an error. The connected Google account needs EDIT on the GA4 property AND admin on the Google Ads account; without the second Google refuses and the refusal reads like a Hermoso fault. Google can take 24-48 hours before an audience shows up on the other side. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| property * | string | the NUMERIC GA4 property id from list_analytics_properties |
| customerId * | string | the 10-digit Google Ads customer id shown top-right in Google Ads; dashes optional |
| adsPersonalizationEnabled | boolean | defaults to TRUE. Only set false for measurement-only linking — it disables remarketing |
{
"name": "link_google_ads_to_analytics",
"title": "Link a GA4 property to a Google Ads account",
"description": "LINK a GA4 property to a Google Ads account. This is the prerequisite for two things users constantly ask for and cannot otherwise have: importing GA4 key events as Google Ads CONVERSIONS — which is what gets a smart-bidding campaign past the conversion-tracking refusal for a GA4-first advertiser — and using a GA4 AUDIENCE for remarketing. RE-LINKING AN ACCOUNT THAT IS ALREADY LINKED IS NOT AN ERROR: it reports that and changes nothing, because this is exactly the call an agent makes when something downstream is not working. adsPersonalizationEnabled DEFAULTS TO TRUE deliberately — a link with it off is the silent dead end where the audience exists in GA4 and never appears in Google Ads, with nothing reporting an error. The connected Google account needs EDIT on the GA4 property AND admin on the Google Ads account; without the second Google refuses and the refusal reads like a Hermoso fault. Google can take 24-48 hours before an audience shows up on the other side. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property",
"customerId"
],
"properties": {
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id from list_analytics_properties"
},
"customerId": {
"type": "string",
"description": "the 10-digit Google Ads customer id shown top-right in Google Ads; dashes optional"
},
"adsPersonalizationEnabled": {
"type": "boolean",
"description": "defaults to TRUE. Only set false for measurement-only linking — it disables remarketing"
}
}
},
"annotations": {
"title": "Link a GA4 property to a Google Ads account",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}REMOVE the link between a GA4 property and a Google Ads account. The link itself is trivially re-creatable, which is why this is not a one-way-door gate — but what breaks downstream is not: every campaign bidding on a conversion imported from this property loses that signal, and every remarketing list built from a GA4 audience stops refreshing. WITHOUT `confirm` IT CHANGES NOTHING and reports what is actually attached, read back from Google, including whether it is a MANAGER account (in which case the link covers every account underneath). 0 credits.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | must be true to actually unlink — without it nothing changes and the link is described back to you |
| property * | string | the NUMERIC GA4 property id |
| customerId * | string | the Google Ads customer id, from list_analytics_google_ads_links |
{
"name": "unlink_google_ads_from_analytics",
"title": "Unlink Google Ads from a GA4 property",
"description": "REMOVE the link between a GA4 property and a Google Ads account. The link itself is trivially re-creatable, which is why this is not a one-way-door gate — but what breaks downstream is not: every campaign bidding on a conversion imported from this property loses that signal, and every remarketing list built from a GA4 audience stops refreshing. WITHOUT `confirm` IT CHANGES NOTHING and reports what is actually attached, read back from Google, including whether it is a MANAGER account (in which case the link covers every account underneath). 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property",
"customerId"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "must be true to actually unlink — without it nothing changes and the link is described back to you"
},
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id"
},
"customerId": {
"type": "string",
"description": "the Google Ads customer id, from list_analytics_google_ads_links"
}
}
},
"annotations": {
"title": "Unlink Google Ads from a GA4 property",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}The GA4 audiences (remarketing lists) on a property, WITH whether they can actually be used in Google Ads — it reads the Google Ads link state alongside them, because an audience on an unlinked property is a silent dead end that reports no error anywhere. ARCHIVED audiences are not listed, so absence here is not proof one never existed. GA4's PREDEFINED audiences ('All Users', 'Purchasers') ARE returned — verified live against a real property — and they come back with clauseCount 0, because Google defines them internally rather than with filter clauses; that is normal and is not a broken audience. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| property * | string | the NUMERIC GA4 property id |
{
"name": "list_analytics_audiences",
"title": "List the GA4 audiences on a property",
"description": "The GA4 audiences (remarketing lists) on a property, WITH whether they can actually be used in Google Ads — it reads the Google Ads link state alongside them, because an audience on an unlinked property is a silent dead end that reports no error anywhere. ARCHIVED audiences are not listed, so absence here is not proof one never existed. GA4's PREDEFINED audiences ('All Users', 'Purchasers') ARE returned — verified live against a real property — and they come back with clauseCount 0, because Google defines them internally rather than with filter clauses; that is normal and is not a broken audience. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id"
}
}
},
"annotations": {
"title": "List the GA4 audiences on a property",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}BUILD A GA4 AUDIENCE — a remarketing list defined by what people did on the site, which flows into Google Ads across the property's Google Ads link. TELL THE USER TWO THINGS BEFORE CALLING: GA4 marks the DEFINITION, the MEMBERSHIP DURATION and every filter SCOPE immutable, so a wrong audience is archived and rebuilt rather than edited; and it is NOT retroactive — it starts collecting members from creation onward, and Google takes 24-48 hours to populate it. `filterClauses` is GA4's own nested shape and the TOP level of each filterExpression MUST be a single `andGroup` (Google's schema says so and its rejection names no field). Worked example, 'everyone who fired purchase': [{"clauseType":"INCLUDE","simpleFilter":{"scope":"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS","filterExpression":{"andGroup":{"filterExpressions":[{"orGroup":{"filterExpressions":[{"eventFilter":{"eventName":"purchase"}}]}}]}}}}]. The result says whether the property is linked to Google Ads, because an audience nobody can remarket to is not a finished job. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| property * | string | the NUMERIC GA4 property id |
| description * | string | REQUIRED by Google on the Audience resource — one line saying who is in it |
| displayName * | string | the audience name shown in GA4 and in Google Ads |
| eventTrigger | object | optional {eventName, logCondition} event GA4 logs when a user joins the audience |
| filterClauses * | array | GA4 AudienceFilterClause list — each {clauseType:INCLUDE|EXCLUDE, simpleFilter|sequenceFilter}. See the worked example in the description |
The GA4 data streams on a property, with the measurement ID (G-...) each one carries and how many Measurement Protocol secrets it already has. THIS IS WHERE A GTAG OR GTM INSTALL GETS ITS ID, and it is the first call before sending any server-side event. A web stream has a measurementId; an app stream has none and uses its firebaseAppId instead, so do not report an app stream as broken for having no G- id. A stream whose secret count could not be read comes back as null, which means unknown and not zero. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| property * | string | NUMERIC GA4 property id, from list_analytics_properties |
{
"name": "list_analytics_data_streams",
"title": "GA4 data streams",
"description": "The GA4 data streams on a property, with the measurement ID (G-...) each one carries and how many Measurement Protocol secrets it already has. THIS IS WHERE A GTAG OR GTM INSTALL GETS ITS ID, and it is the first call before sending any server-side event. A web stream has a measurementId; an app stream has none and uses its firebaseAppId instead, so do not report an app stream as broken for having no G- id. A stream whose secret count could not be read comes back as null, which means unknown and not zero. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"property": {
"type": "string",
"description": "NUMERIC GA4 property id, from list_analytics_properties"
}
}
},
"annotations": {
"title": "GA4 data streams",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}THE GTAG SNIPPET TO PASTE, plus what that web stream is actually set to collect. list_analytics_data_streams gives the measurement ID and stops one step short of what someone installing GA4 needs, which is the finished <script> block — Google returns it verbatim and marks it immutable. The same call answers the two questions that come next: whether ENHANCED MEASUREMENT is collecting scrolls, outbound clicks, site search, video, downloads, form interactions and single-page-app page views, and whether client-side REDACTION is stripping emails or query parameters out of recorded URLs. Read the master switch before believing a toggle: if enhanced measurement is off for the stream, every individual toggle is inert whatever it says. WEB STREAMS ONLY — all three resources are web-stream resources, and an app stream is refused by name with what it has instead. Any half that could not be read comes back null, which means unknown and not off. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| property * | string | NUMERIC GA4 property id, from list_analytics_properties |
| dataStream | string | stream id, measurement id or display name. Optional when the property has exactly one stream |
{
"name": "get_analytics_stream_setup",
"title": "GA4 install tag and stream settings",
"description": "THE GTAG SNIPPET TO PASTE, plus what that web stream is actually set to collect. list_analytics_data_streams gives the measurement ID and stops one step short of what someone installing GA4 needs, which is the finished <script> block — Google returns it verbatim and marks it immutable. The same call answers the two questions that come next: whether ENHANCED MEASUREMENT is collecting scrolls, outbound clicks, site search, video, downloads, form interactions and single-page-app page views, and whether client-side REDACTION is stripping emails or query parameters out of recorded URLs. Read the master switch before believing a toggle: if enhanced measurement is off for the stream, every individual toggle is inert whatever it says. WEB STREAMS ONLY — all three resources are web-stream resources, and an app stream is refused by name with what it has instead. Any half that could not be read comes back null, which means unknown and not off. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"property": {
"type": "string",
"description": "NUMERIC GA4 property id, from list_analytics_properties"
},
"dataStream": {
"type": "string",
"description": "stream id, measurement id or display name. Optional when the property has exactly one stream"
}
}
},
"annotations": {
"title": "GA4 install tag and stream settings",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}THE SERVER-SIDE EVENT CHANNEL FOR GA4, the Google twin of the conversions APIs Hermoso already ships for Reddit, Snapchat and OpenAI Ads. A Measurement Protocol secret is the api_secret half of https://www.google-analytics.com/mp/collect; the other half is the stream's measurementId for a web stream or its firebaseAppId for an app stream, and this tool reports whichever applies. action:"list" shows every secret with its value, action:"create" mints one (displayName is required, and it is the ONLY label a secret ever gets because the values are opaque), action:"delete" revokes one and NEEDS confirm:true. TELL THE USER THIS BEFORE THEY DELETE: there is no rotation anywhere in the API, because the value is output-only and patch reaches only the display name. A delete takes effect at once, and anything still sending with the old value stops being recorded SILENTLY, since the Measurement Protocol answers a bad api_secret with a 2xx and drops the hit. Rotating safely means create the new one, move every sender across, then delete the old one. Free.
| Parameter | Type | Description |
|---|---|---|
| action | string | defaults to 'list' |
| confirm | boolean | must be true to actually delete |
| property * | string | NUMERIC GA4 property id |
| secretId | string | for action:'delete', from action:'list' — preferred over displayName because it is unambiguous |
| dataStream | string | stream id, measurement id or display name. Optional when the property has exactly one stream; required when it has several, and an ambiguous name is refused rather than first-matched |
| displayName |
ARCHIVE a GA4 audience, and it is ONE-WAY: GA4 publishes no delete and no un-archive anywhere in its API. Any Google Ads remarketing list sourced from it stops refreshing, and because the definition is IMMUTABLE the audience cannot be recovered by editing — rebuilding means a NEW audience that starts collecting members from scratch, so months of accumulated membership are gone. WITHOUT `confirm` IT ARCHIVES NOTHING and describes the audience read back from Google; check that against what the user asked for, because naming the right audience is the one thing confirm cannot prove. An ambiguous displayName is REFUSED rather than first-matched — GA4 does not enforce unique names and there is no way back. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | must be true to actually archive |
| property * | string | the NUMERIC GA4 property id |
| audienceId | string | from list_analytics_audiences — preferred, because it is unambiguous |
| displayName | string | the audience name, if the id is not to hand. Refused when it matches more than one |
{
"name": "archive_analytics_audience",
"title": "Archive a GA4 audience (one-way)",
"description": "ARCHIVE a GA4 audience, and it is ONE-WAY: GA4 publishes no delete and no un-archive anywhere in its API. Any Google Ads remarketing list sourced from it stops refreshing, and because the definition is IMMUTABLE the audience cannot be recovered by editing — rebuilding means a NEW audience that starts collecting members from scratch, so months of accumulated membership are gone. WITHOUT `confirm` IT ARCHIVES NOTHING and describes the audience read back from Google; check that against what the user asked for, because naming the right audience is the one thing confirm cannot prove. An ambiguous displayName is REFUSED rather than first-matched — GA4 does not enforce unique names and there is no way back. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "must be true to actually archive"
},
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id"
},
"audienceId": {
"type": "string",
"description": "from list_analytics_audiences — preferred, because it is unambiguous"
},
"displayName": {
"type": "string",
"description": "the audience name, if the id is not to hand. Refused when it matches more than one"
}
}
},
"annotations": {
"title": "Archive a GA4 audience (one-way)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}HOW GA4 DECIDES WHICH BUCKET A CLICK LANDS IN, which is the number an ad studio is judged on and the answer to "why is my campaign showing as Unassigned". action:'list' reads every group with its channels in the order GA4 tests them, including Google's own Default channel group — read that first, because a campaign landing in the wrong channel is a rule that does not match rather than missing data. 'create' authors your own group, 'update' changes one, 'delete' removes one (confirm-gated). AUTHORING: `channels` is an ordered list, each with a name and its conditions, and GA4 STOPS AT THE FIRST RULE THAT MATCHES — so a broad rule above a narrow one silently swallows it. A condition is {fieldName, matchType, value} or {fieldName, values:[…]} for a list, plus not:true to invert; an entry that is itself an ARRAY of conditions is OR'ed, and separate entries are AND'ed. THE FIELD NAMES ARE NOT THE REPORT DIMENSIONS: use eachScopeSource, eachScopeMedium, eachScopeCampaignName, eachScopeCampaignId, eachScopeSourcePlatform or eachScopeDefaultChannelGroup — sessionSource, medium and the rest are real GA4 dimensions that Google REFUSES here, and its refusal does not say what to use instead. `primary:true` makes the group the one every report is bucketed by AND unsets whichever group was primary before. Google's own Default channel group cannot be edited and is refused by name. An update REPLACES the whole rule set. Free.
| Parameter | Type | Description |
|---|---|---|
| action | string | defaults to 'list' |
| confirm | boolean | must be true to actually delete |
| primary | boolean | make this the group reports are bucketed by. It unsets the previous primary group, changing what every report in the property shows |
| channels | array | ordered list of {name, conditions:[…]}. Required to create. On update it REPLACES every channel, so send the ones you want to keep |
THE DERIVED NUMBER A MARKETER ACTUALLY REPORTS — cost per purchase, revenue per session, a margin — built from metrics GA4 already collects and then available to analytics_report like any other metric. action:'list' reads them, 'create' adds one, 'update' changes the formula, name, unit or description, 'delete' removes one (confirm-gated). THE ID IS CHOSEN ONCE AND IS PERMANENT: calculatedMetricId becomes the API name reports ask for (calcMetric:your_id), Google marks it output-only afterwards, and renaming is refused by name rather than silently ignored — so pick it deliberately. The formula takes + - * / and parentheses over metric names and plain numbers, referencing at most 5 unique custom metrics; Google answers a syntax error with the exact position. WATCH invalidMetricReference ON THE WAY BACK: a formula naming a metric this property does not collect is created happily and flagged invalid, and any report using it may fail or return unexpected numbers — report that rather than a clean success. Free.
| Parameter | Type | Description |
|---|---|---|
| action | string | defaults to 'list' |
| confirm | boolean | must be true to actually delete |
| formula | string | e.g. "advertiserAdCost / conversions". Required to create |
| property * | string | NUMERIC GA4 property id, from list_analytics_properties |
| metricUnit | string | STANDARD | CURRENCY | FEET | MILES | METERS | KILOMETERS | MILLISECONDS | SECONDS | MINUTES | HOURS. Required to create |
| description | string | max 4096 characters |
MARK WHAT YOU DID ON THE CUSTOMER'S OWN GA4 CHARTS — "ad launched", "post went out", "price change" — so the traffic it moved is visible where they already look. action:'list' reads them (Google's own system annotations included, which cannot be edited or deleted), 'create' adds one on a single date or a startDate–endDate range, 'update' changes one, 'delete' removes one (confirm-gated). color: PURPLE BROWN BLUE GREEN RED CYAN ORANGE (default BLUE). Every write is read back. Free.
| Parameter | Type | Description |
|---|---|---|
| date | string | YYYY-MM-DD — one day |
| color | string | chart colour; default BLUE |
| title | string | the label on the chart. Required to create |
| action | string | defaults to 'list' |
| confirm | boolean | must be true to actually delete |
| endDate | string | last day of a range, YYYY-MM-DD; use with startDate instead of date |
| property * | string | NUMERIC GA4 property id, from list_analytics_properties |
| startDate | string | YYYY-MM-DD — a range, with endDate |
| description | string |
HOW LONG GA4 KEEPS EVENT- AND USER-LEVEL DATA. The default is 2 months, which silently caps every exploration and funnel at the last two months; standard reports are unaffected. action:'get' reads it; 'set' changes eventDataRetention / userDataRetention (2 or 14 months on a standard property; 26, 38, 50 for event data on Analytics 360 only) and resetUserDataOnNewActivity. RAISING applies to data already collected. LOWERING DELETES the older data at Google's next monthly run and cannot be undone, so it answers needsConfirm first — show the user, get a yes, then confirm:true. Read back. Free.
| Parameter | Type | Description |
|---|---|---|
| action | string | defaults to 'get' |
| confirm | boolean | required when the change SHORTENS retention, which deletes data |
| property * | string | NUMERIC GA4 property id, from list_analytics_properties |
| userDataRetention | string | months: 2 or 14 |
| eventDataRetention | string | months: 2 or 14 (26/38/50 Analytics 360 only), or the enum e.g. FOURTEEN_MONTHS |
| resetUserDataOnNewActivity | boolean | true = a user's data retention window restarts each time that user shows new activity |
The Google Tag Manager containers SHARED WITH THIS PROFILE, with the exact containerPath every other Tag Manager tool needs. CALL THIS FIRST. A container is addressed by PATH, "accounts/<id>/containers/<id>", never by the GTM-XXXXXX public id a human reads off the snippet: no Tag Manager method accepts the public id, so passing one is refused. Each row carries the public id beside the path so you can match what the user says to what the API wants. THIS IS NOT EVERY CONTAINER THE GOOGLE ACCOUNT CAN SEE: one agency login routinely administers every client's container, and a container is not data about a client, it is control of what runs on their website, so the user ticks which containers belong to THIS profile and only those are reachable. An empty list means nothing is ticked yet: say so and point the user at Connectors, Google Tag Manager, Manage accounts (or call list_connector_accounts with provider google_tag_manager, then set_connector_accounts). Never name or guess a container. Read-only, free. Read-only, 0 credits. Needs Google Tag Manager connected.
No parameters.
{
"name": "list_tag_manager_containers",
"title": "List the Tag Manager containers shared with this profile",
"description": "The Google Tag Manager containers SHARED WITH THIS PROFILE, with the exact containerPath every other Tag Manager tool needs. CALL THIS FIRST. A container is addressed by PATH, \"accounts/<id>/containers/<id>\", never by the GTM-XXXXXX public id a human reads off the snippet: no Tag Manager method accepts the public id, so passing one is refused. Each row carries the public id beside the path so you can match what the user says to what the API wants. THIS IS NOT EVERY CONTAINER THE GOOGLE ACCOUNT CAN SEE: one agency login routinely administers every client's container, and a container is not data about a client, it is control of what runs on their website, so the user ticks which containers belong to THIS profile and only those are reachable. An empty list means nothing is ticked yet: say so and point the user at Connectors, Google Tag Manager, Manage accounts (or call list_connector_accounts with provider google_tag_manager, then set_connector_accounts). Never name or guess a container. Read-only, free. Read-only, 0 credits. Needs Google Tag Manager connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List the Tag Manager containers shared with this profile",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}WHAT IS ACTUALLY FIRING ON THE SITE. Every tag in the container's workspace with its type, whether it is paused, which triggers fire it by name, and the one field that matters most: whether each tag is LIVE on the website or only STAGED in a draft. Also returns the container's triggers so you can reuse one instead of creating a duplicate. USE THIS TO ANSWER "is conversion tracking actually working": a Google Ads conversion action created by create_google_ads_conversion_action records nothing until a tag in this container fires it, and this is the only way to see whether that tag exists, whether it is paused, and whether it has been published. THREE VALUES FOR live, AND THEY ARE DIFFERENT ANSWERS: true means it is in the published container version and running, false means it is staged and NOT running yet, and null means the published version could not be read so you cannot tell. Never report null as false. If the response says the container has never been published, nothing in it is running at all. Read-only, free. 0 credits. Needs Google Tag Manager connected.
| Parameter | Type | Description |
|---|---|---|
| workspace | string | older name for gtmWorkspace (MCP only) |
| gtmWorkspace | string | Tag Manager workspace id or name. Defaults to the Default Workspace, and the answer always states which one it read. |
| containerPath * | string | the "accounts/<id>/containers/<id>" path from list_tag_manager_containers, never the GTM-XXXXXX public id, and it must be one SHARED with this profile |
{
"name": "list_tag_manager_tags",
"title": "What is actually firing on the site",
"description": "WHAT IS ACTUALLY FIRING ON THE SITE. Every tag in the container's workspace with its type, whether it is paused, which triggers fire it by name, and the one field that matters most: whether each tag is LIVE on the website or only STAGED in a draft. Also returns the container's triggers so you can reuse one instead of creating a duplicate. USE THIS TO ANSWER \"is conversion tracking actually working\": a Google Ads conversion action created by create_google_ads_conversion_action records nothing until a tag in this container fires it, and this is the only way to see whether that tag exists, whether it is paused, and whether it has been published. THREE VALUES FOR live, AND THEY ARE DIFFERENT ANSWERS: true means it is in the published container version and running, false means it is staged and NOT running yet, and null means the published version could not be read so you cannot tell. Never report null as false. If the response says the container has never been published, nothing in it is running at all. Read-only, free. 0 credits. Needs Google Tag Manager connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"containerPath"
],
"properties": {
"workspace": {
"type": "string",
"description": "older name for gtmWorkspace (MCP only)"
},
"gtmWorkspace": {
"type": "string",
"description": "Tag Manager workspace id or name. Defaults to the Default Workspace, and the answer always states which one it read."
},
"containerPath": {
"type": "string",
"description": "the \"accounts/<id>/containers/<id>\" path from list_tag_manager_containers, never the GTM-XXXXXX public id, and it must be one SHARED with this profile"
}
}
},
"annotations": {
"title": "What is actually firing on the site",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}INSTALL A TAG in the container's draft workspace: a Google Ads conversion tag, a GA4 event, or a third-party pixel. IT DOES NOT GO LIVE. Everything written here lands in a WORKSPACE, which is a draft, and it does not run on the website until a human opens Tag Manager and publishes the container. Staging NEVER publishes: making a tag live is a separate, explicitly confirmed call (publish_tag_manager_container), because publishing changes what executes for every visitor on the live site. Always tell the user the change is staged, and that it does nothing until it is published. TWO THINGS YOU MUST GET FROM THE CONTAINER RATHER THAN INVENT. (1) type is a Tag Manager type string and Google publishes no machine-readable list of them, so Hermoso forwards whatever you pass rather than validating against a list that would go stale and start refusing real types. Get the right one by calling list_tag_manager_tags and copying the type off a tag of the same kind that already exists, or read it in Tag Manager. (2) firingTriggerId is required and must name at least one real trigger id from list_tag_manager_tags, because a tag with no trigger is installed and never runs, which is worse than not installing it. Use create_tag_manager_trigger if the container has no suitable trigger. 0 credits. Needs Google Tag Manager connected.
| Parameter | Type | Description |
|---|---|---|
| name * | string | what a human will look for in the Tag Manager UI |
| type * | string | the Tag Manager tag type string. Copy it off a tag of the same kind already in the container (list_tag_manager_tags) rather than guessing: Google publishes no machine-readable list of these. |
| notes | string | internal note stored on the tag; not shown on the website |
| paused | boolean | true = create the tag paused, so it does not fire |
CHANGE AN EXISTING TAG in the draft workspace: rename it, fix a wrong conversion id or label, move it onto a different trigger, or pause it. Like create_tag_manager_tag this lands in a DRAFT and does not reach the website until a human publishes the container. Hermoso reads the tag first and merges your change on top of it, because Tag Manager's update replaces the whole tag and sending only the changed field would silently strip its parameters and triggers. A tag's type cannot be changed: that is deleting one tag and creating another. If somebody edited the tag in Tag Manager after Hermoso read it the change is REFUSED rather than overwriting their edit, and the fix is to read it again and reapply. To stop a tag running, pause it rather than removing its trigger. 0 credits. Needs Google Tag Manager connected.
| Parameter | Type | Description |
|---|---|---|
| name | string | new tag name |
| notes | string | replaces the internal note on the tag |
| tagId * | string | the tagId from list_tag_manager_tags |
| paused | boolean | pause the tag rather than removing its trigger, which is how you stop one running |
| parameter | array | replaces the tag parameters: [{type, key, value}] |
| workspace | string | older name for gtmWorkspace (MCP only) |
| gtmWorkspace | string | Tag Manager workspace id or name; defaults to the Default Workspace |
CREATE A TRIGGER, the rule that decides when a tag fires, in the container's draft workspace. Use it when list_tag_manager_tags shows no trigger matching what a conversion needs, for example a purchase confirmation page or a dataLayer purchase event. A trigger on its own fires nothing: it has to be named in a tag's firingTriggerId, so create the trigger, then create or update the tag that uses it. Like every other write here it lands in a DRAFT and does not reach the website until a human publishes the container. type must be one of Tag Manager's own trigger types, and an unrecognised one is refused by name with the accepted list, for free, before any request. A customEvent trigger with no customEventFilter fires on EVERY dataLayer event in the container rather than the one you meant, so that is refused too. 0 credits. Needs Google Tag Manager connected.
| Parameter | Type | Description |
|---|---|---|
| name * | string | trigger name, as it appears in Tag Manager |
| type * | string | one of Tag Manager's own trigger types, e.g. pageview, domReady, windowLoaded, customEvent, formSubmission, linkClick, click, historyChange, scrollDepth, elementVisibility, timer. An unknown one is refused by name with the full list. |
| notes | string | internal note stored on the trigger |
| filter | array | Tag Manager Condition objects, each { type, parameter: [...] } |
| workspace | string | older name for gtmWorkspace (MCP only) |
| gtmWorkspace | string | Tag Manager workspace id or name; defaults to the Default Workspace |
THE CONTAINER'S VERSION HISTORY, and the thing to read before proposing to publish or to roll one back. Every version with its id, its name, how many tags, triggers and variables it holds, whether it is archived, and which one is LIVE on the site right now. This is what makes a publish reversible: pass a row's path as publish_tag_manager_container's versionPath to put that version back on the site. The live flag is three-valued — true, false, or null when Google would not tell us which version is live, and null must never be read as false. Read-only. 0 credits. Needs Google Tag Manager connected.
| Parameter | Type | Description |
|---|---|---|
| containerPath * | string | the "accounts/<id>/containers/<id>" path from list_tag_manager_containers, never the GTM-XXXXXXX public id |
{
"name": "list_tag_manager_versions",
"title": "Tag Manager version history",
"description": "THE CONTAINER'S VERSION HISTORY, and the thing to read before proposing to publish or to roll one back. Every version with its id, its name, how many tags, triggers and variables it holds, whether it is archived, and which one is LIVE on the site right now. This is what makes a publish reversible: pass a row's path as publish_tag_manager_container's versionPath to put that version back on the site. The live flag is three-valued — true, false, or null when Google would not tell us which version is live, and null must never be read as false. Read-only. 0 credits. Needs Google Tag Manager connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"containerPath"
],
"properties": {
"containerPath": {
"type": "string",
"description": "the \"accounts/<id>/containers/<id>\" path from list_tag_manager_containers, never the GTM-XXXXXXX public id"
}
}
},
"annotations": {
"title": "Tag Manager version history",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}WHAT WOULD HAPPEN IF YOU PUBLISHED — free, read-only, and it publishes nothing. Returns the container, the version live on the site right now and what it holds, the exact list of staged changes (added, updated, deleted) as Tag Manager itself reports them, any merge conflicts, and the one sentence to show a user before asking them to agree. Use it to answer 'what is waiting to go live?' without going anywhere near the publish call. publish_tag_manager_container without confirm returns the same facts, so this is for when you want them with no chance of a publish at all. 0 credits. Needs Google Tag Manager connected.
| Parameter | Type | Description |
|---|---|---|
| workspace | string | older name for gtmWorkspace (MCP only) |
| versionPath | string | optional — preview re-publishing an EXISTING version instead of the workspace |
| gtmWorkspace | string | Tag Manager workspace id or name; defaults to the Default Workspace |
| containerPath * | string | the "accounts/<id>/containers/<id>" path from list_tag_manager_containers |
{
"name": "preview_tag_manager_publish",
"title": "What would go live",
"description": "WHAT WOULD HAPPEN IF YOU PUBLISHED — free, read-only, and it publishes nothing. Returns the container, the version live on the site right now and what it holds, the exact list of staged changes (added, updated, deleted) as Tag Manager itself reports them, any merge conflicts, and the one sentence to show a user before asking them to agree. Use it to answer 'what is waiting to go live?' without going anywhere near the publish call. publish_tag_manager_container without confirm returns the same facts, so this is for when you want them with no chance of a publish at all. 0 credits. Needs Google Tag Manager connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"containerPath"
],
"properties": {
"workspace": {
"type": "string",
"description": "older name for gtmWorkspace (MCP only)"
},
"versionPath": {
"type": "string",
"description": "optional — preview re-publishing an EXISTING version instead of the workspace"
},
"gtmWorkspace": {
"type": "string",
"description": "Tag Manager workspace id or name; defaults to the Default Workspace"
},
"containerPath": {
"type": "string",
"description": "the \"accounts/<id>/containers/<id>\" path from list_tag_manager_containers"
}
}
},
"annotations": {
"title": "What would go live",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}PUBLISH THE CONTAINER — the ONE call in Hermoso that changes what runs on the customer's live website for every visitor, immediately. Tag Manager publishes a VERSION, so the draft workspace becomes a version, then that is published. CALLING IT WITHOUT confirm PUBLISHES NOTHING and is the correct first move: it returns what is live right now, its tag/trigger/variable counts, and exactly what would change, read back from Google. Show the user, get a yes, then call again. THE GATE SCALES WITH THE DAMAGE. A NEVER-published container needs only confirm:true. A container that ALREADY has a live version is replacing something that works, so it additionally needs confirmPublicId set to that container's GTM-XXXXXXX public id. It cannot be guessed; read it from list_tag_manager_containers or from the preview. IT REFUSES, FOR FREE AND WITHOUT PUBLISHING, in four cases you should relay rather than retry: merge conflicts in the workspace (somebody changed the same thing in the container — resolve in Tag Manager first), a workspace with no changes at all, a version Google reports a COMPILER ERROR in, and a container whose public id could not be read. TO UNDO: publish the previous version again (versionPath from list_tag_manager_versions, no workspace involved); rolledBackTo names it. READ verified BEFORE YOU TELL ANYONE IT IS LIVE. It is three-valued: true means the container's live version was re-read and IS the one just published; false means Google accepted it but something else is live, which can be Tag Manager's own read lag and must be reported as unconfirmed; null means the read-back could not run, so it is not known — never report false or null as published. Creating the version DELETES the draft workspace and opens a fresh empty one (id in the reply), so any workspace id you hold is stale. Publishing needs the PUBLISH right on the container (Admin, User Management), separate from Edit; a refusal there is a permission, not a broken connection. 0 credits. Needs Google Tag Manager connected.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | REQUIRED to publish. Without it nothing is published and you get the blast-radius report instead. |
| workspace | string |
PUT A PIXEL ON THE BRAND'S WEBSITE: a Meta Pixel, TikTok Pixel, Google tag, LinkedIn Insight Tag, Reddit Pixel, Pinterest Tag, X Pixel or Snap Pixel. It goes through the site connection the brand has. GOOGLE TAG MANAGER (any pixel): a Custom HTML tag with the platform's base code on every page, staged as a draft, and live only with publish:true, through the same confirmation publish_tag_manager_container asks for (a container already live needs confirmPublicId). WIX (Meta, TikTok, Google Ads AW-, Google Analytics G-): a Wix marketing tag, live at once; Wix keeps one per type, so replacing a different pixel needs replaceExisting set to the one being replaced. WEBFLOW, WORDPRESS, SHOPIFY or no site connection: those give an app no way to add code, so the reply is the base code and exactly where to paste it. THE PIXEL ID IS NEVER INVENTED: leave pixelId out and the brand's only pixel on its connected ad account is used (several are listed for you to pick); a given id is checked against that account when it is connected, and refused if it is not the brand's. The code is the platform's own: Meta and Pinterest from the connected account or their published base code, the Google tag from Google's published snippet; for TikTok, LinkedIn, Reddit, X and Snap pass snippet, the base code copied from the platform's events manager (it must contain the id). WITHOUT confirm:true NOTHING IS WRITTEN: the reply says exactly what would change; show the user, get a yes, call again with confirm:true. After a change reaches the site, Hermoso reads the live page (url, default the brand's website) and verify.found says whether the pixel is there: true, false, or null when the page could not be read (never report null as missing). A Tag Manager publish can take a few minutes to reach visitors. For Hermoso's OWN first-party tag (visits, attribution and server-side conversions) use install_hermoso_tag instead. Free.
| Parameter | Type | Description |
|---|---|---|
| url | string | the page to check afterwards; default the brand's website |
| site | string | which site connection to use; leave out to use the one the brand has (asked when it has both Tag Manager and Wix) |
WHICH PIXELS ARE ON THE WEBSITE RIGHT NOW, read from the live page (url, default the brand's website) the way a browser loads it: every Meta, TikTok, Google, LinkedIn, Reddit, Pinterest, X and Snap pixel and every Tag Manager container Hermoso recognises there, with its id. Also the tags Hermoso installed through Tag Manager (live or only staged) and the site's Wix marketing tags, when those are connected. Use it to check a pixel someone pasted by hand, or to answer "is my pixel installed". page.read false means the page could not be read, which is not the same as no pixels. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| url | string | the page to read; default the brand's website |
| gtmWorkspace | string | Tag Manager workspace id or name |
| containerPath | string | Tag Manager: which shared container to list, when several are shared |
{
"name": "list_tracking_tags",
"title": "Which pixels are on the website",
"description": "WHICH PIXELS ARE ON THE WEBSITE RIGHT NOW, read from the live page (url, default the brand's website) the way a browser loads it: every Meta, TikTok, Google, LinkedIn, Reddit, Pinterest, X and Snap pixel and every Tag Manager container Hermoso recognises there, with its id. Also the tags Hermoso installed through Tag Manager (live or only staged) and the site's Wix marketing tags, when those are connected. Use it to check a pixel someone pasted by hand, or to answer \"is my pixel installed\". page.read false means the page could not be read, which is not the same as no pixels. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"url": {
"type": "string",
"description": "the page to read; default the brand's website"
},
"gtmWorkspace": {
"type": "string",
"description": "Tag Manager workspace id or name"
},
"containerPath": {
"type": "string",
"description": "Tag Manager: which shared container to list, when several are shared"
}
}
},
"annotations": {
"title": "Which pixels are on the website",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}TAKE A PIXEL OFF THE BRAND'S WEBSITE. Tag Manager: deletes the tag Hermoso installed for that pixel (only Hermoso's own, never somebody else's), as a draft, live only with publish:true through the usual publish confirmation. Wix: removes the site's marketing tag of that type only when it IS this pixel. Other sites: says where to delete the code by hand. The site stops sending that platform data once it is gone, so WITHOUT confirm:true NOTHING CHANGES and the reply names exactly what would be removed: show the user, get a yes, then call again with confirm:true. Free.
| Parameter | Type | Description |
|---|---|---|
| site | string | which site connection; default the one the brand has |
| confirm | boolean | true to remove; without it nothing changes |
| pixelId * | string | the id of the pixel to remove (list_tracking_tags shows them) |
| publish | boolean | Tag Manager only: also publish so the removal goes live |
| platform * | string | which pixel |
| gtmWorkspace | string | Tag Manager only: workspace id or name |
| containerPath | string | Tag Manager only: the container, when several are shared |
| confirmPublicId |
The Google Search Console properties SHARED WITH THIS PROFILE, each with the exact property string every other Search Console tool takes and the connected account's permission level on it. CALL THIS FIRST. A property is EITHER "sc-domain:example.com" (a Domain property, covering every scheme and subdomain) OR the full URL-prefix form "https://example.com/" including scheme and trailing slash — Google treats those as different properties and one of them will 403, so resolve it here rather than guessing, and never pass a bare domain. THIS IS NOT EVERY PROPERTY THE GOOGLE ACCOUNT CAN SEE, deliberately: one login commonly holds a dozen clients' properties, so the user ticks which belong to THIS profile and any other one is refused by name. An empty list means nothing is ticked yet — say so and point the user at Connectors > Google Search Console > Manage accounts (or call list_connector_accounts / set_connector_accounts with provider "google_search_console"); never name or guess a property. A row whose permissionLevel is siteUnverifiedUser will refuse every later call. Read-only, 0 credits. Needs Google Search Console connected.
No parameters.
{
"name": "list_search_console_sites",
"title": "List the Search Console properties shared with this profile",
"description": "The Google Search Console properties SHARED WITH THIS PROFILE, each with the exact property string every other Search Console tool takes and the connected account's permission level on it. CALL THIS FIRST. A property is EITHER \"sc-domain:example.com\" (a Domain property, covering every scheme and subdomain) OR the full URL-prefix form \"https://example.com/\" including scheme and trailing slash — Google treats those as different properties and one of them will 403, so resolve it here rather than guessing, and never pass a bare domain. THIS IS NOT EVERY PROPERTY THE GOOGLE ACCOUNT CAN SEE, deliberately: one login commonly holds a dozen clients' properties, so the user ticks which belong to THIS profile and any other one is refused by name. An empty list means nothing is ticked yet — say so and point the user at Connectors > Google Search Console > Manage accounts (or call list_connector_accounts / set_connector_accounts with provider \"google_search_console\"); never name or guess a property. A row whose permissionLevel is siteUnverifiedUser will refuse every later call. Read-only, 0 credits. Needs Google Search Console connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List the Search Console properties shared with this profile",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}THE REAL SEARCH TERMS — Google Search Console's performance report, and the most useful research tool here for writing copy. `dimensions:["query"]` returns the literal words people typed to reach this brand, with impressions, clicks, CTR and average position; `dimensions:["page","query"]` answers "which landing page already wins this demand", i.e. Where paid traffic should point. Every other dimension is available too: country, device, searchAppearance, date, hour. This is first-party MEASURED demand language, not a competitor's guess (an ad library) and not a model (a keyword planner), and it exists nowhere else: organic search terms left Google Analytics with "not provided" years ago. StartDate and endDate are REQUIRED and are exact YYYY-MM-DD in Pacific time — Google Analytics' relative forms like "28daysAgo" are NOT accepted anywhere in Search Console. THREE THINGS TO REPEAT WHENEVER YOU REPORT THESE NUMBERS: (1) rows are the TOP ones, not all of them, by Google's own statement; (2) anonymised queries are WITHHELD, so clicks summed per query will not equal the property total and that gap is not an error; (3) the default dataState "final" lags roughly 2-3 days, and "all" returns fresh partial data that will still change. Search Console keeps 16 months of history. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| type | string | web (default), image, video, news, discover, googleNews or webMultimodal |
| endDate * | string | YYYY-MM-DD, required, Pacific time, inclusive |
| siteUrl * | string | the exact property string from list_search_console_sites — "sc-domain:example.com" or "https://example.com/", never a bare domain, and it must be one SHARED with this profile |
| rowLimit | number |
THE LIVE INDEX STATUS OF ONE PAGE, straight from Google: the index verdict, coverage state, whether robots.txt allows it, which URL Google picked as canonical versus the one the page itself declares, when it was last crawled and as which crawler, plus rich-result and mobile-usability verdicts. This is the tool for "why is this page getting no traffic" — a page Google cannot crawl, or whose canonical Google has reassigned to a different URL, will never rank however good the copy is. THE URL MUST SIT INSIDE THE PROPERTY: a URL-prefix property covers only its own prefix, while an "sc-domain:" property covers every scheme and subdomain. Important: QUOTA — Google allows 2,000 inspections per DAY and 600 per minute PER SITE, and that is the CUSTOMER'S property quota, not ours: inspect the handful of URLs the question is actually about and NEVER loop this over a sitemap, a page list or a crawl. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| siteUrl * | string | the exact property string from list_search_console_sites, and it must be one SHARED with this profile |
| languageCode | string | BCP-47 code for translated issue messages, e.g. "de-CH". Default en-US. |
| inspectionUrl * | string | the full URL to inspect, e.g. "https://example.com/pricing" — it must be under the property |
{
"name": "search_console_url_inspection",
"title": "Is this page actually in Google?",
"description": "THE LIVE INDEX STATUS OF ONE PAGE, straight from Google: the index verdict, coverage state, whether robots.txt allows it, which URL Google picked as canonical versus the one the page itself declares, when it was last crawled and as which crawler, plus rich-result and mobile-usability verdicts. This is the tool for \"why is this page getting no traffic\" — a page Google cannot crawl, or whose canonical Google has reassigned to a different URL, will never rank however good the copy is. THE URL MUST SIT INSIDE THE PROPERTY: a URL-prefix property covers only its own prefix, while an \"sc-domain:\" property covers every scheme and subdomain. Important: QUOTA — Google allows 2,000 inspections per DAY and 600 per minute PER SITE, and that is the CUSTOMER'S property quota, not ours: inspect the handful of URLs the question is actually about and NEVER loop this over a sitemap, a page list or a crawl. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl",
"inspectionUrl"
],
"properties": {
"siteUrl": {
"type": "string",
"description": "the exact property string from list_search_console_sites, and it must be one SHARED with this profile"
},
"languageCode": {
"type": "string",
"description": "BCP-47 code for translated issue messages, e.g. \"de-CH\". Default en-US."
},
"inspectionUrl": {
"type": "string",
"description": "the full URL to inspect, e.g. \"https://example.com/pricing\" — it must be under the property"
}
}
},
"annotations": {
"title": "Is this page actually in Google?",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The sitemaps registered on a Search Console property: when each was last submitted and last downloaded by Google, whether Google has processed it yet, its error and warning counts, and per content type how many URLs it SUBMITTED against how many are INDEXED. That last pair is the fastest read on whether a site has an indexing problem rather than a ranking one. Pass `feedpath` for one sitemap instead of the list, or `sitemapIndex` to list the sitemaps inside an index file. An empty list is a real answer — the property has no sitemap registered — and is not a failure. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| siteUrl * | string | the exact property string from list_search_console_sites |
| feedpath | string | the FULL url of one sitemap, e.g. "https://example.com/sitemap.xml" |
| sitemapIndex | string | the FULL url of a sitemap INDEX, to list the sitemaps it contains |
{
"name": "list_search_console_sitemaps",
"title": "List a property’s sitemaps, with submitted-vs-indexed counts",
"description": "The sitemaps registered on a Search Console property: when each was last submitted and last downloaded by Google, whether Google has processed it yet, its error and warning counts, and per content type how many URLs it SUBMITTED against how many are INDEXED. That last pair is the fastest read on whether a site has an indexing problem rather than a ranking one. Pass `feedpath` for one sitemap instead of the list, or `sitemapIndex` to list the sitemaps inside an index file. An empty list is a real answer — the property has no sitemap registered — and is not a failure. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"siteUrl": {
"type": "string",
"description": "the exact property string from list_search_console_sites"
},
"feedpath": {
"type": "string",
"description": "the FULL url of one sitemap, e.g. \"https://example.com/sitemap.xml\""
},
"sitemapIndex": {
"type": "string",
"description": "the FULL url of a sitemap INDEX, to list the sitemaps it contains"
}
}
},
"annotations": {
"title": "List a property’s sitemaps, with submitted-vs-indexed counts",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Tell Google about a sitemap. `feedpath` is the sitemap's COMPLETE URL ("https://example.com/sitemap.xml"), never a path — Google addresses a sitemap by its full url. Re-submitting one that is already registered is harmless and simply re-notifies Google. THE ANSWER IS READ BACK FROM GOOGLE, not echoed from the request: it reports whether the sitemap is now actually registered, whether Google has processed it yet, and what errors and warnings it already carries. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| siteUrl * | string | the exact property string from list_search_console_sites |
| feedpath * | string | the FULL sitemap URL, e.g. "https://example.com/sitemap.xml" |
{
"name": "submit_search_console_sitemap",
"title": "Submit a sitemap to Google",
"description": "Tell Google about a sitemap. `feedpath` is the sitemap's COMPLETE URL (\"https://example.com/sitemap.xml\"), never a path — Google addresses a sitemap by its full url. Re-submitting one that is already registered is harmless and simply re-notifies Google. THE ANSWER IS READ BACK FROM GOOGLE, not echoed from the request: it reports whether the sitemap is now actually registered, whether Google has processed it yet, and what errors and warnings it already carries. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl",
"feedpath"
],
"properties": {
"siteUrl": {
"type": "string",
"description": "the exact property string from list_search_console_sites"
},
"feedpath": {
"type": "string",
"description": "the FULL sitemap URL, e.g. \"https://example.com/sitemap.xml\""
}
}
},
"annotations": {
"title": "Submit a sitemap to Google",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Remove a sitemap from a property. THIS DOES NOT REMOVE THOSE PAGES FROM GOOGLE'S INDEX — it stops Google using that file to discover new ones, and it can be submitted again at any time, so it is reversible. CONFIRM-GATED: called without confirm it removes nothing and reports what the sitemap actually IS, read back from Google (its error and warning counts and how many URLs it covers), so you can check you are aiming at the right one. Re-run with confirm:true to proceed. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | true to actually remove it. Without this nothing is removed and the sitemap is described back to you. |
| siteUrl * | string | the exact property string from list_search_console_sites |
| feedpath * | string | the FULL sitemap URL to remove |
{
"name": "delete_search_console_sitemap",
"title": "Remove a sitemap from a Search Console property",
"description": "Remove a sitemap from a property. THIS DOES NOT REMOVE THOSE PAGES FROM GOOGLE'S INDEX — it stops Google using that file to discover new ones, and it can be submitted again at any time, so it is reversible. CONFIRM-GATED: called without confirm it removes nothing and reports what the sitemap actually IS, read back from Google (its error and warning counts and how many URLs it covers), so you can check you are aiming at the right one. Re-run with confirm:true to proceed. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl",
"feedpath"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "true to actually remove it. Without this nothing is removed and the sitemap is described back to you."
},
"siteUrl": {
"type": "string",
"description": "the exact property string from list_search_console_sites"
},
"feedpath": {
"type": "string",
"description": "the FULL sitemap URL to remove"
}
}
},
"annotations": {
"title": "Remove a sitemap from a Search Console property",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Add a property to the connected Google account. TWO THINGS THAT MUST REACH THE USER, and the answer states both: (1) ADDING IS NOT VERIFYING — the property arrives with the account as an unverified user and EVERY read on it is refused until ownership is proven with a DNS record, an HTML file or a tag, which no API can do and which the user completes in Search Console itself; (2) the new property is NOT yet shared with this profile, so someone has to tick it under Connectors > Google Search Console > Manage accounts (or call list_connector_accounts with provider google_search_console, then set_connector_accounts) before any tool here can use it. The permission level is READ BACK from Google, so the answer says which of those two states it is actually in. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| siteUrl * | string | "sc-domain:example.com" for a Domain property (covers every scheme and subdomain), or the full URL-prefix form "https://example.com/". These are different properties — pick deliberately. |
{
"name": "add_search_console_site",
"title": "Add a property to Search Console",
"description": "Add a property to the connected Google account. TWO THINGS THAT MUST REACH THE USER, and the answer states both: (1) ADDING IS NOT VERIFYING — the property arrives with the account as an unverified user and EVERY read on it is refused until ownership is proven with a DNS record, an HTML file or a tag, which no API can do and which the user completes in Search Console itself; (2) the new property is NOT yet shared with this profile, so someone has to tick it under Connectors > Google Search Console > Manage accounts (or call list_connector_accounts with provider google_search_console, then set_connector_accounts) before any tool here can use it. The permission level is READ BACK from Google, so the answer says which of those two states it is actually in. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"siteUrl": {
"type": "string",
"description": "\"sc-domain:example.com\" for a Domain property (covers every scheme and subdomain), or the full URL-prefix form \"https://example.com/\". These are different properties — pick deliberately."
}
}
},
"annotations": {
"title": "Add a property to Search Console",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Remove a property from the connected Google account. THIS LOSES HISTORY: the account loses access to that property's stored Search Console performance data, and re-adding it later means verifying ownership from scratch — Google does NOT restore the 16-month window on re-add. Nothing about the site itself, its pages or its ranking changes. CONFIRM-GATED: the unconfirmed call removes nothing and describes what would be lost, including how many sitemaps this account can currently see on it. The property is also dropped from this brand's shared list, so it cannot linger as a tick pointing at something unreachable. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | true to actually remove it |
| siteUrl * | string | the exact property string from list_search_console_sites |
{
"name": "delete_search_console_site",
"title": "Remove a property from Search Console",
"description": "Remove a property from the connected Google account. THIS LOSES HISTORY: the account loses access to that property's stored Search Console performance data, and re-adding it later means verifying ownership from scratch — Google does NOT restore the 16-month window on re-add. Nothing about the site itself, its pages or its ranking changes. CONFIRM-GATED: the unconfirmed call removes nothing and describes what would be lost, including how many sitemaps this account can currently see on it. The property is also dropped from this brand's shared list, so it cannot linger as a tick pointing at something unreachable. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "true to actually remove it"
},
"siteUrl": {
"type": "string",
"description": "the exact property string from list_search_console_sites"
}
}
},
"annotations": {
"title": "Remove a property from Search Console",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}The Bing Webmaster Tools sites SHARED WITH THIS PROFILE, each exactly as Bing holds it (e.g. "https://example.com"). CALL THIS FIRST — every other Bing tool takes that exact string. THIS IS NOT EVERY SITE THE CONNECTION CAN REACH: Microsoft issues one key per USER covering every site that Bing account verified, so the user ticks which belong to THIS profile and any other one is refused by name. An empty list means nothing is ticked yet — point the user at Connectors > Bing Webmaster Tools > Manage accounts (or call set_connector_accounts with provider "bing_webmaster") and never name or guess a site. A site flagged not verified will refuse every later call. Read-only, 0 credits.
No parameters.
{
"name": "list_bing_webmaster_sites",
"title": "List the Bing Webmaster sites shared with this profile",
"description": "The Bing Webmaster Tools sites SHARED WITH THIS PROFILE, each exactly as Bing holds it (e.g. \"https://example.com\"). CALL THIS FIRST — every other Bing tool takes that exact string. THIS IS NOT EVERY SITE THE CONNECTION CAN REACH: Microsoft issues one key per USER covering every site that Bing account verified, so the user ticks which belong to THIS profile and any other one is refused by name. An empty list means nothing is ticked yet — point the user at Connectors > Bing Webmaster Tools > Manage accounts (or call set_connector_accounts with provider \"bing_webmaster\") and never name or guess a site. A site flagged not verified will refuse every later call. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List the Bing Webmaster sites shared with this profile",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Bing clicks and impressions over time — for the whole site (mode "site", the default), for one page (mode "page", needs `url`), or for every page under one directory (mode "directory", needs `url`). An unknown mode is refused by name. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| url | string | required for page and directory modes — the full URL |
| mode | string | site (default) | page | directory |
| page | number | zero-based results page, directory mode |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites, and it must be one SHARED with this profile |
{
"name": "bing_webmaster_traffic",
"title": "Bing clicks and impressions",
"description": "Bing clicks and impressions over time — for the whole site (mode \"site\", the default), for one page (mode \"page\", needs `url`), or for every page under one directory (mode \"directory\", needs `url`). An unknown mode is refused by name. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"url": {
"type": "string",
"description": "required for page and directory modes — the full URL"
},
"mode": {
"type": "string",
"description": "site (default) | page | directory"
},
"page": {
"type": "number",
"description": "zero-based results page, directory mode"
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites, and it must be one SHARED with this profile"
}
}
},
"annotations": {
"title": "Bing clicks and impressions",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user asks what people searched on Bing to reach their site, or which pages those searches landed on. Modes: "queries" (top search terms for the site, the default), "pages" (top pages), "pageQueries" (which queries brought traffic to one `page`), "queryPages" (which pages one `query` landed on), "queryPageDetail" (one query on one page, day by day). MICROSOFT UPDATES THIS DATA WEEKLY by their own statement, so it does not move day to day; do not report a flat week as a drop. An unknown mode is refused by name. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| mode | string | queries (default) | pages | pageQueries | queryPages | queryPageDetail |
| page | string | the full page URL — required for pageQueries and queryPageDetail |
| query | string | required for queryPages and queryPageDetail |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
{
"name": "bing_webmaster_query_stats",
"title": "What people searched on Bing, and which pages they landed on",
"description": "Use this when the user asks what people searched on Bing to reach their site, or which pages those searches landed on. Modes: \"queries\" (top search terms for the site, the default), \"pages\" (top pages), \"pageQueries\" (which queries brought traffic to one `page`), \"queryPages\" (which pages one `query` landed on), \"queryPageDetail\" (one query on one page, day by day). MICROSOFT UPDATES THIS DATA WEEKLY by their own statement, so it does not move day to day; do not report a flat week as a drop. An unknown mode is refused by name. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"mode": {
"type": "string",
"description": "queries (default) | pages | pageQueries | queryPages | queryPageDetail"
},
"page": {
"type": "string",
"description": "the full page URL — required for pageQueries and queryPageDetail"
},
"query": {
"type": "string",
"description": "required for queryPages and queryPageDetail"
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
}
}
},
"annotations": {
"title": "What people searched on Bing, and which pages they landed on",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Bing search impressions for any term. Modes: "keyword" (impressions for exactly this term over a date range), "related" (the same for terms Bing considers related — the one to use for expanding a seed into a list), "history" (the term's historical series). NOT SITE-SCOPED — these are Microsoft's signatures and they take no site, so it works for ANY term including a competitor's brand, and no property tick list applies. `country` AND `language` are BOTH REQUIRED and are deliberately never defaulted: a search volume with no market is unactionable, and picking one for you would answer confidently about the wrong country. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| q * | string | the keyword to look up, e.g. "running shoes" |
| mode | string | keyword (default) | related | history |
| country * | string | REQUIRED, e.g. "us" — there is no default and one will not be guessed |
| endDate | string | YYYY-MM-DD — required for keyword and related modes |
| language * | string | REQUIRED, e.g. "en-US" |
| startDate | string | YYYY-MM-DD — required for keyword and related modes |
Whether Bing can actually reach the site's pages: crawl statistics (mode "stats"), the URLs with problems (mode "issues", the default), one page's index detail (mode "page", needs `url`), a directory's (mode "directory"), or the crawl settings themselves (mode "settings"). Issue names are DECODED from Bing's bitmask into readable ones — Code301, Code302, Code4xx, Code5xx, BlockedByRobotsTxt, ContainsMalware, ImportantUrlBlockedByRobotsTxt, DnsErrors, TimeOutErrors — because the raw JSON hands back an integer that means nothing on its own, and a bit Microsoft has added since is reported as unknown rather than dropped. Microsoft notes it may take a few days for a FIXED issue to disappear from this list, so a listed issue is not proof it is still live. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| url | string | required for page and directory modes |
| mode | string | issues (default) | stats | page | directory | settings |
| page | number | zero-based results page, directory mode |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
{
"name": "bing_webmaster_crawl",
"title": "Can Bing crawl this site?",
"description": "Whether Bing can actually reach the site's pages: crawl statistics (mode \"stats\"), the URLs with problems (mode \"issues\", the default), one page's index detail (mode \"page\", needs `url`), a directory's (mode \"directory\"), or the crawl settings themselves (mode \"settings\"). Issue names are DECODED from Bing's bitmask into readable ones — Code301, Code302, Code4xx, Code5xx, BlockedByRobotsTxt, ContainsMalware, ImportantUrlBlockedByRobotsTxt, DnsErrors, TimeOutErrors — because the raw JSON hands back an integer that means nothing on its own, and a bit Microsoft has added since is reported as unknown rather than dropped. Microsoft notes it may take a few days for a FIXED issue to disappear from this list, so a listed issue is not proof it is still live. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"url": {
"type": "string",
"description": "required for page and directory modes"
},
"mode": {
"type": "string",
"description": "issues (default) | stats | page | directory | settings"
},
"page": {
"type": "number",
"description": "zero-based results page, directory mode"
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
}
}
},
"annotations": {
"title": "Can Bing crawl this site?",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Inbound links according to Bing: counts per page (mode "counts", the default), the inbound links pointing at one page (mode "page", needs `url`), or the pages the site owner has declared as connected (mode "connected"). Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| url | string | required for page mode — the page whose inbound links you want |
| mode | string | counts (default) | page | connected |
| page | number | zero-based results page |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
{
"name": "bing_webmaster_links",
"title": "Inbound links as Bing sees them",
"description": "Inbound links according to Bing: counts per page (mode \"counts\", the default), the inbound links pointing at one page (mode \"page\", needs `url`), or the pages the site owner has declared as connected (mode \"connected\"). Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"url": {
"type": "string",
"description": "required for page mode — the page whose inbound links you want"
},
"mode": {
"type": "string",
"description": "counts (default) | page | connected"
},
"page": {
"type": "number",
"description": "zero-based results page"
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
}
}
},
"annotations": {
"title": "Inbound links as Bing sees them",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}How many URLs this site may still submit to Bing today and this month, plus the separate content-submission budget. BING SETS THIS PER SITE AND IT VARIES — Microsoft's own documented example allows 5 a day and 24 a month — so it is always read live and never assumed. Check it before promising anyone a bulk submission, because Bing rejects an over-quota batch as a WHOLE rather than taking what fits. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
{
"name": "bing_webmaster_submission_quota",
"title": "How many URLs can still be submitted to Bing today",
"description": "How many URLs this site may still submit to Bing today and this month, plus the separate content-submission budget. BING SETS THIS PER SITE AND IT VARIES — Microsoft's own documented example allows 5 a day and 24 a month — so it is always read live and never assumed. Check it before promising anyone a bulk submission, because Bing rejects an over-quota batch as a WHOLE rather than taking what fits. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
}
}
},
"annotations": {
"title": "How many URLs can still be submitted to Bing today",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Submit URLs to Bing for indexing: asks Bing to crawl new or changed pages. THE SITE'S REMAINING DAILY QUOTA IS READ FIRST and a batch that would exceed it is refused with the real number rather than half-submitted, because Bing rejects an over-quota batch as a whole and a partial failure leaves you unable to say which URLs made it. Bing accepts at most 500 per batch (Microsoft's own limit) and the site's daily quota is usually far lower. THE CONFIRMATION IS BING'S QUOTA COUNTER MOVING: its submit methods return no body at all, so the answer reports the counter before and after rather than claiming success from a 200. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| urls * | array | full URLs on THIS site — a URL on another host is refused before anything is submitted |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
{
"name": "submit_bing_webmaster_urls",
"title": "Submit URLs to Bing for indexing",
"description": "Submit URLs to Bing for indexing: asks Bing to crawl new or changed pages. THE SITE'S REMAINING DAILY QUOTA IS READ FIRST and a batch that would exceed it is refused with the real number rather than half-submitted, because Bing rejects an over-quota batch as a whole and a partial failure leaves you unable to say which URLs made it. Bing accepts at most 500 per batch (Microsoft's own limit) and the site's daily quota is usually far lower. THE CONFIRMATION IS BING'S QUOTA COUNTER MOVING: its submit methods return no body at all, so the answer reports the counter before and after rather than claiming success from a 200. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl",
"urls"
],
"properties": {
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "full URLs on THIS site — a URL on another host is refused before anything is submitted"
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
}
}
},
"annotations": {
"title": "Submit URLs to Bing for indexing",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}The sitemaps registered for this site — Bing calls them FEEDS — with the status, URL count, file size and last-crawled date Bing holds for each. This is the read to make BEFORE submitting or removing one, because both of those are addressed by the sitemap's full URL exactly as Bing stores it. Pass `feedUrl` to expand a sitemap INDEX into its child sitemaps (Microsoft's GetFeedDetails); an empty answer for a plain non-index sitemap is a real answer, not a failure. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| feedUrl | string | optional — the full URL of a sitemap INDEX, to list its children |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
{
"name": "list_bing_webmaster_sitemaps",
"title": "The sitemaps Bing has for this site",
"description": "The sitemaps registered for this site — Bing calls them FEEDS — with the status, URL count, file size and last-crawled date Bing holds for each. This is the read to make BEFORE submitting or removing one, because both of those are addressed by the sitemap's full URL exactly as Bing stores it. Pass `feedUrl` to expand a sitemap INDEX into its child sitemaps (Microsoft's GetFeedDetails); an empty answer for a plain non-index sitemap is a real answer, not a failure. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"feedUrl": {
"type": "string",
"description": "optional — the full URL of a sitemap INDEX, to list its children"
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
}
}
},
"annotations": {
"title": "The sitemaps Bing has for this site",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Register a sitemap with Bing so it discovers new and changed pages by itself — the durable twin of submit_bing_webmaster_urls, which spends a small per-site daily quota every time. Takes the sitemap's FULL URL, not a path. Bing accepts Sitemap, RSS 2.0, Atom 0.3, Atom 1.0 and plain text files (Microsoft's own list). A sitemap hosted on ANOTHER host is not refused — Bing allows that when the other host is also verified — but it is called out, because it is the likeliest reason one silently never crawls. SubmitFeed returns no body whatsoever, so the answer is read back from Bing's own feed list and reports what Bing says rather than that the call returned. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| feedUrl * | string | the FULL sitemap URL, e.g. "https://example.com/sitemap.xml" |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
{
"name": "submit_bing_webmaster_sitemap",
"title": "Register a sitemap with Bing",
"description": "Register a sitemap with Bing so it discovers new and changed pages by itself — the durable twin of submit_bing_webmaster_urls, which spends a small per-site daily quota every time. Takes the sitemap's FULL URL, not a path. Bing accepts Sitemap, RSS 2.0, Atom 0.3, Atom 1.0 and plain text files (Microsoft's own list). A sitemap hosted on ANOTHER host is not refused — Bing allows that when the other host is also verified — but it is called out, because it is the likeliest reason one silently never crawls. SubmitFeed returns no body whatsoever, so the answer is read back from Bing's own feed list and reports what Bing says rather than that the call returned. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl",
"feedUrl"
],
"properties": {
"feedUrl": {
"type": "string",
"description": "the FULL sitemap URL, e.g. \"https://example.com/sitemap.xml\""
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
}
}
},
"annotations": {
"title": "Register a sitemap with Bing",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Remove a sitemap from Bing. GATED ON BLAST RADIUS, not just on intent: called WITHOUT `confirm` it removes nothing and reports what Bing says that sitemap actually carries — its URL count, status and type — and a sitemap carrying any URLs then ALSO needs `confirmUrlCount` set to that number. confirm:true proves you meant to remove something; the echoed count proves you aimed at the sitemap you inspected rather than one that merely shares a name. A sitemap Bing reports as empty stays a one-call removal. Removing it does NOT remove those pages from Bing's index — Bing simply stops using it to find new ones — and it can be submitted again at any time. If the read-back that confirms the removal cannot run, the answer says "could not tell", never "removed". 0 credits.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | must be true; without it nothing is removed and you get the radius instead |
| feedUrl * | string | the FULL sitemap URL to remove, exactly as list_bing_webmaster_sitemaps shows it |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
| confirmUrlCount | number | the URL count Bing reports for that sitemap — required when it carries any |
{
"name": "remove_bing_webmaster_sitemap",
"title": "Remove a sitemap from Bing",
"description": "Remove a sitemap from Bing. GATED ON BLAST RADIUS, not just on intent: called WITHOUT `confirm` it removes nothing and reports what Bing says that sitemap actually carries — its URL count, status and type — and a sitemap carrying any URLs then ALSO needs `confirmUrlCount` set to that number. confirm:true proves you meant to remove something; the echoed count proves you aimed at the sitemap you inspected rather than one that merely shares a name. A sitemap Bing reports as empty stays a one-call removal. Removing it does NOT remove those pages from Bing's index — Bing simply stops using it to find new ones — and it can be submitted again at any time. If the read-back that confirms the removal cannot run, the answer says \"could not tell\", never \"removed\". 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl",
"feedUrl"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "must be true; without it nothing is removed and you get the radius instead"
},
"feedUrl": {
"type": "string",
"description": "the FULL sitemap URL to remove, exactly as list_bing_webmaster_sitemaps shows it"
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
},
"confirmUrlCount": {
"type": "number",
"description": "the URL count Bing reports for that sitemap — required when it carries any"
}
}
},
"annotations": {
"title": "Remove a sitemap from Bing",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}The URLs fetched on demand as Bingbot for this site, or one of them in detail (pass `url`) including what Bingbot actually received. This is how you see a page through the CRAWLER's eyes rather than a browser's — a robots block, a redirect chain or a JS-only page all look fine in a browser and wrong here. An empty list means nothing has been fetched on demand yet, which is a real answer and not a failure. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| url | string | optional — one full URL, for the stored detail of that fetch |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
{
"name": "list_bing_webmaster_fetched_urls",
"title": "What Bingbot fetched on demand",
"description": "The URLs fetched on demand as Bingbot for this site, or one of them in detail (pass `url`) including what Bingbot actually received. This is how you see a page through the CRAWLER's eyes rather than a browser's — a robots block, a redirect chain or a JS-only page all look fine in a browser and wrong here. An empty list means nothing has been fetched on demand yet, which is a real answer and not a failure. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"url": {
"type": "string",
"description": "optional — one full URL, for the stored detail of that fetch"
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
}
}
},
"annotations": {
"title": "What Bingbot fetched on demand",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Ask Bingbot to fetch one URL now, so you can then read back what the crawler actually received with list_bing_webmaster_fetched_urls. THE FETCH IS QUEUED, NOT PERFORMED WHILE YOU WAIT — so "it has not appeared in the fetched list yet" is the normal FIRST answer, and it is reported as "requested, not yet done" rather than as a failure or as success. A URL that is not on this site is refused before anything is requested. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| url * | string | the full URL on THIS site for Bingbot to fetch |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
{
"name": "fetch_bing_webmaster_url",
"title": "Ask Bingbot to fetch a page now",
"description": "Ask Bingbot to fetch one URL now, so you can then read back what the crawler actually received with list_bing_webmaster_fetched_urls. THE FETCH IS QUEUED, NOT PERFORMED WHILE YOU WAIT — so \"it has not appeared in the fetched list yet\" is the normal FIRST answer, and it is reported as \"requested, not yet done\" rather than as a failure or as success. A URL that is not on this site is refused before anything is requested. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl",
"url"
],
"properties": {
"url": {
"type": "string",
"description": "the full URL on THIS site for Bingbot to fetch"
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
}
}
},
"annotations": {
"title": "Ask Bingbot to fetch a page now",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Give Bing a page's content DIRECTLY instead of waiting for it to crawl — for a page Bingbot renders badly or cannot reach. YOU PASS THE HTML AND NOTHING ELSE: Microsoft's httpMessage parameter is a base64 raw HTTP response whose status line and every header must end CRLF with exactly two CRLFs before the body, and an LF-only message is accepted with a 200 while indexing nothing useful — a silent wrong answer — so Hermoso builds that framing and computes Content-Length itself. Optional `structuredData` carries JSON-LD for non-HTML content such as images or PDFs; `dynamicServing` is left at "none" unless the site really does serve different content per device, because declaring otherwise is a claim about the customer's infrastructure. This spends the CONTENT submission budget, which is separate from the URL one and is read first — check both with bing_webmaster_submission_quota. Max 10MB per submission. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| url * | string | the full URL on this site that this content belongs to |
| html * | string | the page content Bing should index for that URL |
| status | number | HTTP status for the message, default 200 |
| headers | object | extra response headers. Content-Length is always computed and never taken from you. |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
| contentType | string | default text/html |
| dynamicServing |
Add a site to the connected Bing Webmaster account. Important: ADDING IS NOT VERIFYING, and saying so is most of this tool's value: the site arrives UNVERIFIED and every read on it is refused until an ownership proof is placed on the site itself — an XML file at the root, a meta tag in the home page <head>, or a CNAME DNS record — which no API can do. Place one, then call verify_bing_webmaster_site. Microsoft documents that adding a site which is already there does NOT error, so a success here is not even evidence anything changed, which is why the answer is read back from Bing's site list. It is also NOT shared with this profile until the user ticks it under Connectors > Bing Webmaster Tools > Manage accounts (or call list_connector_accounts with provider bing_webmaster, then set_connector_accounts). 0 credits.
| Parameter | Type | Description |
|---|---|---|
| siteUrl * | string | the site with its scheme, e.g. "https://example.com" |
{
"name": "add_bing_webmaster_site",
"title": "Add a site to the Bing Webmaster account",
"description": "Add a site to the connected Bing Webmaster account. Important: ADDING IS NOT VERIFYING, and saying so is most of this tool's value: the site arrives UNVERIFIED and every read on it is refused until an ownership proof is placed on the site itself — an XML file at the root, a meta tag in the home page <head>, or a CNAME DNS record — which no API can do. Place one, then call verify_bing_webmaster_site. Microsoft documents that adding a site which is already there does NOT error, so a success here is not even evidence anything changed, which is why the answer is read back from Bing's site list. It is also NOT shared with this profile until the user ticks it under Connectors > Bing Webmaster Tools > Manage accounts (or call list_connector_accounts with provider bing_webmaster, then set_connector_accounts). 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"siteUrl": {
"type": "string",
"description": "the site with its scheme, e.g. \"https://example.com\""
}
}
},
"annotations": {
"title": "Add a site to the Bing Webmaster account",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Ask Bing to CHECK the ownership proof for a site already on the account. IT DOES NOT PLACE THE PROOF — nothing can over an API. The user puts an XML file at the site root, a meta tag in the home page <head>, or a CNAME DNS record, and Bing Webmaster Tools shows the exact filename and value for each. A negative answer therefore means "the proof is not in place yet", never that Hermoso or the connection failed, and the reply says which three options exist. Bing refuses to verify a site that was never added, which is knowable for free, so that is refused here with add_bing_webmaster_site named as the fix. The verdict is read back from the site LIST rather than taken from the call's own return value — the two can disagree. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| siteUrl * | string | the site to verify, exactly as it was added |
{
"name": "verify_bing_webmaster_site",
"title": "Ask Bing to verify site ownership",
"description": "Ask Bing to CHECK the ownership proof for a site already on the account. IT DOES NOT PLACE THE PROOF — nothing can over an API. The user puts an XML file at the site root, a meta tag in the home page <head>, or a CNAME DNS record, and Bing Webmaster Tools shows the exact filename and value for each. A negative answer therefore means \"the proof is not in place yet\", never that Hermoso or the connection failed, and the reply says which three options exist. Bing refuses to verify a site that was never added, which is knowable for free, so that is refused here with add_bing_webmaster_site named as the fix. The verdict is read back from the site LIST rather than taken from the call's own return value — the two can disagree. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"siteUrl": {
"type": "string",
"description": "the site to verify, exactly as it was added"
}
}
},
"annotations": {
"title": "Ask Bing to verify site ownership",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Remove a site from the connected Bing Webmaster account — the heaviest thing in this connector. GATED ON BLAST RADIUS: called WITHOUT `confirm` it removes nothing and reports whether Bing holds the site as VERIFIED and how many sitemaps are registered on it; a site that is verified or has any sitemaps then ALSO needs `confirmSiteUrl` set to that exact site string, which is a fact you only have after inspecting it. A site that was never verified and has no sitemaps is the empty radius and stays a one-call removal — friction that does not scale with the loss just gets routed around. RE-ADDING A VERIFIED SITE LATER MEANS PROVING OWNERSHIP FROM SCRATCH; no API restores it. Nothing about the site itself or its Bing ranking changes. The site is also dropped from this brand's shared list, and if the read-back that confirms the removal cannot run the answer says "could not tell", never "removed". 0 credits.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | must be true; without it nothing is removed and you get the radius instead |
| siteUrl * | string | the exact site string from list_bing_webmaster_sites |
| confirmSiteUrl | string | the exact site string again — required unless the site is unverified with no sitemaps |
{
"name": "remove_bing_webmaster_site",
"title": "Remove a site from the Bing Webmaster account",
"description": "Remove a site from the connected Bing Webmaster account — the heaviest thing in this connector. GATED ON BLAST RADIUS: called WITHOUT `confirm` it removes nothing and reports whether Bing holds the site as VERIFIED and how many sitemaps are registered on it; a site that is verified or has any sitemaps then ALSO needs `confirmSiteUrl` set to that exact site string, which is a fact you only have after inspecting it. A site that was never verified and has no sitemaps is the empty radius and stays a one-call removal — friction that does not scale with the loss just gets routed around. RE-ADDING A VERIFIED SITE LATER MEANS PROVING OWNERSHIP FROM SCRATCH; no API restores it. Nothing about the site itself or its Bing ranking changes. The site is also dropped from this brand's shared list, and if the read-back that confirms the removal cannot run the answer says \"could not tell\", never \"removed\". 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "must be true; without it nothing is removed and you get the radius instead"
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
},
"confirmSiteUrl": {
"type": "string",
"description": "the exact site string again — required unless the site is unverified with no sitemaps"
}
}
},
"annotations": {
"title": "Remove a site from the Bing Webmaster account",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Ping the IndexNow search engines that pages were added, updated or deleted — Bing, Yandex, Naver, Seznam.cz and Yep, all reached by ONE submission. Important: GOOGLE DOES NOT PARTICIPATE IN INDEXNOW and never has, so say that plainly rather than letting anyone expect a Google effect; for Google use submit_search_console_sitemap and search_console_url_inspection. NO CONNECTION IS NEEDED, because the credential belongs to the USER: they generate a key, host it as a plain text file on their own web server, and any engine fetching that file is the whole ownership check. HERMOSO VERIFIES THAT FILE BEFORE SUBMITTING — that it is reachable and that its contents are exactly the key — and refuses with an explanation if not, because we have no write access to a customer's web root and cannot place it for them. If the key file is moved off the site root with `keyLocation`, it authorises ONLY URLs under that directory, and URLs outside it are refused before anything is sent (IndexNow rejects the whole batch for one out-of-scope URL). Up to 10,000 URLs per submission, all on the one host. HTTP 202 is a SUCCESS ("received, validation pending"), not a reason to retry. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| key * | string | the IndexNow key — 8-128 letters, numbers and dashes — ALREADY hosted as <key>.txt on that site |
| host * | string | the bare hostname that owns these URLs, e.g. "example.com" |
| urls * | array | the full URLs that were added, updated or deleted, all on `host` |
| keyLocation | string | the full URL of the key file if it is NOT at the site root. Moving it NARROWS the key to that directory only. |
The PostHog projects the connected personal API key can see, and which ONE this profile is pointed at. Only the ACTIVE project is readable. That is deliberate: PostHog's API otherwise falls back to "the last project you visited in the UI", which would make every answer depend on the user's browsing history, so Hermoso pins a project at connect time instead of relying on their implicit default. To move this profile to a different project, the user reconnects PostHog under Connectors > PostHog, or with connect_connector, with that project id. Read-only, 0 credits.
No parameters.
{
"name": "list_posthog_projects",
"title": "List the PostHog projects this key can see",
"description": "The PostHog projects the connected personal API key can see, and which ONE this profile is pointed at. Only the ACTIVE project is readable. That is deliberate: PostHog's API otherwise falls back to \"the last project you visited in the UI\", which would make every answer depend on the user's browsing history, so Hermoso pins a project at connect time instead of relying on their implicit default. To move this profile to a different project, the user reconnects PostHog under Connectors > PostHog, or with connect_connector, with that project id. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List the PostHog projects this key can see",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}ASK POSTHOG A QUESTION IN HogQL — their SQL dialect over the `events`, `persons` and `sessions` tables. Use it for per-user funnels, retention and custom breakdowns, e.g. `SELECT properties.$current_url, count() FROM events WHERE event = '$pageview' AND timestamp > now() - INTERVAL 7 DAY GROUP BY 1 ORDER BY 2 DESC`. IT IS NOT AN EXPORTER AND MUST NEVER BE LOOPED — PostHog's own policy, verbatim: "Third-party connectors must use batch exports, not /query. Connectors built on /query are not supported and will be rate-limited or rejected." Ask ONE bounded question. Do not paginate it, do not schedule it, and do not call it repeatedly to assemble a whole table; if the user genuinely needs bulk data, tell them to set up a PostHog batch export. Every query is capped at 1000 rows, and OFFSET is refused outright because PostHog returns HTTP 400 for it on API keys — use keyset pagination on `timestamp` (events) or `id` (persons) if a second page is truly needed. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| limit | number | row cap, 1–1000 (default 1000). A LIMIT already in the query is honoured and clamped to the same ceiling |
| query * | string | a HogQL (ClickHouse-flavoured SQL) query — one bounded question, never a page of an export |
{
"name": "posthog_query",
"title": "Ask PostHog a question in HogQL",
"description": "ASK POSTHOG A QUESTION IN HogQL — their SQL dialect over the `events`, `persons` and `sessions` tables. Use it for per-user funnels, retention and custom breakdowns, e.g. `SELECT properties.$current_url, count() FROM events WHERE event = '$pageview' AND timestamp > now() - INTERVAL 7 DAY GROUP BY 1 ORDER BY 2 DESC`. IT IS NOT AN EXPORTER AND MUST NEVER BE LOOPED — PostHog's own policy, verbatim: \"Third-party connectors must use batch exports, not /query. Connectors built on /query are not supported and will be rate-limited or rejected.\" Ask ONE bounded question. Do not paginate it, do not schedule it, and do not call it repeatedly to assemble a whole table; if the user genuinely needs bulk data, tell them to set up a PostHog batch export. Every query is capped at 1000 rows, and OFFSET is refused outright because PostHog returns HTTP 400 for it on API keys — use keyset pagination on `timestamp` (events) or `id` (persons) if a second page is truly needed. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "number",
"description": "row cap, 1–1000 (default 1000). A LIMIT already in the query is honoured and clamped to the same ceiling"
},
"query": {
"type": "string",
"description": "a HogQL (ClickHouse-flavoured SQL) query — one bounded question, never a page of an export"
}
}
},
"annotations": {
"title": "Ask PostHog a question in HogQL",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read back an insight the user already BUILT in their PostHog UI — funnels, retention curves, trends and paths. Call with NO id to LIST the saved insights with their names and ids; call with insightId for that insight's definition and computed result. THIS IS THE RIGHT WAY TO ANSWER A FUNNEL OR RETENTION QUESTION when the report already exists, and the reason is a documentation fact rather than a preference: PostHog's typed query kinds (FunnelsQuery, RetentionQuery, PathsQuery) are undocumented — their own docs say those "are mostly used to power PostHog internally and are not useful for you" and publish no request payload, no field table and no example for any of them, so building on them would be a private API that can change without notice. The two supported routes are HogQL (posthog_query) and a saved insight (this). Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| refresh | boolean | default true (recompute if stale); false = return the cached result even if stale |
| insightId | string | omit to list the saved insights and their ids |
{
"name": "posthog_insight",
"title": "Read a saved PostHog insight (funnel / retention / trend)",
"description": "Read back an insight the user already BUILT in their PostHog UI — funnels, retention curves, trends and paths. Call with NO id to LIST the saved insights with their names and ids; call with insightId for that insight's definition and computed result. THIS IS THE RIGHT WAY TO ANSWER A FUNNEL OR RETENTION QUESTION when the report already exists, and the reason is a documentation fact rather than a preference: PostHog's typed query kinds (FunnelsQuery, RetentionQuery, PathsQuery) are undocumented — their own docs say those \"are mostly used to power PostHog internally and are not useful for you\" and publish no request payload, no field table and no example for any of them, so building on them would be a private API that can change without notice. The two supported routes are HogQL (posthog_query) and a saved insight (this). Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"refresh": {
"type": "boolean",
"description": "default true (recompute if stale); false = return the cached result even if stale"
},
"insightId": {
"type": "string",
"description": "omit to list the saved insights and their ids"
}
}
},
"annotations": {
"title": "Read a saved PostHog insight (funnel / retention / trend)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}SESSION REPLAYS. Lists recent recordings with who they belong to, how long they ran, how many clicks / keypresses / CONSOLE ERRORS each had, the URL they started on, and a link that opens the replay in PostHog. USE THE SIGNALS RATHER THAN JUST LISTING THEM: a session with console errors and a high keypress count on a checkout page is a bug report with a video attached, and that is the insight worth surfacing. THE RAW REPLAY IS NOT AVAILABLE OVER THE API — PostHog's words: "This endpoint does not provide the raw JSON of the replays. To get the raw JSON, you need to click Export as JSON in the replay options menu in-app." So describe and link; never promise a download and never claim to have watched one. Links need the user's own PostHog login. A publicly shareable link is minted in the PostHog UI and deliberately not by an agent, because it publishes a real person's session and PostHog themselves say they "make no guarantees about sensitive information contained in the recording". Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1–100, default 20 |
{
"name": "list_posthog_session_recordings",
"title": "List PostHog session replays",
"description": "SESSION REPLAYS. Lists recent recordings with who they belong to, how long they ran, how many clicks / keypresses / CONSOLE ERRORS each had, the URL they started on, and a link that opens the replay in PostHog. USE THE SIGNALS RATHER THAN JUST LISTING THEM: a session with console errors and a high keypress count on a checkout page is a bug report with a video attached, and that is the insight worth surfacing. THE RAW REPLAY IS NOT AVAILABLE OVER THE API — PostHog's words: \"This endpoint does not provide the raw JSON of the replays. To get the raw JSON, you need to click Export as JSON in the replay options menu in-app.\" So describe and link; never promise a download and never claim to have watched one. Links need the user's own PostHog login. A publicly shareable link is minted in the PostHog UI and deliberately not by an agent, because it publishes a real person's session and PostHog themselves say they \"make no guarantees about sensitive information contained in the recording\". Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "1–100, default 20"
}
}
},
"annotations": {
"title": "List PostHog session replays",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Look up PEOPLE in PostHog by distinct id, email or a free-text search, with their properties. Use it to resolve a specific customer, then use their distinct id inside posthog_query to see exactly what that one human did. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| string | exact email match | |
| limit | number | 1–100, default 20 |
| search | string | free-text search across person properties |
| distinctId | string | PostHog distinct id |
{
"name": "posthog_persons",
"title": "Look up people in PostHog",
"description": "Look up PEOPLE in PostHog by distinct id, email or a free-text search, with their properties. Use it to resolve a specific customer, then use their distinct id inside posthog_query to see exactly what that one human did. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"email": {
"type": "string",
"description": "exact email match"
},
"limit": {
"type": "number",
"description": "1–100, default 20"
},
"search": {
"type": "string",
"description": "free-text search across person properties"
},
"distinctId": {
"type": "string",
"description": "PostHog distinct id"
}
}
},
"annotations": {
"title": "Look up people in PostHog",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}READ BACK A SAVED MIXPANEL REPORT by its bookmark id — and this is the PREFERRED Mixpanel lane, not a fallback. Mixpanel has put BOTH its Segmentation and its Funnels query APIs in maintenance mode and recommends in their place that the report is built in the Mixpanel UI and read programmatically through Insights, which is exactly what this does. THE BOOKMARK ID MUST COME FROM THE USER: Mixpanel publishes no endpoint that lists saved reports, so ask them to open the report in Mixpanel and copy the id out of its URL (the part after "report-"). Remember Mixpanel allows only 60 QUERIES PER HOUR across its entire Query API — the tightest budget of any connector here — so reuse an answer rather than re-asking. READ BACK dateRange, do not assume the window: a saved report's date range is configured in Mixpanel's own UI and not by this call, and it comes back stamped with the PROJECT's UTC offset — the only place this connector can observe that timezone at all. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| bookmarkId * | string | the saved report's bookmark id, from its URL in Mixpanel |
{
"name": "mixpanel_insights",
"title": "Read a saved Mixpanel report",
"description": "READ BACK A SAVED MIXPANEL REPORT by its bookmark id — and this is the PREFERRED Mixpanel lane, not a fallback. Mixpanel has put BOTH its Segmentation and its Funnels query APIs in maintenance mode and recommends in their place that the report is built in the Mixpanel UI and read programmatically through Insights, which is exactly what this does. THE BOOKMARK ID MUST COME FROM THE USER: Mixpanel publishes no endpoint that lists saved reports, so ask them to open the report in Mixpanel and copy the id out of its URL (the part after \"report-\"). Remember Mixpanel allows only 60 QUERIES PER HOUR across its entire Query API — the tightest budget of any connector here — so reuse an answer rather than re-asking. READ BACK dateRange, do not assume the window: a saved report's date range is configured in Mixpanel's own UI and not by this call, and it comes back stamped with the PROJECT's UTC offset — the only place this connector can observe that timezone at all. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"bookmarkId"
],
"properties": {
"bookmarkId": {
"type": "string",
"description": "the saved report's bookmark id, from its URL in Mixpanel"
}
}
},
"annotations": {
"title": "Read a saved Mixpanel report",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}MIXPANEL RETENTION — how many of the people who did a first thing came back and did another, cohorted by day / week / month. This endpoint is FULLY SUPPORTED, unlike segmentation and funnels, which Mixpanel has put in maintenance mode — so it is the one typed Mixpanel report to reach for first. retentionType "birth" cohorts people by their FIRST occurrence of bornEvent (new-user retention, and Mixpanel's DEFAULT); "compounded" counts anyone active. Warning: MIXPANEL REQUIRES bornEvent WHENEVER retentionType IS "birth", AND BIRTH IS THE DEFAULT — so a call with neither is refused HERE, for free, rather than spending one of the sixty hourly queries on their 400; use list_mixpanel_events first to name a real event. TWO FILTERS, NOT ONE: bornWhere filters who ENTERS the cohort, where filters the RETURNING event. And interval is the WIDTH of each bucket while intervalCount is HOW MANY of them — different knobs. Dates are YYYY-MM-DD and BOTH ENDS ARE INCLUSIVE, resolved in the PROJECT's timezone (UTC unless its owner changed it) rather than in yours. 60 queries/hour across the whole Query API (5 concurrent) — the tightest budget of any connector here, so widen a range rather than looping over days. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| on | string | a property expression to segment the returning event on — this is what breaks a retention curve down by e.g. plan or platform |
| unit | string | the interval unit (default day) |
| event | string | the returning event; omitted means any event |
| limit | number | top N segmentation values; does nothing unless "on" is set |
| where | string | a Mixpanel segmentation expression filtering the RETURNING event |
One Mixpanel event over time, optionally broken down by a property (`on`) and filtered (`where`). Warning: MIXPANEL HAS PUT THIS ENDPOINT IN MAINTENANCE MODE — their words: "We recommend discontinuing new use of this endpoint. To break down and filter event data, build an Insights report in-app and query it programmatically with the Insights Query API." It still answers today, which is why it is offered rather than withheld, but SAY SO when you use it and prefer mixpanel_insights whenever the user can build the report. It takes ONE event name and not an array (the /events endpoints take an array; this one does not — an easy and silent mistake). 60 queries/hour across the whole Query API. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| on | string | a segmentation expression to break down by, e.g. properties["$browser"] |
| type | string | count type: general (event count, default), unique (distinct users) or average |
| unit | string | NOTE: Mixpanel offers no "week" on segmentation, unlike retention |
| event * | string | a SINGLE event name — not an array |
| limit | number | top N property values; Mixpanel defaults to 60, max 10000, and it does nothing unless "on" is set |
| where | string | a segmentation expression to filter by |
| toDate | string | YYYY-MM-DD (default today) |
A saved Mixpanel funnel. Call with NO id to LIST the saved funnels and their ids; call with funnelId to read its conversion data. Warning: MIXPANEL HAS PUT THE FUNNELS QUERY API IN MAINTENANCE MODE — their words: "We recommend discontinuing new use of this endpoint. To get funnel data, build a Funnels report in-app and query it programmatically with the Insights Query API." So prefer mixpanel_insights with that report's bookmark id; this is offered because it still answers and because it is the only way to LIST a project's funnels. `length` IS BOUNDED AT 90 DAYS, WHICH IS NOT THE NUMBER 90: it counts lengthUnits, so 90 days is 2160 hours or 129600 minutes, and an over-long window is REFUSED BY NAME rather than trimmed — silently shortening it would answer a different question with nothing to show that it had happened. Omit both and Mixpanel uses whatever the funnel was saved with in its own UI, which is usually what you want. Dates are YYYY-MM-DD and BOTH ENDS ARE INCLUSIVE, resolved in the PROJECT's timezone (UTC unless its owner changed it) rather than in yours. 60 queries/hour across the whole Query API (5 concurrent) — the tightest budget of any connector here, so widen a range rather than looping over days. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| on | string | a property expression to break the funnel down by |
| unit | string | the bucket the results are grouped into |
| limit | number | top N property values; Mixpanel defaults to 255, max 10000, and it does nothing unless "on" is set |
| where | string | a segmentation expression to filter by |
| length | number | the conversion window, counted in lengthUnits — the TOTAL may not exceed 90 days. Omit to use the funnel own saved value |
The EVENT VOCABULARY of the Mixpanel project — the most common event names over THE LAST 31 DAYS, so a query names something the project actually records rather than a guess. Start here before any other Mixpanel call. Pass `event` to list THAT event's top property names instead; the two are different questions with different answers, and a failure to read properties is reported AS a failure and never as "this event has no properties". Pass window "today" for Mixpanel's separate today-only endpoint, which carries counts and the percent change from yesterday — that is a DIFFERENT and far narrower question, and on a quiet project (or simply early in the project's own timezone day) it legitimately returns nothing while the project still records dozens of event types, so NEVER read an empty today answer as "this project has no events". 60 queries/hour across the whole Query API (5 concurrent) — the tightest budget of any connector here, so widen a range rather than looping over days. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| type | string | count type for the event amounts: general (default), unique or average |
| event | string | pass an event name to list ITS properties instead of listing events |
| limit | number | Mixpanel own defaults are 255 for the vocabulary, 100 for today and 10 for properties |
| window | string | "vocabulary" (default) = the most common events over the last 31 days, names only. "today" = today only, with counts and the change from yesterday — a much narrower question |
AMPLITUDE EVENT SEGMENTATION — an event over time, with filters and group-bys. metric is uniques / totals / pct_dau / average / histogram / sums / value_avg / formula (and "formula" additionally REQUIRES `formula`, or Amplitude refuses it). Dates take YYYY-MM-DD or YYYYMMDD. AMPLITUDE'S RATE LIMIT IS COST-BASED, not per-request: cost = days × conditions × query type, 1000 per 5-minute window, so one very wide query can exhaust the budget on its own — the fix for a 429 here is to NARROW the range or the conditions, not to retry. AN EMPTY RESULT IS A VALID ANSWER, not a failure: a new or low-traffic Amplitude project genuinely has no data, and reporting that as a broken connection sends the user to fix something that is working. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| end | string | YYYYMMDD or YYYY-MM-DD (default today) |
| event | string | shorthand for a single event name |
| limit | number | ≤1000 |
| start | string | YYYYMMDD or YYYY-MM-DD (default 30 days ago) |
| events | array | one or two event specs: a plain name, or {eventType, filters:[{subprop_type,subprop_key,subprop_op,subprop_value}], groupBy:[…]} |
| metric | string | default uniques |
| formula | string | required when metric is "formula" |
| groupBy | string |
AMPLITUDE FUNNELS: conversion and drop-off across ordered steps. Pass `events` as an ORDERED array of at least two steps. mode is ordered / unordered / sequential. conversionWindowSeconds is how long a user has to complete the funnel and DEFAULTS TO 2,592,000 SECONDS (30 DAYS) — ALWAYS state which window a conversion rate was measured over, because a 30-day window makes a funnel look dramatically healthier than a same-session one and the difference is invisible in the number itself. At most ONE group-by: segmentation allows two, funnels do not, and a second is refused by name rather than silently dropped. Returns step-by-step and cumulative conversion plus median and average transition times. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| end | string | YYYYMMDD or YYYY-MM-DD (default today) |
| mode | string | default ordered |
| start | string | YYYYMMDD or YYYY-MM-DD (default 30 days ago) |
| users | string | 'new' = first-time users only (the acquisition funnel); Amplitude's default is active |
| events * | array | ordered steps — plain event names, or {eventType, filters:[…]} objects |
| groupBy | string | at most ONE — a second is refused |
| segments | array | FILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp:<name>; built-ins are country, city, re… |
AMPLITUDE RETENTION — of the people who did startEvent, how many came back and did returnEvent. The two magic values are "_new" (first-time users) and "_active" (any active user), which is what makes "new-user retention" a single call. retentionMode is n-day / bracket / rolling, and "bracket" additionally REQUIRES `brackets` — it is refused without them rather than silently switched to another mode, because a retention curve computed under a different definition than the one asked for is a wrong answer that looks right. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| end | string | YYYYMMDD or YYYY-MM-DD (default today) |
| start | string | YYYYMMDD or YYYY-MM-DD (default 30 days ago) |
| groupBy | string | ONE property to group by |
| brackets | array | required when retentionMode is "bracket" |
| interval | number | 1 daily, 7 weekly, 30 monthly |
| segments | array | FILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp:<name>; built-ins are country, city, re… |
| startEvent | string | "_new" (default) or an event name |
| returnEvent |
Amplitude ACTIVE or NEW user counts over a date range — the top-line "is the product growing" number, and the cheapest Amplitude call to run first after connecting because it proves the credential with no setup. metric is "active" or "new"; interval 1 daily, 7 weekly, 30 monthly. An empty series on a new project is the CORRECT answer and means the connection works and there is no data yet — never report it as a failure. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| end | string | YYYYMMDD or YYYY-MM-DD (default today) |
| start | string | YYYYMMDD or YYYY-MM-DD (default 30 days ago) |
| metric | string | default active |
| groupBy | string | ONE property to group by |
| interval | number | 1 daily, 7 weekly, 30 monthly |
| segments | array | FILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp:<name>; built-ins are country, city, re… |
{
"name": "amplitude_active_users",
"title": "Amplitude active / new users",
"description": "Amplitude ACTIVE or NEW user counts over a date range — the top-line \"is the product growing\" number, and the cheapest Amplitude call to run first after connecting because it proves the credential with no setup. metric is \"active\" or \"new\"; interval 1 daily, 7 weekly, 30 monthly. An empty series on a new project is the CORRECT answer and means the connection works and there is no data yet — never report it as a failure. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"end": {
"type": "string",
"description": "YYYYMMDD or YYYY-MM-DD (default today)"
},
"start": {
"type": "string",
"description": "YYYYMMDD or YYYY-MM-DD (default 30 days ago)"
},
"metric": {
"enum": [
"active",
"new"
],
"type": "string",
"description": "default active"
},
"groupBy": {
"type": "string",
"description": "ONE property to group by"
},
"interval": {
"type": "number",
"description": "1 daily, 7 weekly, 30 monthly"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"description": "property operator, e.g. is, is not, contains; symbol (>=) on a who-performed condition"
},
"prop": {
"type": "string",
"description": "user property to filter on: built-in (country, platform), gp:<name> for custom, or userdata_cohort"
},
"type": {
"type": "string",
"description": "'event' for a who-performed condition; omit for a property filter"
},
"value": {
"type": "number",
"description": "who-performed count threshold; default 1 (at least once)"
},
"values": {
"type": "array",
"items": {
"type": "string"
},
"description": "values the property must match, e.g. [\"summer\"]"
},
"time_type": {
"type": "string",
"description": "rolling (the only accepted value; default)"
},
"event_type": {
"type": "string",
"description": "event name for a who-performed condition"
},
"time_value": {
"type": "number",
"description": "who-performed look-back in days; default 30"
}
},
"additionalProperties": {}
},
"description": "FILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp:<name>; built-ins are country, city, region, platform, os, device_type, version, language, paying; prop userdata_cohort + a cohort id filters to a behavioural cohort. A \"who performed\" condition is {type:'event', event_type, op:'>=', value:1, time_type:'rolling', time_value:30} (did it at least once in the last 30 days); symbol operators only."
}
}
},
"annotations": {
"title": "Amplitude active / new users",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}ONE PERSON'S ACTIVITY STREAM in Amplitude. Pass a user id, device id or user-id PREFIX and it SEARCHES; pass a numeric Amplitude ID and it returns that user's recent events with their properties. Two steps, because Amplitude splits them across two endpoints: search resolves a human-typed identifier to an Amplitude ID, and only that id reads an activity stream. NOTE these two endpoints sit on a DIFFERENT rate limit from the rest of Amplitude — flat counts (10 concurrent, 360 queries/hour) rather than the cost model — so they do not consume the segmentation budget and are not protected by it either. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| user * | string | a numeric Amplitude ID to read activity, or a user id / device id / user-id prefix to search |
| limit | number | maximum events to return, up to 1000 |
| search | boolean | force a search even when the value is numeric |
{
"name": "amplitude_user_activity",
"title": "One person’s Amplitude activity stream",
"description": "ONE PERSON'S ACTIVITY STREAM in Amplitude. Pass a user id, device id or user-id PREFIX and it SEARCHES; pass a numeric Amplitude ID and it returns that user's recent events with their properties. Two steps, because Amplitude splits them across two endpoints: search resolves a human-typed identifier to an Amplitude ID, and only that id reads an activity stream. NOTE these two endpoints sit on a DIFFERENT rate limit from the rest of Amplitude — flat counts (10 concurrent, 360 queries/hour) rather than the cost model — so they do not consume the segmentation budget and are not protected by it either. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"user"
],
"properties": {
"user": {
"type": "string",
"description": "a numeric Amplitude ID to read activity, or a user id / device id / user-id prefix to search"
},
"limit": {
"type": "number",
"description": "maximum events to return, up to 1000"
},
"search": {
"type": "boolean",
"description": "force a search even when the value is numeric"
}
}
},
"annotations": {
"title": "One person’s Amplitude activity stream",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The Amplitude TAXONOMY — the project's declared events, event properties, user properties or group properties, so a query names something real instead of a guess. category is event (default) / category / event-property / user-property / group-property. IF AMPLITUDE REFUSES THIS, REPORT THEIR REFUSAL AND MOVE ON. The Taxonomy API is widely believed to require an enterprise/Govern entitlement, but Amplitude documents no such gating on either the taxonomy page or the Dashboard API page (both checked), so a 403 here is surfaced as AMPLITUDE'S OWN message and is never presented as a Hermoso plan rule, as a broken connection, or as a fact about the user's plan that we cannot actually know. Every other Amplitude tool is unaffected by that refusal. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| category | string | default "event" |
{
"name": "list_amplitude_events",
"title": "Amplitude taxonomy (declared events and properties)",
"description": "The Amplitude TAXONOMY — the project's declared events, event properties, user properties or group properties, so a query names something real instead of a guess. category is event (default) / category / event-property / user-property / group-property. IF AMPLITUDE REFUSES THIS, REPORT THEIR REFUSAL AND MOVE ON. The Taxonomy API is widely believed to require an enterprise/Govern entitlement, but Amplitude documents no such gating on either the taxonomy page or the Dashboard API page (both checked), so a 403 here is surfaced as AMPLITUDE'S OWN message and is never presented as a Hermoso plan rule, as a broken connection, or as a fact about the user's plan that we cannot actually know. Every other Amplitude tool is unaffected by that refusal. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"category": {
"enum": [
"category",
"event",
"event-property",
"user-property",
"group-property"
],
"type": "string",
"description": "default \"event\""
}
}
},
"annotations": {
"title": "Amplitude taxonomy (declared events and properties)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}READ BACK A SAVED AMPLITUDE CHART by its id — the chart the user already built in Amplitude's own UI, with whatever segments, filters and date range they configured there. This is the saved-chart read for Amplitude, and it is the right lane whenever the report already exists: you inherit their definitions instead of rebuilding them from a segmentation query, and it costs one call rather than several. THE CHART ID MUST COME FROM THE USER — Amplitude publishes no endpoint that lists a project's charts — and it is the segment after '/chart/' in the chart's URL (e.g. 'abc123' in https://analytics.amplitude.com/demo/chart/abc123); pasting the whole URL works too. THE RESPONSE SHAPE VARIES BY CHART TYPE, in Amplitude's own words, so read what comes back rather than assuming a series: it may be JSON or a text/CSV body, and BOTH are correct answers rather than one being an error. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| chartId * | string | the saved chart's id, or its full URL — the id is the segment after /chart/ |
{
"name": "amplitude_chart",
"title": "Read a saved Amplitude chart",
"description": "READ BACK A SAVED AMPLITUDE CHART by its id — the chart the user already built in Amplitude's own UI, with whatever segments, filters and date range they configured there. This is the saved-chart read for Amplitude, and it is the right lane whenever the report already exists: you inherit their definitions instead of rebuilding them from a segmentation query, and it costs one call rather than several. THE CHART ID MUST COME FROM THE USER — Amplitude publishes no endpoint that lists a project's charts — and it is the segment after '/chart/' in the chart's URL (e.g. 'abc123' in https://analytics.amplitude.com/demo/chart/abc123); pasting the whole URL works too. THE RESPONSE SHAPE VARIES BY CHART TYPE, in Amplitude's own words, so read what comes back rather than assuming a series: it may be JSON or a text/CSV body, and BOTH are correct answers rather than one being an error. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"chartId"
],
"properties": {
"chartId": {
"type": "string",
"description": "the saved chart's id, or its full URL — the id is the segment after /chart/"
}
}
},
"annotations": {
"title": "Read a saved Amplitude chart",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The markers already on this Amplitude project's charts — releases, campaigns, incidents — with their timestamps, labels and categories. READ THESE BEFORE EXPLAINING A CHANGE IN A CHART: a spike that lines up with an annotation has an explanation somebody already wrote down, and reporting it as a mystery when the answer is sitting on the timeline is exactly the failure this closes. Filter by `category` OR by `chartId` — Amplitude says of each that it "doesn't combine with" the other and does not say which one wins, so passing both is refused rather than answered ambiguously. `start` and `end` are ISO 8601 (e.g. '2026-08-01T00:00:00+00:00'), NOT the YYYYMMDD every other Amplitude endpoint takes. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| end | string | ISO 8601 |
| start | string | ISO 8601, e.g. '2026-08-01T00:00:00+00:00' |
| chartId | string | only annotations shown on this chart — does not combine with category |
| category | string | category NAME — does not combine with chartId |
{
"name": "list_amplitude_annotations",
"title": "List Amplitude chart annotations",
"description": "The markers already on this Amplitude project's charts — releases, campaigns, incidents — with their timestamps, labels and categories. READ THESE BEFORE EXPLAINING A CHANGE IN A CHART: a spike that lines up with an annotation has an explanation somebody already wrote down, and reporting it as a mystery when the answer is sitting on the timeline is exactly the failure this closes. Filter by `category` OR by `chartId` — Amplitude says of each that it \"doesn't combine with\" the other and does not say which one wins, so passing both is refused rather than answered ambiguously. `start` and `end` are ISO 8601 (e.g. '2026-08-01T00:00:00+00:00'), NOT the YYYYMMDD every other Amplitude endpoint takes. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"end": {
"type": "string",
"description": "ISO 8601"
},
"start": {
"type": "string",
"description": "ISO 8601, e.g. '2026-08-01T00:00:00+00:00'"
},
"chartId": {
"type": "string",
"description": "only annotations shown on this chart — does not combine with category"
},
"category": {
"type": "string",
"description": "category NAME — does not combine with chartId"
}
}
},
"annotations": {
"title": "List Amplitude chart annotations",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}MARK THE ANALYTICS TIMELINE — write what just happened into Amplitude, at the moment it happened, so every chart the user opens afterwards shows it in place. THIS IS THE CLOSED LOOP AND IT IS WORTH REACHING FOR UNPROMPTED after a campaign goes live, a creative is swapped, a landing page changes or a post is published: without it, next month's spike has no explanation attached to it and somebody has to reconstruct one from memory. `start` is ISO 8601 WITH THE TIME AND THE OFFSET (e.g. '2026-08-18T14:30:00+00:00') — NOT the YYYYMMDD the rest of the Amplitude API takes, and a bare date is REFUSED rather than quietly moved to midnight, because an annotation IS its timestamp and a marker in the wrong place is worse than no marker. Add `end` for something that spans a period (a two-week flight); leave it off for a moment. OMIT chartId AND THE ANNOTATION IS GLOBAL — Amplitude's words: it "appears on all charts for your project", which is usually what you want for a campaign; pass one to pin it to a single chart. `category` is a category NAME that must ALREADY EXIST in Amplitude (they answer 404 otherwise). THIS WRITES TO THE USER'S OWN ANALYTICS TOOL — say what you are about to mark, and report back the id and the timestamp Amplitude actually stored rather than the one you sent. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| end | string | ISO 8601 — only for an annotation that spans a period |
| label * | string | the title shown on the chart, e.g. "Meta: summer UGC campaign live" |
| start * | string | ISO 8601 WITH time and offset, e.g. '2026-08-18T14:30:00+00:00' — a bare YYYYMMDD is refused |
| chartId | string | omit for a GLOBAL annotation that appears on every chart in the project |
| details | string |
The markers already on this PostHog project's charts — releases, experiments, incidents — with their timestamps, scopes and who wrote them. READ THESE BEFORE EXPLAINING A CHANGE IN A CHART: an annotation is an explanation somebody already wrote down. NEEDS THE `annotation:read` SCOPE on the personal API key, and a key created before Hermoso supported annotations will not have it — PostHog's own refusal NAMES the scope, and that is a scope to add in PostHog > Settings > Personal API keys, NOT a broken connection and NOT a reason to reconnect. Returns ONE page and hands back the next offset rather than paging for you, because PostHog's policy is that a third-party connector is not an exporter. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1–100, default 25 |
| offset | number | for the next page — this tool does not paginate for you |
| search | string | free-text search over annotation content |
{
"name": "list_posthog_annotations",
"title": "List PostHog annotations",
"description": "The markers already on this PostHog project's charts — releases, experiments, incidents — with their timestamps, scopes and who wrote them. READ THESE BEFORE EXPLAINING A CHANGE IN A CHART: an annotation is an explanation somebody already wrote down. NEEDS THE `annotation:read` SCOPE on the personal API key, and a key created before Hermoso supported annotations will not have it — PostHog's own refusal NAMES the scope, and that is a scope to add in PostHog > Settings > Personal API keys, NOT a broken connection and NOT a reason to reconnect. Returns ONE page and hands back the next offset rather than paging for you, because PostHog's policy is that a third-party connector is not an exporter. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "1–100, default 25"
},
"offset": {
"type": "number",
"description": "for the next page — this tool does not paginate for you"
},
"search": {
"type": "string",
"description": "free-text search over annotation content"
}
}
},
"annotations": {
"title": "List PostHog annotations",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}MARK THE POSTHOG TIMELINE — write what just happened into PostHog at the moment it happened, so every chart afterwards shows it in place. The same closed loop as create_amplitude_annotation, and worth reaching for unprompted after a campaign goes live, a creative is swapped or a landing page changes. `dateMarker` is what POSITIONS the marker on the x-axis (ISO 8601); omit it and NOW is used, which is right for "this just went live" — and the timestamp PostHog actually STORED is reported back rather than the one sent. `scope` is project (the default — shows on everything) / organization / dashboard / dashboard_item, and `dashboard` and `dashboard_item` each need their id or the annotation attaches to nothing and appears nowhere. PostHog also publishes a `recording` scope which THEY THEMSELVES REJECT, so it is refused by name here rather than sent. `creationType` USR means a person wrote it, GIT means a bot or a deployment did. NEEDS THE `annotation:write` SCOPE on the personal API key — a key made before Hermoso supported annotations will not have it; PostHog names it in their refusal, and it is added in PostHog > Settings > Personal API keys without reconnecting. THIS WRITES TO THE USER'S OWN ANALYTICS TOOL. 0 credits.
| Parameter | Type | Description |
|---|---|---|
| scope | string | default project. PostHog's `recording` scope is deprecated and rejected by PostHog |
| content * | string | the text shown on the chart, ≤8192 characters |
| insightId | number | REQUIRED when scope is "dashboard_item" — the numeric id of the insight |
| dateMarker | string | ISO 8601 — defaults to now, which is right for "this just went live" |
| dashboardId | number | REQUIRED when scope is "dashboard" |
The markers already on this Mixpanel project's charts (launches, campaigns, incidents) with their date, text, tags and who wrote them. READ THESE BEFORE EXPLAINING A CHANGE IN A CHART: an annotation is an explanation somebody already wrote down. fromDate / toDate (YYYY-MM-DD, both inclusive) narrow the window. Read-only, 0 credits. Needs Mixpanel connected.
| Parameter | Type | Description |
|---|---|---|
| toDate | string | YYYY-MM-DD, inclusive |
| fromDate | string | YYYY-MM-DD, inclusive |
{
"name": "list_mixpanel_annotations",
"title": "List Mixpanel annotations",
"description": "The markers already on this Mixpanel project's charts (launches, campaigns, incidents) with their date, text, tags and who wrote them. READ THESE BEFORE EXPLAINING A CHANGE IN A CHART: an annotation is an explanation somebody already wrote down. fromDate / toDate (YYYY-MM-DD, both inclusive) narrow the window. Read-only, 0 credits. Needs Mixpanel connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"toDate": {
"type": "string",
"description": "YYYY-MM-DD, inclusive"
},
"fromDate": {
"type": "string",
"description": "YYYY-MM-DD, inclusive"
}
}
},
"annotations": {
"title": "List Mixpanel annotations",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}MARK THE MIXPANEL TIMELINE: write what just happened into Mixpanel at the moment it happened, so every chart afterwards shows it in place. The same closed loop as the PostHog and Amplitude annotation tools, worth reaching for unprompted after a campaign goes live, a creative is swapped or a landing page changes. `date` is "YYYY-MM-DD HH:mm:ss" (Mixpanel's own format, charted in the PROJECT's timezone), "YYYY-MM-DD", or an ISO timestamp with its offset (written in the project's timezone so the mark sits at that exact instant, read back to prove it); omit it for NOW. tags are numeric annotation-tag ids. The stored row is read back. Mixpanel only lets a service account with at least the ANALYST role write annotations; a lower role is refused by name, and that is a role change in Mixpanel, not a reconnect. 0 credits. Needs Mixpanel connected.
| Parameter | Type | Description |
|---|---|---|
| date | string | "YYYY-MM-DD HH:mm:ss", "YYYY-MM-DD" or ISO with offset; default now |
| tags | array | annotation-tag ids |
| description * | string | the text shown on the chart, e.g. "Meta: summer UGC campaign went live" |
{
"name": "create_mixpanel_annotation",
"title": "Mark the Mixpanel timeline",
"description": "MARK THE MIXPANEL TIMELINE: write what just happened into Mixpanel at the moment it happened, so every chart afterwards shows it in place. The same closed loop as the PostHog and Amplitude annotation tools, worth reaching for unprompted after a campaign goes live, a creative is swapped or a landing page changes. `date` is \"YYYY-MM-DD HH:mm:ss\" (Mixpanel's own format, charted in the PROJECT's timezone), \"YYYY-MM-DD\", or an ISO timestamp with its offset (written in the project's timezone so the mark sits at that exact instant, read back to prove it); omit it for NOW. tags are numeric annotation-tag ids. The stored row is read back. Mixpanel only lets a service account with at least the ANALYST role write annotations; a lower role is refused by name, and that is a role change in Mixpanel, not a reconnect. 0 credits. Needs Mixpanel connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"description"
],
"properties": {
"date": {
"type": "string",
"description": "\"YYYY-MM-DD HH:mm:ss\", \"YYYY-MM-DD\" or ISO with offset; default now"
},
"tags": {
"type": "array",
"items": {
"type": "number"
},
"description": "annotation-tag ids"
},
"description": {
"type": "string",
"description": "the text shown on the chart, e.g. \"Meta: summer UGC campaign went live\""
}
}
},
"annotations": {
"title": "Mark the Mixpanel timeline",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Change the text or tags of a Mixpanel annotation (annotationId from list_mixpanel_annotations). Mixpanel cannot move an annotation to a new date; to fix a wrong date, delete it and create a new one. The edited row is read back. Needs the ANALYST role on the service account. 0 credits. Needs Mixpanel connected.
| Parameter | Type | Description |
|---|---|---|
| tags | array | annotation-tag ids |
| description | string | new annotation text; empty text is refused |
| annotationId * | number | from list_mixpanel_annotations |
{
"name": "update_mixpanel_annotation",
"title": "Edit a Mixpanel annotation",
"description": "Change the text or tags of a Mixpanel annotation (annotationId from list_mixpanel_annotations). Mixpanel cannot move an annotation to a new date; to fix a wrong date, delete it and create a new one. The edited row is read back. Needs the ANALYST role on the service account. 0 credits. Needs Mixpanel connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"annotationId"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "number"
},
"description": "annotation-tag ids"
},
"description": {
"type": "string",
"description": "new annotation text; empty text is refused"
},
"annotationId": {
"type": "number",
"description": "from list_mixpanel_annotations"
}
}
},
"annotations": {
"title": "Edit a Mixpanel annotation",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Permanently delete a Mixpanel annotation from every chart in the project. WITHOUT confirm:true nothing is deleted and you get the exact annotation that would go, to show the user; call again with confirm:true only after they say yes. The delete is verified by reading it back. Needs the ANALYST role on the service account. 0 credits. Needs Mixpanel connected.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | true only after the user approved deleting this exact annotation |
| annotationId * | number | from list_mixpanel_annotations |
{
"name": "delete_mixpanel_annotation",
"title": "Delete a Mixpanel annotation",
"description": "Permanently delete a Mixpanel annotation from every chart in the project. WITHOUT confirm:true nothing is deleted and you get the exact annotation that would go, to show the user; call again with confirm:true only after they say yes. The delete is verified by reading it back. Needs the ANALYST role on the service account. 0 credits. Needs Mixpanel connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"annotationId"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "true only after the user approved deleting this exact annotation"
},
"annotationId": {
"type": "number",
"description": "from list_mixpanel_annotations"
}
}
},
"annotations": {
"title": "Delete a Mixpanel annotation",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}PostHog SURVEYS. Without surveyId: the project's surveys (name, type, running / complete / draft / archived, dates, questions); filter by status or search. With surveyId: that survey's questions (with their ids, for posthog_survey_responses) plus its stats: shown / dismissed / sent counts, response and dismissal rates, and per-question distributions and rating averages. NEEDS THE OPTIONAL survey:read SCOPE on the PostHog personal API key: a key without it connects fine and works for everything else, and this tool then says exactly which box to tick in PostHog > Settings > Personal API keys. That is never a reconnect. Read-only, 0 credits. Needs PostHog connected.
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1-100, default 25 |
| dateTo | string | stats window end, ISO |
| offset | number | skip this many surveys; use the nextOffset from the previous reply |
| search | string | match survey names containing this text |
| status | string | only surveys in this state |
| archived | boolean | PostHog archived filter: true or false; omit to leave it unfiltered |
| dateFrom | string | stats window start, ISO |
| surveyId | string | one survey: its questions and stats |
THE ANSWERS people gave a PostHog survey, with the QUESTION TEXT resolved beside each answer: who (distinct_id), when, country, device and the page they were on. The customers' own words: the best raw input for ad hooks, angles and objections. questionId narrows to one question; with scoreLte / scoreGte on a rating question it pulls e.g. NPS detractors (scoreLte 6) or promoters (scoreGte 9). since / until are ISO timestamps. One page (limit 1-500, default 100) and the next offset when there is more. NEEDS THE OPTIONAL survey:read SCOPE on the PostHog personal API key (plus query:read, which every connection already has); without it this tool names the box to tick in PostHog, never a reconnect. Read-only, 0 credits. Needs PostHog connected.
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1-500, default 100 |
| since | string | ISO timestamp |
| until | string | ISO timestamp |
| offset | number | skip this many responses; use the nextOffset from the previous reply |
| scoreGte | number | needs questionId; e.g. 9 for NPS promoters |
| scoreLte | number | needs questionId; e.g. 6 for NPS detractors |
| surveyId * | string | from list_posthog_surveys |
| questionId | string |
THE SAVED COHORTS in the Mixpanel project — each with its id, name, description and CURRENT MEMBER COUNT. Two uses, and both matter for advertising: the counts alone answer "how big is our converted audience", and the id is what mixpanel_profiles needs to read the PEOPLE in one. A cohort hidden in Mixpanel's UI is still listed and flagged rather than dropped, because hidden is a display choice and it is still queryable by id. ONE CALL, and the cheapest thing on this connector — worth calling before mixpanel_profiles rather than guessing an id. Remember Mixpanel allows only 60 QUERIES PER HOUR across its entire Query API (5 concurrent), the tightest budget of any connector here, and this shares it with every other Mixpanel tool. Read-only, 0 credits.
No parameters.
{
"name": "list_mixpanel_cohorts",
"title": "List saved Mixpanel cohorts",
"description": "THE SAVED COHORTS in the Mixpanel project — each with its id, name, description and CURRENT MEMBER COUNT. Two uses, and both matter for advertising: the counts alone answer \"how big is our converted audience\", and the id is what mixpanel_profiles needs to read the PEOPLE in one. A cohort hidden in Mixpanel's UI is still listed and flagged rather than dropped, because hidden is a display choice and it is still queryable by id. ONE CALL, and the cheapest thing on this connector — worth calling before mixpanel_profiles rather than guessing an id. Remember Mixpanel allows only 60 QUERIES PER HOUR across its entire Query API (5 concurrent), the tightest budget of any connector here, and this shares it with every other Mixpanel tool. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "List saved Mixpanel cohorts",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}THE PEOPLE in Mixpanel, with their profile properties. Pass `cohortId` (from list_mixpanel_cohorts) for "who is in the Converted cohort and what do we know about them", or `where` for an ad-hoc filter over profile properties, or `distinctId` for one person. PASS `outputProperties` ALMOST ALWAYS: it cuts the payload to the properties you actually need, and Mixpanel says it "can drastically reduce the amount of data returned" and "can speed up queries significantly". RETURNS ONE PAGE AND DOES NOT PAGINATE FOR YOU — it hands back page, pageSize, total and a sessionId, and Mixpanel REQUIRES that sessionId alongside any page above 0, so a second page is a deliberate second call. DO NOT LOOP IT: Mixpanel allows 60 queries per hour across its ENTIRE Query API and each page spends one of them. REPORT `total` (the whole cohort) SEPARATELY FROM `count` (this page) — quoting only the page size understates the audience, which is the number a targeting decision gets made on. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| page | number | pages start at ZERO; any page above 0 REQUIRES sessionId |
| where | string | a Mixpanel segmentation expression over profile properties, e.g. properties["$city"] == "London" |
| cohortId | string | a numeric cohort id from list_mixpanel_cohorts |
| sessionId | string | from the previous page — required for page > 0 |
| distinctId | string | one person |
| dataGroupId | string | group key — for GROUP profiles rather than user profiles |
The brand's Vercel projects (its websites): name, id, framework, production URL and state, the latest deployment (URL, state, target, when), the linked git repo, and whether Web Analytics and Speed Insights are on. search filters by project name. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1-50, default 20 |
| cursor | string | nextCursor from a previous call |
| search | string | part of a project name |
{
"name": "list_vercel_projects",
"title": "List Vercel projects",
"description": "The brand's Vercel projects (its websites): name, id, framework, production URL and state, the latest deployment (URL, state, target, when), the linked git repo, and whether Web Analytics and Speed Insights are on. search filters by project name. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "1-50, default 20"
},
"cursor": {
"type": "string",
"description": "nextCursor from a previous call"
},
"search": {
"type": "string",
"description": "part of a project name"
}
}
},
"annotations": {
"title": "List Vercel projects",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Deployments on the brand's Vercel account, newest first: URL, state (READY, BUILDING, QUEUED, ERROR, CANCELED...), target (production or preview), when it was created and became ready, the commit message and Vercel's inspector link. Filter by projectId, target or state, or pass deploymentId (an id or a deployment URL) to read one, e.g. to see whether a page you just deployed is READY. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1-50, default 20 |
| state | string | filter to deployments in this state |
| until | string | the nextCursor a previous page returned — the next (older) page |
| target | string | filter by environment: production, preview or staging |
| projectId | string | project id or name |
| deploymentId | string | read ONE deployment by id or URL |
{
"name": "list_vercel_deployments",
"title": "List Vercel deployments",
"description": "Deployments on the brand's Vercel account, newest first: URL, state (READY, BUILDING, QUEUED, ERROR, CANCELED...), target (production or preview), when it was created and became ready, the commit message and Vercel's inspector link. Filter by projectId, target or state, or pass deploymentId (an id or a deployment URL) to read one, e.g. to see whether a page you just deployed is READY. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "1-50, default 20"
},
"state": {
"enum": [
"BLOCKED",
"BUILDING",
"CANCELED",
"DELETED",
"ERROR",
"INITIALIZING",
"QUEUED",
"READY"
],
"type": "string",
"description": "filter to deployments in this state"
},
"until": {
"type": "string",
"description": "the nextCursor a previous page returned — the next (older) page"
},
"target": {
"enum": [
"production",
"preview",
"staging"
],
"type": "string",
"description": "filter by environment: production, preview or staging"
},
"projectId": {
"type": "string",
"description": "project id or name"
},
"deploymentId": {
"type": "string",
"description": "read ONE deployment by id or URL"
}
}
},
"annotations": {
"title": "List Vercel deployments",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The domains on the brand's Vercel account (verified or not, when they expire), or with projectId the domains assigned to one project (and any redirect or git branch on them). Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1-50, default 20 |
| projectId | string | project id or name, for that project's domains |
{
"name": "list_vercel_domains",
"title": "List Vercel domains",
"description": "The domains on the brand's Vercel account (verified or not, when they expire), or with projectId the domains assigned to one project (and any redirect or git branch on them). Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "1-50, default 20"
},
"projectId": {
"type": "string",
"description": "project id or name, for that project's domains"
}
}
},
"annotations": {
"title": "List Vercel domains",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Vercel WEB ANALYTICS for one project: page views and unique visitors over a window (default the last 30 days, production traffic), and with `by` a breakdown by requestPath (which pages), referrerHostname (where visitors came from), country, deviceType, osName, browserName, route, utmSource / utmMedium / utmCampaign / utmContent / utmTerm (which campaigns and ads brought them), or a time step (day, week, month). Use it to see which landing pages and ad campaigns actually bring traffic. Needs Web Analytics turned on for the project in Vercel. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).
| Parameter | Type | Description |
|---|---|---|
| by | string | one or TWO comma-separated dimensions (at most one time step): requestPath, referrerHostname, country, deviceType, osName, browserName, route, utmSource, utmMedium, utmCampaign, utmContent, utmTerm, environment, flags, flags/<key>, hour, day, week, month, year — e.g. 'day,utmCampaign' |
| days | number | 1-366, default 30 |
| limit | number | rows in the breakdown, 1-100, default 10 |
| since | string | YYYY-MM-DD (instead of days) |
| until | string | YYYY-MM-DD (default now) |
| filter | string | Vercel's OData filter, e.g. utmSource eq 'facebook' |
| projectId * | string | project id or name (list_vercel_projects) |
Vercel CUSTOM EVENTS, the CONVERSIONS on a Vercel-hosted site (signups, purchases, any track('Name') from @vercel/analytics): the count and unique visitors over a window, and with `by` a breakdown by eventName, eventData/<property> (e.g. eventData/plan), utmSource / utmMedium / utmCampaign / utmContent / utmTerm (which ad or campaign drove the conversion), requestPath, country and the rest, or a time step. Up to TWO at once, e.g. by 'utmCampaign,eventName' or 'day,utmCampaign'. eventName narrows to one event. This is the conversion half of an ad report for a landing page on Vercel; vercel_web_analytics is the traffic half. Custom events need Web Analytics on and a Vercel Pro or Enterprise plan. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).
| Parameter | Type | Description |
|---|---|---|
| by | string | one or TWO comma-separated dimensions: eventName, eventData, eventData/<property>, utmSource, utmMedium, utmCampaign, utmContent, utmTerm, requestPath, referrerHostname, country, deviceType, osName, browserName, route, environment, flags, flags/<key>, or one time step hour/day/week/month/year |
| days | number | 1-366, default 30 |
| limit | number | rows in the breakdown, 1-100, default 10 |
| since | string | YYYY-MM-DD (instead of days) |
| until | string | YYYY-MM-DD (default now) |
| filter | string | Vercel's OData filter, e.g. utmSource eq 'facebook' |
| eventName |
Publish a STATIC landing page to the brand's Vercel account from HTML (it becomes index.html) or a few files [{file, data, encoding:'utf-8'|'base64'}], up to 50 files and 4 MB. project names the Vercel project (created if it does not exist; it becomes part of the URL). target 'preview' (default) makes a new preview URL and leaves the live site alone; 'production' REPLACES what the project's domains serve. WITHOUT confirm:true nothing is sent and you get the exact preview to show the user; call again with confirm:true only after they say yes. The answer is Vercel's own deployment row (URL and state); a new deployment is QUEUED or BUILDING for a moment, so read it back with list_vercel_deployments deploymentId until READY. Free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).
| Parameter | Type | Description |
|---|---|---|
| html | string | the full HTML of the page |
| files | array | instead of (or as well as) html: relative paths with their content |
| target | string | default preview |
| confirm | boolean | true only after the user approved this exact deploy |
| project * | string | Vercel project name, e.g. spring-sale |
{
"name": "deploy_vercel_page",
"title": "Deploy a page to Vercel",
"description": "Publish a STATIC landing page to the brand's Vercel account from HTML (it becomes index.html) or a few files [{file, data, encoding:'utf-8'|'base64'}], up to 50 files and 4 MB. project names the Vercel project (created if it does not exist; it becomes part of the URL). target 'preview' (default) makes a new preview URL and leaves the live site alone; 'production' REPLACES what the project's domains serve. WITHOUT confirm:true nothing is sent and you get the exact preview to show the user; call again with confirm:true only after they say yes. The answer is Vercel's own deployment row (URL and state); a new deployment is QUEUED or BUILDING for a moment, so read it back with list_vercel_deployments deploymentId until READY. Free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"project"
],
"properties": {
"html": {
"type": "string",
"description": "the full HTML of the page"
},
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"file",
"data"
],
"properties": {
"data": {
"type": "string",
"description": "file content: text, or base64 text when encoding is base64"
},
"file": {
"type": "string",
"description": "relative path inside the site, e.g. about/index.html; no leading slash and no ../"
},
"encoding": {
"enum": [
"utf-8",
"base64"
],
"type": "string",
"description": "utf-8 (default) for text, or base64 for binary content"
}
}
},
"description": "instead of (or as well as) html: relative paths with their content"
},
"target": {
"enum": [
"preview",
"production"
],
"type": "string",
"description": "default preview"
},
"confirm": {
"type": "boolean",
"description": "true only after the user approved this exact deploy"
},
"project": {
"type": "string",
"description": "Vercel project name, e.g. spring-sale"
}
}
},
"annotations": {
"title": "Deploy a page to Vercel",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}PERMANENTLY delete one Vercel deployment: its URL stops working and Vercel has no undo. Without confirm:true nothing is deleted and you get the deployment it would delete (URL, target, state) to show the user; a production deployment the domains still serve takes the site down. Call again with confirm:true only after the user says yes to that exact deployment. Free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | true only after the user approved deleting this exact deployment |
| deploymentId * | string | from list_vercel_deployments |
{
"name": "delete_vercel_deployment",
"title": "Delete a Vercel deployment",
"description": "PERMANENTLY delete one Vercel deployment: its URL stops working and Vercel has no undo. Without confirm:true nothing is deleted and you get the deployment it would delete (URL, target, state) to show the user; a production deployment the domains still serve takes the site down. Call again with confirm:true only after the user says yes to that exact deployment. Free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"deploymentId"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "true only after the user approved deleting this exact deployment"
},
"deploymentId": {
"type": "string",
"description": "from list_vercel_deployments"
}
}
},
"annotations": {
"title": "Delete a Vercel deployment",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}The brand's WooCommerce orders, newest first: number, date, status, total, refunded, buyer and items. Filter by status (any, pending, processing, on-hold, completed, cancelled, refunded, failed; several comma-separated), after / before (YYYY-MM-DD), search, page and perPage (up to 100). Pass id for ONE order in full: addresses, payment method, its notes and its refunds. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| id | string | one order number, for the order in full |
| page | number | |
| after | string | YYYY-MM-DD: created on or after |
| before | string | YYYY-MM-DD: created on or before |
| search | string | |
| status | string | any (default), pending, processing, on-hold, completed, cancelled, refunded, failed; comma-separated for several |
| perPage | number | 1-100, default 20 |
{
"name": "list_woocommerce_orders",
"title": "List WooCommerce orders",
"description": "The brand's WooCommerce orders, newest first: number, date, status, total, refunded, buyer and items. Filter by status (any, pending, processing, on-hold, completed, cancelled, refunded, failed; several comma-separated), after / before (YYYY-MM-DD), search, page and perPage (up to 100). Pass id for ONE order in full: addresses, payment method, its notes and its refunds. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string",
"description": "one order number, for the order in full"
},
"page": {
"type": "number"
},
"after": {
"type": "string",
"description": "YYYY-MM-DD: created on or after"
},
"before": {
"type": "string",
"description": "YYYY-MM-DD: created on or before"
},
"search": {
"type": "string"
},
"status": {
"type": "string",
"description": "any (default), pending, processing, on-hold, completed, cancelled, refunded, failed; comma-separated for several"
},
"perPage": {
"type": "number",
"description": "1-100, default 20"
}
}
},
"annotations": {
"title": "List WooCommerce orders",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Change a WooCommerce order: status (pending, processing, on-hold, completed, cancelled, refunded, failed; cancelling puts the stock back, most status changes email the buyer, and 'refunded' moves NO money: use refund_woocommerce_order), note (an internal note; noteToCustomer:true emails it to the buyer), shipping and billing details (only the fields given change), metaData [{key, value}]. An internal note and metaData apply at once and are read back. A status, address or buyer note is a preview until confirm:true: show the user what changes, get a yes, then call again with confirm:true. Free.
| Parameter | Type | Description |
|---|---|---|
| id * | string | the order number |
| note | string | a note on the order |
| status | string | one of ["pending","processing","on-hold","completed","cancelled","refunded","failed"] |
| billing | object | the same fields plus email |
| confirm | boolean | true to apply a status, address or buyer-note change |
| metaData | array | |
| shipping | object | first_name, last_name, company, address_1, address_2, city, state, postcode, country (two letters), phone |
| noteToCustomer | boolean | true: the buyer sees the note and is emailed it |
Refund a WooCommerce order: full:true (everything still refundable), lineItems [{ lineItemId, quantity }] and/or amount (a sum of money, e.g. a goodwill refund). By default the money goes back through the order's payment gateway; apiRefund:false only RECORDS the refund in WooCommerce, for money returned by hand (an order paid by bank transfer, cheque or cash on delivery can only be recorded). Refunded items go back into stock unless restock:false. Without confirm:true NOTHING is refunded and the reply shows the amount: show the user, get a yes, then call again with confirm:true and confirmAmount set to that exact amount. Retrying the same confirmed refund never refunds twice. Free.
| Parameter | Type | Description |
|---|---|---|
| id * | string | the order number |
| full | boolean | |
| amount | string | refund this much money instead, e.g. "10.00" |
| reason | string | |
| confirm | boolean | |
| restock | boolean | default true for refunded lines |
| apiRefund | boolean | default true: through the payment gateway |
| lineItems | array | |
| confirmAmount |
Stock on the brand's WooCommerce store: pass productId (a variable product lists every variation), variationId or sku. Each item: how many are in stock, or that stock is not tracked, and its stock status. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| sku | string | |
| productId | string | |
| variationId | string |
{
"name": "get_woocommerce_stock",
"title": "Get WooCommerce stock",
"description": "Stock on the brand's WooCommerce store: pass productId (a variable product lists every variation), variationId or sku. Each item: how many are in stock, or that stock is not tracked, and its stock status. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"sku": {
"type": "string"
},
"productId": {
"type": "string"
},
"variationId": {
"type": "string"
}
}
},
"annotations": {
"title": "Get WooCommerce stock",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Change stock on the brand's WooCommerce store. mode set (quantity becomes the count) or adjust (quantity is added; negative subtracts). changes: [{ productId, variationId or sku, quantity }], up to 100. Without confirm:true NOTHING changes and the reply shows the count now and after for each: show the user, get a yes, then call again with confirm:true and each change's expected set to its 'now' number, so a sale in between is refused instead of overwritten. An item whose stock is not tracked yet gets tracking turned on at the new count. Read back. Free.
| Parameter | Type | Description |
|---|---|---|
| mode | string | default set |
| changes * | array | |
| confirm | boolean |
{
"name": "set_woocommerce_stock",
"title": "Set or adjust WooCommerce stock",
"description": "Change stock on the brand's WooCommerce store. mode set (quantity becomes the count) or adjust (quantity is added; negative subtracts). changes: [{ productId, variationId or sku, quantity }], up to 100. Without confirm:true NOTHING changes and the reply shows the count now and after for each: show the user, get a yes, then call again with confirm:true and each change's expected set to its 'now' number, so a sale in between is refused instead of overwritten. An item whose stock is not tracked yet gets tracking turned on at the new count. Read back. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"changes"
],
"properties": {
"mode": {
"enum": [
"set",
"adjust"
],
"type": "string",
"description": "default set"
},
"changes": {
"type": "array",
"items": {
"type": "object",
"required": [
"quantity"
],
"properties": {
"sku": {
"type": "string"
},
"expected": {
"type": [
"number",
"null"
],
"description": "the \"now\" count the preview showed"
},
"quantity": {
"type": "number"
},
"productId": {
"type": "string"
},
"variationId": {
"type": "string"
}
}
}
},
"confirm": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Set or adjust WooCommerce stock",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Revenue from the brand's OWN Stripe account: gross, refunds, net and succeeded-charge count per day/week/month, new customers in the window, and active subscriptions + MRR where the key can read them. This is the money side of the loop — read an ad, a hook or a launch against real revenue instead of clicks. Default window is the last 30 days; a window with no charges answers a real zero, not a failed read. Read-only, never moves money, free. Needs Stripe connected (Connectors > Stripe, or connect_connector: paste a restricted key from Developers > Restricted keys).
| Parameter | Type | Description |
|---|---|---|
| since | string | YYYY-MM-DD (default 30 days ago) |
| until | string | YYYY-MM-DD (default today) |
| currency | string | ISO code to isolate one currency, e.g. USD; omit to sum every currency as-is |
| granularity | string | default day |
{
"name": "stripe_report",
"title": "Stripe revenue report",
"description": "Revenue from the brand's OWN Stripe account: gross, refunds, net and succeeded-charge count per day/week/month, new customers in the window, and active subscriptions + MRR where the key can read them. This is the money side of the loop — read an ad, a hook or a launch against real revenue instead of clicks. Default window is the last 30 days; a window with no charges answers a real zero, not a failed read. Read-only, never moves money, free. Needs Stripe connected (Connectors > Stripe, or connect_connector: paste a restricted key from Developers > Restricted keys).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"since": {
"type": "string",
"description": "YYYY-MM-DD (default 30 days ago)"
},
"until": {
"type": "string",
"description": "YYYY-MM-DD (default today)"
},
"currency": {
"type": "string",
"description": "ISO code to isolate one currency, e.g. USD; omit to sum every currency as-is"
},
"granularity": {
"enum": [
"day",
"week",
"month"
],
"type": "string",
"description": "default day"
}
}
},
"annotations": {
"title": "Stripe revenue report",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Recent customers on the brand's OWN Stripe account — email, name, created, currency, delinquent — newest first, or one customer by exact email. Read-only, free. Needs Stripe connected.
| Parameter | Type | Description |
|---|---|---|
| after | string | pagination cursor: the last id of the previous page |
| string | exact email match | |
| limit | number | 1–100, default 25 |
{
"name": "list_stripe_customers",
"title": "List Stripe customers",
"description": "Recent customers on the brand's OWN Stripe account — email, name, created, currency, delinquent — newest first, or one customer by exact email. Read-only, free. Needs Stripe connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"after": {
"type": "string",
"description": "pagination cursor: the last id of the previous page"
},
"email": {
"type": "string",
"description": "exact email match"
},
"limit": {
"type": "number",
"description": "1–100, default 25"
}
}
},
"annotations": {
"title": "List Stripe customers",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Recent charges on the brand's OWN Stripe account — amount, currency, status, refunds, customer email, description — newest first, optionally for one customer. Read-only, free. Needs Stripe connected.
| Parameter | Type | Description |
|---|---|---|
| after | string | pagination cursor: the last id of the previous page |
| limit | number | 1–100, default 25 |
| customerId | string | a Stripe customer id (cus_…) |
{
"name": "list_stripe_charges",
"title": "List Stripe charges",
"description": "Recent charges on the brand's OWN Stripe account — amount, currency, status, refunds, customer email, description — newest first, optionally for one customer. Read-only, free. Needs Stripe connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"after": {
"type": "string",
"description": "pagination cursor: the last id of the previous page"
},
"limit": {
"type": "number",
"description": "1–100, default 25"
},
"customerId": {
"type": "string",
"description": "a Stripe customer id (cus_…)"
}
}
},
"annotations": {
"title": "List Stripe charges",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Subscriptions on the brand's OWN Stripe account with each item's price in MAJOR units (19.00 means $19.00), interval and quantity, and the MRR each contributes. With NO status it returns everything that counts toward MRR — active + trialing + past_due — and says so; pass status all, canceled, unpaid, incomplete, incomplete_expired or paused for the rest, or filter by customer or price. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| after | string | pagination cursor: the last subscription id from the previous page |
| limit | number | rows to return, 1 to 100; default 25 |
| status | string | filter by status (all, active, trialing, past_due, canceled and others); omit for MRR statuses |
| priceId | string | Stripe price id, price_...; only subscriptions on this price |
| customerId | string | Stripe customer id, cus_... |
{
"name": "list_stripe_subscriptions",
"title": "list stripe subscriptions",
"description": "Subscriptions on the brand's OWN Stripe account with each item's price in MAJOR units (19.00 means $19.00), interval and quantity, and the MRR each contributes. With NO status it returns everything that counts toward MRR — active + trialing + past_due — and says so; pass status all, canceled, unpaid, incomplete, incomplete_expired or paused for the rest, or filter by customer or price. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"after": {
"type": "string",
"description": "pagination cursor: the last subscription id from the previous page"
},
"limit": {
"type": "number",
"description": "rows to return, 1 to 100; default 25"
},
"status": {
"type": "string",
"description": "filter by status (all, active, trialing, past_due, canceled and others); omit for MRR statuses"
},
"priceId": {
"type": "string",
"description": "Stripe price id, price_...; only subscriptions on this price"
},
"customerId": {
"type": "string",
"description": "Stripe customer id, cus_..."
}
}
},
"annotations": {
"title": "list stripe subscriptions",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Invoices on the brand's Stripe account, newest first: number, status (draft, open, paid, uncollectible, void), amount due and paid, customer email, dates and the hosted invoice link; filter by status or customer. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| after | string | pagination cursor: the last invoice id from the previous page |
| limit | number | rows to return, 1 to 100; default 25 |
| status | string | filter to draft, open, paid, uncollectible or void |
| customerId | string | Stripe customer id, cus_... |
{
"name": "list_stripe_invoices",
"title": "list stripe invoices",
"description": "Invoices on the brand's Stripe account, newest first: number, status (draft, open, paid, uncollectible, void), amount due and paid, customer email, dates and the hosted invoice link; filter by status or customer. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"after": {
"type": "string",
"description": "pagination cursor: the last invoice id from the previous page"
},
"limit": {
"type": "number",
"description": "rows to return, 1 to 100; default 25"
},
"status": {
"type": "string",
"description": "filter to draft, open, paid, uncollectible or void"
},
"customerId": {
"type": "string",
"description": "Stripe customer id, cus_..."
}
}
},
"annotations": {
"title": "list stripe invoices",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Products on the brand's Stripe account with their active prices (amount, currency, one-time or recurring interval), which is what create_stripe_payment_link and create_stripe_subscription take. active:false lists archived products too. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| after | string | pagination cursor: the last product id from the previous page |
| limit | number | rows to return, 1 to 100; default 25 |
| active | boolean | false also lists archived products; omit or true for active products only |
{
"name": "list_stripe_products",
"title": "list stripe products",
"description": "Products on the brand's Stripe account with their active prices (amount, currency, one-time or recurring interval), which is what create_stripe_payment_link and create_stripe_subscription take. active:false lists archived products too. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"after": {
"type": "string",
"description": "pagination cursor: the last product id from the previous page"
},
"limit": {
"type": "number",
"description": "rows to return, 1 to 100; default 25"
},
"active": {
"type": "boolean",
"description": "false also lists archived products; omit or true for active products only"
}
}
},
"annotations": {
"title": "list stripe products",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The brand's Stripe balance (available and pending, per currency) and the most recent payouts with status and arrival date. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| limit | number | number of recent payouts to show, 1 to 100; default 25 |
{
"name": "stripe_balance",
"title": "stripe balance",
"description": "The brand's Stripe balance (available and pending, per currency) and the most recent payouts with status and arrival date. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "number of recent payouts to show, 1 to 100; default 25"
}
}
},
"annotations": {
"title": "stripe balance",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Refunds on the brand's Stripe account, newest first: amount, status, reason and the charge refunded; filter by charge. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| after | string | pagination cursor: the last refund id from the previous page |
| limit | number | rows to return, 1 to 100; default 25 |
| chargeId | string | only refunds of this charge, ch_... |
{
"name": "list_stripe_refunds",
"title": "list stripe refunds",
"description": "Refunds on the brand's Stripe account, newest first: amount, status, reason and the charge refunded; filter by charge. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"after": {
"type": "string",
"description": "pagination cursor: the last refund id from the previous page"
},
"limit": {
"type": "number",
"description": "rows to return, 1 to 100; default 25"
},
"chargeId": {
"type": "string",
"description": "only refunds of this charge, ch_..."
}
}
},
"annotations": {
"title": "list stripe refunds",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Coupons on the brand's Stripe account: percent or amount off, duration, validity and redemptions. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| after | string | pagination cursor: the last coupon id from the previous page |
| limit | number | rows to return, 1 to 100; default 25 |
{
"name": "list_stripe_coupons",
"title": "list stripe coupons",
"description": "Coupons on the brand's Stripe account: percent or amount off, duration, validity and redemptions. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"after": {
"type": "string",
"description": "pagination cursor: the last coupon id from the previous page"
},
"limit": {
"type": "number",
"description": "rows to return, 1 to 100; default 25"
}
}
},
"annotations": {
"title": "list stripe coupons",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create a product on the brand's Stripe account together with its default price: name, optional description, `amount` in MAJOR units — 19 or 19.00 both mean $19.00, and a zero-decimal currency like JPY is whole — a 3-letter currency, and an optional recurring interval (day, week, month, year) with intervalCount. Returns both ids, read back. On a LIVE key it shows what it is about to create and needs confirm:true; on a test key it just does it. Idempotent on its arguments. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| name * | string | product name |
| amount * | number | MAJOR units — 19 or 19.00 is $19.00, never 1900 |
| confirm | boolean | true on a live key, after the user approves the preview |
| currency * | string | 3-letter ISO currency code, e.g. usd |
| interval | string | recurring interval: day, week, month or year; omit for a one-time price |
| metadata | object | key/value metadata stored on the product |
| nickname | string | internal label for the default price; not shown to customers |
| description | string | product description shown to customers in Stripe |
Add a price to an existing Stripe product: `amount` in MAJOR units (19 or 19.00 is $19.00, never 1900), currency, optional recurring interval and intervalCount, optional nickname. Read back. LIVE key: confirm:true after showing the preview. Idempotent on its arguments. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| amount * | number | MAJOR units — 19 or 19.00 is $19.00, never 1900 |
| confirm | boolean | true on a live key, after the user approves the preview |
| currency * | string | 3-letter ISO currency code, e.g. usd |
| interval | string | recurring interval: day, week, month or year; omit for a one-time price |
| nickname | string | internal label for the price; not shown to customers |
| productId * | string | product id, prod_..., from create_stripe_product or list_stripe_products |
| intervalCount | number | intervals between charges, e.g. 3 with month for quarterly |
Create a shareable Stripe Payment Link: for ONE price pass priceId (price_…) with an optional quantity; for several pass lineItems: [{priceId, quantity}]. Optionally redirect to afterCompletionUrl when paid. allowPromotionCodes:true shows the promotion-code box at checkout — needed for any 'use code X' ad. referenceId and utm return a taggedUrl: put THAT URL in the ad, and get_stripe_payment_link_revenue (groupBy reference) then counts that ad's purchases. Returns the URL. LIVE key: confirm:true after showing the preview. Idempotent on its arguments. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| utm | object | UTM values on the taggedUrl (letters, digits, dashes, underscores, up to 150 each); Stripe passes them to the after-payment redirect only |
| confirm | boolean | true on a live key, after the user approves the preview |
| priceId | string | one price — the shorthand for a single line item |
| metadata | object | key/value metadata stored on the payment link |
| quantity | number | quantity of priceId, e.g. 2 |
| lineItems | array | several prices at once; use instead of priceId |
| referenceId | string | letters, digits, dashes, underscores (up to 200) — tags the returned taggedUrl for one ad; Stripe stores it on each purchase |
| afterCompletionUrl | string |
Create a Stripe coupon: exactly one of percentOff (1–100) or amountOff (major units) + currency; duration once (default), repeating (with durationInMonths) or forever; optional name, id and maxRedemptions. A coupon alone has NO code a customer can type: pass `code` (letters, digits, dashes) to also mint the customer-typable promotion code in the same call, with optional codeMaxRedemptions, expiresAt, firstTimeOnly and minimumAmount. Read back. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| id | string | custom coupon id; Stripe generates one if omitted |
| code | string | the customer-typable promotion code, e.g. SUMMER20 — letters, digits and dashes only; refused (never altered) otherwise |
| name | string | display name for the coupon, for your records |
| confirm | boolean | true on a live key, after the user approves the preview |
| currency | string | 3-letter currency code; required with amountOff |
| duration | string | once (default), repeating or forever |
| amountOff | number | fixed discount in major units, e.g. 5 = 5.00; needs currency |
| expiresAt | string | YYYY-MM-DD the code stops working |
| percentOff |
Create a Stripe customer by email (optional name, phone, description, metadata). If a customer with that email already exists it is returned instead and nothing is created — pass allowDuplicate:true to create a second one on purpose. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| name | string | customer name |
| email * | string | customer email; the key Stripe matches duplicates on |
| phone | string | customer phone number |
| confirm | boolean | true on a live key, after the user approves the preview |
| metadata | object | key/value metadata stored on the customer |
| description | string | internal note on the customer record |
| allowDuplicate | boolean | true = create a second customer even if this email already has one |
{
"name": "create_stripe_customer",
"title": "create stripe customer",
"description": "Create a Stripe customer by email (optional name, phone, description, metadata). If a customer with that email already exists it is returned instead and nothing is created — pass allowDuplicate:true to create a second one on purpose. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"email"
],
"properties": {
"name": {
"type": "string",
"description": "customer name"
},
"email": {
"type": "string",
"description": "customer email; the key Stripe matches duplicates on"
},
"phone": {
"type": "string",
"description": "customer phone number"
},
"confirm": {
"type": "boolean",
"description": "true on a live key, after the user approves the preview"
},
"metadata": {
"type": "object",
"description": "key/value metadata stored on the customer",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": {
"type": "string",
"description": "internal note on the customer record"
},
"allowDuplicate": {
"type": "boolean",
"description": "true = create a second customer even if this email already has one"
}
}
},
"annotations": {
"title": "create stripe customer",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Subscribe a Stripe customer (cus_…) to a price (price_…), optional quantity and trialDays. THIS CHARGES THE CUSTOMER'S SAVED PAYMENT METHOD when there is no trial, so it ALWAYS needs confirm:true (test keys included) after you show the user exactly what will be created. Read back; an INCOMPLETE status means no chargeable card is on file. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | true to charge the saved card; always required, test keys included |
| priceId * | string | recurring price id, price_... |
| metadata | object | key/value metadata stored on the subscription |
| quantity | number | quantity of the price, e.g. number of seats |
| trialDays | number | free trial length in days before the first charge |
| customerId * | string | customer id, cus_... |
{
"name": "create_stripe_subscription",
"title": "create stripe subscription",
"description": "Subscribe a Stripe customer (cus_…) to a price (price_…), optional quantity and trialDays. THIS CHARGES THE CUSTOMER'S SAVED PAYMENT METHOD when there is no trial, so it ALWAYS needs confirm:true (test keys included) after you show the user exactly what will be created. Read back; an INCOMPLETE status means no chargeable card is on file. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"customerId",
"priceId"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "true to charge the saved card; always required, test keys included"
},
"priceId": {
"type": "string",
"description": "recurring price id, price_..."
},
"metadata": {
"type": "object",
"description": "key/value metadata stored on the subscription",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"quantity": {
"type": "number",
"description": "quantity of the price, e.g. number of seats"
},
"trialDays": {
"type": "number",
"description": "free trial length in days before the first charge"
},
"customerId": {
"type": "string",
"description": "customer id, cus_..."
}
}
},
"annotations": {
"title": "create stripe subscription",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Cancel a Stripe subscription: at the end of the current period by default (the customer keeps access until then), or immediately:true to end it now. ALWAYS needs confirm:true, test keys included. The read-back distinguishes the two — a period-end cancel reports the date it will end and the status it keeps until then, an immediate one reports status canceled. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | true after the user approves this cancellation |
| immediately | boolean | true = end now; omitted or false = end at the period end |
| subscriptionId * | string | subscription id, sub_... |
{
"name": "cancel_stripe_subscription",
"title": "cancel stripe subscription",
"description": "Cancel a Stripe subscription: at the end of the current period by default (the customer keeps access until then), or immediately:true to end it now. ALWAYS needs confirm:true, test keys included. The read-back distinguishes the two — a period-end cancel reports the date it will end and the status it keeps until then, an immediate one reports status canceled. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"subscriptionId"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "true after the user approves this cancellation"
},
"immediately": {
"type": "boolean",
"description": "true = end now; omitted or false = end at the period end"
},
"subscriptionId": {
"type": "string",
"description": "subscription id, sub_..."
}
}
},
"annotations": {
"title": "cancel stripe subscription",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Refund a Stripe charge (ch_… or a pi_… payment intent): the full refundable amount, or a partial `amount` in major units; optional reason duplicate / fraudulent / requested_by_customer. ALWAYS needs confirm:true, test keys included. Read back. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| amount | number | partial refund in major units; omit to refund the full refundable amount |
| reason | string | duplicate, fraudulent or requested_by_customer |
| confirm | boolean | true after the user approves this refund |
| chargeId * | string | charge id, ch_..., or payment intent id, pi_... |
{
"name": "refund_stripe_charge",
"title": "refund stripe charge",
"description": "Refund a Stripe charge (ch_… or a pi_… payment intent): the full refundable amount, or a partial `amount` in major units; optional reason duplicate / fraudulent / requested_by_customer. ALWAYS needs confirm:true, test keys included. Read back. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"chargeId"
],
"properties": {
"amount": {
"type": "number",
"description": "partial refund in major units; omit to refund the full refundable amount"
},
"reason": {
"type": "string",
"description": "duplicate, fraudulent or requested_by_customer"
},
"confirm": {
"type": "boolean",
"description": "true after the user approves this refund"
},
"chargeId": {
"type": "string",
"description": "charge id, ch_..., or payment intent id, pi_..."
}
}
},
"annotations": {
"title": "refund stripe charge",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Promotion codes on the brand's Stripe account — the codes customers TYPE at checkout — with the coupon each applies, active or not, times redeemed / max, expiry, first-purchase-only and minimum-order rules. Filter by active, code or couponId. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| code | string | customer-typable promotion code text to find |
| after | string | pagination cursor: the last promotion code id from the previous page |
| limit | number | rows to return, 1 to 100; default 25 |
| active | boolean | true = active codes only; false = inactive codes only |
| couponId | string | only codes that apply this coupon, from list_stripe_coupons |
{
"name": "list_stripe_promotion_codes",
"title": "list stripe promotion codes",
"description": "Promotion codes on the brand's Stripe account — the codes customers TYPE at checkout — with the coupon each applies, active or not, times redeemed / max, expiry, first-purchase-only and minimum-order rules. Filter by active, code or couponId. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"code": {
"type": "string",
"description": "customer-typable promotion code text to find"
},
"after": {
"type": "string",
"description": "pagination cursor: the last promotion code id from the previous page"
},
"limit": {
"type": "number",
"description": "rows to return, 1 to 100; default 25"
},
"active": {
"type": "boolean",
"description": "true = active codes only; false = inactive codes only"
},
"couponId": {
"type": "string",
"description": "only codes that apply this coupon, from list_stripe_coupons"
}
}
},
"annotations": {
"title": "list stripe promotion codes",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create a customer-typable promotion code (e.g. SUMMER20) for an existing Stripe coupon — the thing a "use code X" ad needs, since a coupon alone has no code. couponId (from list_stripe_coupons); optional code (letters, digits and dashes; Stripe generates one if omitted — a code with spaces or symbols is refused, never altered), maxRedemptions, expiresAt (YYYY-MM-DD), firstTimeOnly, minimumAmount + minimumAmountCurrency (major units), customerId. Read back. LIVE key: confirm:true after showing the preview. Use it on a payment link with allowPromotionCodes. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| code | string | customer-typable code, letters, digits and dashes; Stripe generates one if omitted |
| confirm | boolean | true on a live key, after the user approves the preview |
| couponId * | string | coupon id to apply, from list_stripe_coupons |
| metadata | object | key/value metadata stored on the code |
| expiresAt | string | last day the code works, YYYY-MM-DD |
| customerId | string | restrict the code to one customer (cus_…) |
| firstTimeOnly | boolean | true = valid only on a customer's first purchase |
| minimumAmount | number | MAJOR units |
Switch a Stripe promotion code OFF (active:false) or back on (active:true), or change its metadata. Pass promotionCodeId (promo_…) or the code itself. Switching a code off ALWAYS needs confirm:true, test keys included, because anyone holding it from an ad is then refused at checkout. Read back; a code Stripe will not reactivate (its coupon is no longer valid) is reported, not claimed. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| code | string | the customer-typable code text, if promotionCodeId is not given |
| active | boolean | false switches the code off; true switches it back on |
| confirm | boolean | true to switch a code off, as well as to confirm a live-key write |
| metadata | object | key/value metadata to set on the code |
| promotionCodeId | string | promotion code id, promo_...; give this or code |
{
"name": "update_stripe_promotion_code",
"title": "update stripe promotion code",
"description": "Switch a Stripe promotion code OFF (active:false) or back on (active:true), or change its metadata. Pass promotionCodeId (promo_…) or the code itself. Switching a code off ALWAYS needs confirm:true, test keys included, because anyone holding it from an ad is then refused at checkout. Read back; a code Stripe will not reactivate (its coupon is no longer valid) is reported, not claimed. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"code": {
"type": "string",
"description": "the customer-typable code text, if promotionCodeId is not given"
},
"active": {
"type": "boolean",
"description": "false switches the code off; true switches it back on"
},
"confirm": {
"type": "boolean",
"description": "true to switch a code off, as well as to confirm a live-key write"
},
"metadata": {
"type": "object",
"description": "key/value metadata to set on the code",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"promotionCodeId": {
"type": "string",
"description": "promotion code id, promo_...; give this or code"
}
}
},
"annotations": {
"title": "update stripe promotion code",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Payment links on the brand's Stripe account: URL, active or not, whether the promotion-code box shows, what happens after payment, and their line items (price, amount). Filter active true/false. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| after | string | pagination cursor: the last payment link id from the previous page |
| limit | number | rows to return, 1 to 100; default 25 |
| active | boolean | true = active links only; false = inactive links only |
{
"name": "list_stripe_payment_links",
"title": "list stripe payment links",
"description": "Payment links on the brand's Stripe account: URL, active or not, whether the promotion-code box shows, what happens after payment, and their line items (price, amount). Filter active true/false. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"after": {
"type": "string",
"description": "pagination cursor: the last payment link id from the previous page"
},
"limit": {
"type": "number",
"description": "rows to return, 1 to 100; default 25"
},
"active": {
"type": "boolean",
"description": "true = active links only; false = inactive links only"
}
}
},
"annotations": {
"title": "list stripe payment links",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Change a Stripe payment link (plink_…). active:false DEACTIVATES it — its URL then shows a "no longer available" page, in every ad that points at it — and ALWAYS needs confirm:true, test keys included; active:true reactivates it. allowPromotionCodes shows or hides the promotion-code box; afterCompletionUrl (redirect) or afterCompletionMessage (Stripe's confirmation page); inactiveMessage (up to 500 characters, shown while it is off); metadata. Read back. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| active | boolean | false deactivates the link; true reactivates it |
| confirm | boolean | true to deactivate the link, and to confirm a live-key write |
| metadata | object | key/value metadata to set on the link |
| paymentLinkId * | string | payment link id, plink_..., from list_stripe_payment_links |
| inactiveMessage | string | message shown while the link is off, up to 500 characters |
| afterCompletionUrl | string | URL the buyer is redirected to after paying |
| allowPromotionCodes | boolean | true shows the promotion-code box at checkout; false hides it |
| afterCompletionMessage |
How much money the brand's Stripe PAYMENT LINKS made — the "what did the link in this ad earn" question. Paid purchases and revenue (MAJOR units, per currency) from completed checkouts between since and until (YYYY-MM-DD, default the last 30 days), for one paymentLinkId or every link. groupBy: link (default without an id — which link earned most), reference (default with an id — per ad, from the referenceId a taggedUrl carries), promotion_code, or day. For a subscription link only the first payment counts; renewals are in stripe_report. Says when the read is capped. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).
| Parameter | Type | Description |
|---|---|---|
| since | string | start date, YYYY-MM-DD; default 30 days before until |
| until | string | end date, YYYY-MM-DD; default today |
| groupBy | string | link, reference, promotion_code or day; default link without paymentLinkId, reference with it |
| paymentLinkId | string | one payment link, plink_...; omit for every link |
{
"name": "get_stripe_payment_link_revenue",
"title": "stripe payment link revenue",
"description": "How much money the brand's Stripe PAYMENT LINKS made — the \"what did the link in this ad earn\" question. Paid purchases and revenue (MAJOR units, per currency) from completed checkouts between since and until (YYYY-MM-DD, default the last 30 days), for one paymentLinkId or every link. groupBy: link (default without an id — which link earned most), reference (default with an id — per ad, from the referenceId a taggedUrl carries), promotion_code, or day. For a subscription link only the first payment counts; renewals are in stripe_report. Says when the read is capped. Read-only, free. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"since": {
"type": "string",
"description": "start date, YYYY-MM-DD; default 30 days before until"
},
"until": {
"type": "string",
"description": "end date, YYYY-MM-DD; default today"
},
"groupBy": {
"enum": [
"link",
"reference",
"promotion_code",
"day"
],
"type": "string",
"description": "link, reference, promotion_code or day; default link without paymentLinkId, reference with it"
},
"paymentLinkId": {
"type": "string",
"description": "one payment link, plink_...; omit for every link"
}
}
},
"annotations": {
"title": "stripe payment link revenue",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Which posts, ads and emails led to actual sales: the brand's payments (Shopify orders and Stripe charges, whichever is connected) matched back to what Hermoso published or sent, with revenue, payments and customers per channel, campaign, single post/ad/email (groupBy item) or match method. Each payment is matched ONCE, strongest first, and says how: utm (a Hermoso tracking id on the visit), reference (a Hermoso id on a Stripe checkout), code (a discount code Hermoso created, or one you name in codes), ad_utm (the UTM tags Hermoso puts on ads it builds), tag (Hermoso's tags without an id) — these LED TO the sale; email (the buyer is someone Hermoso emailed or who replied, within emailWindowDays before paying) and referrer (the visit came from a social platform the brand posts to) are looser matches, never causation. The unattributed remainder is stated plainly. GA4's own attribution of purchases to Hermoso's tags and the ad platforms' own reported conversions (Meta, Google Ads) are shown APART, never added in: they can describe the same sales again. Money is per currency, never summed across currencies. A source that could not be read is said as such, never as zero sales. Default: the last 30 days (Shopify lets apps read its last 60). Read-only, free. Links carry Hermoso's ids only when tracking links are on (set_tracking_links).
| Parameter | Type | Description |
|---|---|---|
| days | number | the last N days, instead of since |
| codes | array | more discount or promotion codes to count as Hermoso’s |
| since | string | start date, YYYY-MM-DD; default 30 days before until |
| until | string | end date, YYYY-MM-DD; default today |
| groupBy | string | channel (default), campaign, item (one row per post, ad, email or code) or method |
TRACKING LINKS, two jobs in one tool. (1) The brand setting: call with no arguments to read it, enabled:true/false to turn it on or off, campaign for the utm_campaign, domains for more sites that are the brand's own. When on, every link to the brand's OWN site that Hermoso publishes or sends (posts on every channel, scheduled posts, email sequences and new emails) gets utm_source (the channel), utm_medium (social, email or organic), utm_campaign ("hermoso" or yours) and an id in utm_content, so revenue_by_source can tie a sale to the exact post or email. A link that already has utm_ tags, a link to another site, a short link and a link inside the brand's own blog are never changed; Instagram and TikTok captions have no tappable link, so nothing is tagged there; ads already carry their platform's UTM template. Every publish that tagged a link says so in its reply. Brands created from 2026-11-18 get it on by default after one notice; older brands keep links exactly as written until this turns it on. (2) ONE tagged link for a place the user puts it themselves (a bio link, a QR code, a newsletter, an ad made elsewhere): pass url (+ channel, campaign, medium, label, kind) and get it back with Hermoso's tags; a Stripe payment link also gets the id as client_reference_id. That works whether or not the setting is on, on any site; a link already carrying utm_ tags is returned unchanged. Free.
| Parameter | Type | Description |
|---|---|---|
| url | string | ONE link to tag now, https://…; returns the tagged link instead of the setting |
| kind | string | with url: what carries it; default link |
| label | string | with url: what this link is, shown in revenue_by_source |
| medium | string | with url: utm_medium; default social (email for channel email) |
| channel | string |
Contacts from the brand's OWN HubSpot CRM, newest first — email, name, lifecycle stage, lead status, created date, original source — or a search by email / first name / last name (whole-token match, wildcards allowed). Read-only, free. Needs HubSpot connected (Connectors > HubSpot).
| Parameter | Type | Description |
|---|---|---|
| after | string | pagination cursor from the previous page |
| limit | number | 1–100, default 25 |
| search | string | email or name to search for |
{
"name": "list_hubspot_contacts",
"title": "List or search HubSpot contacts",
"description": "Contacts from the brand's OWN HubSpot CRM, newest first — email, name, lifecycle stage, lead status, created date, original source — or a search by email / first name / last name (whole-token match, wildcards allowed). Read-only, free. Needs HubSpot connected (Connectors > HubSpot).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"after": {
"type": "string",
"description": "pagination cursor from the previous page"
},
"limit": {
"type": "number",
"description": "1–100, default 25"
},
"search": {
"type": "string",
"description": "email or name to search for"
}
}
},
"annotations": {
"title": "List or search HubSpot contacts",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create a contact in the brand's HubSpot by email, or UPDATE the contact that already has that email — HubSpot's duplicate answer carries the existing id, so this is an UPSERT and never makes a twin. Optional firstname, lastname, phone, company, website, lifecyclestage, hs_lead_status, hubspotOwnerId (the sales rep to assign it to — an owner id from list_hubspot_owners), plus any other writable contact property in `properties` (by internal name). The contact is READ BACK after the write; the reply says created or updated. Free. Needs HubSpot connected.
| Parameter | Type | Description |
|---|---|---|
| email * | string | the contact email — the key HubSpot de-duplicates on |
| phone | string | contact phone number |
| company | string | company name on the contact |
| ownerId | string | older name for hubspotOwnerId (MCP only) |
| website | string | company website URL |
| lastname | string | contact last name |
| firstname | string | contact first name |
| properties | object | any other writable contact properties, by internal name |
| hs_lead_status | string |
Push the leads the brand's LEAD FORMS collected into HubSpot as contacts — Meta, LinkedIn, TikTok (every published Instant Form, every lead region), X Ads, Snapchat and ChatGPT Ads (the last two: leads delivered to Hermoso by their lead webhooks). Each lead is upserted by email with lead status NEW and the platform + form + campaign written into the contact's Message property (a default HubSpot property, so no schema scope is needed). Synced lead ids are remembered per workspace, so a re-run, a scheduled run, a retry or a second agent never creates twins. Reports created / updated / already-synced / no-email per platform; a platform that is not connected, or cannot be read (Reddit has no API for leads), is REPORTED, not fatal. platforms narrows it. dryRun:true lists what would be synced and writes nothing. set_hubspot_lead_sync runs it automatically. Free. Needs HubSpot connected, plus the platforms whose leads you want.
| Parameter | Type | Description |
|---|---|---|
| since | string | ISO date; default 7 days ago |
| dryRun | boolean | list what would be synced and write nothing |
| platforms | array | default every connected one |
| tiktokRegions | array | TikTok stores leads per region; default all three |
{
"name": "sync_leads_to_hubspot",
"title": "Push lead-form leads into HubSpot",
"description": "Push the leads the brand's LEAD FORMS collected into HubSpot as contacts — Meta, LinkedIn, TikTok (every published Instant Form, every lead region), X Ads, Snapchat and ChatGPT Ads (the last two: leads delivered to Hermoso by their lead webhooks). Each lead is upserted by email with lead status NEW and the platform + form + campaign written into the contact's Message property (a default HubSpot property, so no schema scope is needed). Synced lead ids are remembered per workspace, so a re-run, a scheduled run, a retry or a second agent never creates twins. Reports created / updated / already-synced / no-email per platform; a platform that is not connected, or cannot be read (Reddit has no API for leads), is REPORTED, not fatal. platforms narrows it. dryRun:true lists what would be synced and writes nothing. set_hubspot_lead_sync runs it automatically. Free. Needs HubSpot connected, plus the platforms whose leads you want.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"since": {
"type": "string",
"description": "ISO date; default 7 days ago"
},
"dryRun": {
"type": "boolean",
"description": "list what would be synced and write nothing"
},
"platforms": {
"type": "array",
"items": {
"enum": [
"meta",
"linkedin",
"tiktok",
"x",
"snapchat",
"chatgpt",
"reddit"
],
"type": "string"
},
"description": "default every connected one"
},
"tiktokRegions": {
"type": "array",
"items": {
"enum": [
"us",
"eu",
"other"
],
"type": "string"
},
"description": "TikTok stores leads per region; default all three"
}
}
},
"annotations": {
"title": "Push lead-form leads into HubSpot",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Deals from the brand's HubSpot created in the window (default the last 90 days): count and amount by stage (labels resolved through the deal pipelines, closed-won recognised from the stage's own metadata), by original source, BY CAMPAIGN (source -> platform -> campaign from HubSpot's Original Source drill-downs, so PAID_SOCIAL splits into the actual campaigns), BY OWNER (the sales rep holding each deal, by name), a monthly created / closed-won series, and totals. Capped at 2,000 deals and says so. Read-only, free. Needs HubSpot connected.
| Parameter | Type | Description |
|---|---|---|
| since | string | YYYY-MM-DD, default 90 days ago |
| until | string | YYYY-MM-DD, default today |
{
"name": "hubspot_deals_report",
"title": "HubSpot deals report",
"description": "Deals from the brand's HubSpot created in the window (default the last 90 days): count and amount by stage (labels resolved through the deal pipelines, closed-won recognised from the stage's own metadata), by original source, BY CAMPAIGN (source -> platform -> campaign from HubSpot's Original Source drill-downs, so PAID_SOCIAL splits into the actual campaigns), BY OWNER (the sales rep holding each deal, by name), a monthly created / closed-won series, and totals. Capped at 2,000 deals and says so. Read-only, free. Needs HubSpot connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"since": {
"type": "string",
"description": "YYYY-MM-DD, default 90 days ago"
},
"until": {
"type": "string",
"description": "YYYY-MM-DD, default today"
}
}
},
"annotations": {
"title": "HubSpot deals report",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}COMPANIES (accounts) from the brand's OWN HubSpot CRM, newest first: name, domain, website, LinkedIn company page, industry, employees, annual revenue, lifecycle stage, lead status, country/city, owner (rep name), original source + drill-downs, associated contacts and deals, total revenue — plus a de-duplicated `domains` list, which is what LinkedIn company targeting and account-based (ABM) audiences are built from. search matches name / domain / website / phone; filters lifecycleStage (e.g. customer, opportunity, salesqualifiedlead), industry (HubSpot's internal value, e.g. COMPUTER_SOFTWARE), hubspotOwnerId, createdSince (YYYY-MM-DD). Read-only, free. Needs HubSpot connected.
| Parameter | Type | Description |
|---|---|---|
| after | string | pagination cursor from the previous page |
| limit | number | 1–100, default 25 |
| search | string | name, domain, website or phone |
| ownerId | string | older name for hubspotOwnerId (MCP only) |
| industry | string | HubSpot's internal industry value, e.g. COMPUTER_SOFTWARE |
| createdSince | string | YYYY-MM-DD |
| hubspotOwnerId | string | owner id from list_hubspot_owners |
| lifecycleStage | string | internal value, e.g. customer, opportunity, salesqualifiedlead, lead |
The sales reps (OWNERS) in the brand's HubSpot: id, name, email, teams. An owner's id is what create_hubspot_contact's hubspotOwnerId assigns a lead to, and what list_hubspot_companies filters by. search narrows by name or email; archived:true lists DEACTIVATED owners instead. Read-only, free. Needs HubSpot connected.
| Parameter | Type | Description |
|---|---|---|
| search | string | name or email contains |
| archived | boolean | true = deactivated owners only |
{
"name": "list_hubspot_owners",
"title": "List HubSpot owners (sales reps)",
"description": "The sales reps (OWNERS) in the brand's HubSpot: id, name, email, teams. An owner's id is what create_hubspot_contact's hubspotOwnerId assigns a lead to, and what list_hubspot_companies filters by. search narrows by name or email; archived:true lists DEACTIVATED owners instead. Read-only, free. Needs HubSpot connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"search": {
"type": "string",
"description": "name or email contains"
},
"archived": {
"type": "boolean",
"description": "true = deactivated owners only"
}
}
},
"annotations": {
"title": "List HubSpot owners (sales reps)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Whether the brand's lead-form leads are pushed into HubSpot AUTOMATICALLY: on or off, how often (everyMinutes), which platforms, when it runs next, and what the last run did — counts per platform, or why it did not run (HubSpot disconnected, a platform not readable). Read-only, free. Needs HubSpot connected.
No parameters.
{
"name": "get_hubspot_lead_sync",
"title": "Read the automatic HubSpot lead sync",
"description": "Whether the brand's lead-form leads are pushed into HubSpot AUTOMATICALLY: on or off, how often (everyMinutes), which platforms, when it runs next, and what the last run did — counts per platform, or why it did not run (HubSpot disconnected, a platform not readable). Read-only, free. Needs HubSpot connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"annotations": {
"title": "Read the automatic HubSpot lead sync",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Switch the AUTOMATIC HubSpot lead sync on or off for this brand: enabled, everyMinutes (a whole number from 15 to 1440; default 60 — anything outside that is refused, not clamped), optional platforms (meta, linkedin, tiktok, x, snapchat, chatgpt, reddit; default every connected one). Each run is sync_leads_to_hubspot reading from the last successful run, so a new lead reaches the CRM within minutes and nothing is ever created twice. If HubSpot is disconnected a run records that and the schedule backs off to once a day — no emails. runNow:true runs the first one straight away. Answers with the stored setting and the armed run, read back. Free. Needs HubSpot connected to switch on.
| Parameter | Type | Description |
|---|---|---|
| runNow | boolean | true = run the first sync immediately |
| enabled * | boolean | true turns the automatic lead sync on; false turns it off |
| platforms | array | omit for every connected one |
| everyMinutes | number | 15–1440, default 60 |
{
"name": "set_hubspot_lead_sync",
"title": "Turn the automatic HubSpot lead sync on or off",
"description": "Switch the AUTOMATIC HubSpot lead sync on or off for this brand: enabled, everyMinutes (a whole number from 15 to 1440; default 60 — anything outside that is refused, not clamped), optional platforms (meta, linkedin, tiktok, x, snapchat, chatgpt, reddit; default every connected one). Each run is sync_leads_to_hubspot reading from the last successful run, so a new lead reaches the CRM within minutes and nothing is ever created twice. If HubSpot is disconnected a run records that and the schedule backs off to once a day — no emails. runNow:true runs the first one straight away. Answers with the stored setting and the armed run, read back. Free. Needs HubSpot connected to switch on.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"enabled"
],
"properties": {
"runNow": {
"type": "boolean",
"description": "true = run the first sync immediately"
},
"enabled": {
"type": "boolean",
"description": "true turns the automatic lead sync on; false turns it off"
},
"platforms": {
"type": "array",
"items": {
"enum": [
"meta",
"linkedin",
"tiktok",
"x",
"snapchat",
"chatgpt",
"reddit"
],
"type": "string"
},
"description": "omit for every connected one"
},
"everyMinutes": {
"type": "number",
"description": "15–1440, default 60"
}
}
},
"annotations": {
"title": "Turn the automatic HubSpot lead sync on or off",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Contacts, leads, accounts or opportunities from the brand's OWN Salesforce org, most recently changed first, or a search through Salesforce's own index (phone matches however the org typed it). Filters: email (exact, never lags), phone, stage and open (opportunities), status (leads), salesforceOwnerId, salesforceAccountId, updatedSince; converted leads are left out unless includeConverted. fields adds any field by API name; offset pages up to 2,000. Read-only, free. Needs Salesforce connected.
| Parameter | Type | Description |
|---|---|---|
| open | boolean | opportunities: only the open ones |
| string | ||
| limit | number | 1-200, default 25 |
| phone | string | |
| stage | string | |
| fields | array | extra field API names |
| object * | string | contact, lead, account or opportunity |
| offset | number | 0-2000 |
| search | string | |
| status | string |
ONE Salesforce record by id (contact 003…, lead 00Q…, account 001…, opportunity 006…), with an opportunity's contact roles. fields adds any field by API name. Read-only, free. Needs Salesforce connected.
| Parameter | Type | Description |
|---|---|---|
| id * | string | the record id |
| fields | array | |
| object | string | contact, lead, account or opportunity |
{
"name": "get_salesforce_record",
"title": "Read one Salesforce record",
"description": "ONE Salesforce record by id (contact 003…, lead 00Q…, account 001…, opportunity 006…), with an opportunity's contact roles. fields adds any field by API name. Read-only, free. Needs Salesforce connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "the record id"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"object": {
"enum": [
"contact",
"lead",
"account",
"opportunity"
],
"type": "string",
"description": "contact, lead, account or opportunity"
}
}
},
"annotations": {
"title": "Read one Salesforce record",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create a contact, lead, account or opportunity in the brand's Salesforce, then read it back. Required: contact lastName; lead lastName (company defaults to "[not provided]"); account name; opportunity name, stage and closeDate. Any other field by API name in fields (describe_salesforce_object lists them, which are required, and the picklist values). The org's validation and duplicate rules answer in Salesforce's words. Free. Needs Salesforce connected.
| Parameter | Type | Description |
|---|---|---|
| name | ["string","null"] | account or opportunity name |
| ["string","null"] | ||
| phone | ["string","null"] | |
| stage | ["string","null"] | opportunity StageName |
| title | ["string","null"] | |
| amount | ["number","null"] | |
| fields | object | any other field by API name, e.g. Industry__c; null clears it on update |
| object * | string | contact, lead, account or opportunity |
| status | ["string","null"] | lead status |
| company | ["string","null"] |
Change fields on one Salesforce record (move an opportunity's stage, set an amount, owner or close date, fix an email), then read it back. Send only what changes; null clears a field. Free. Needs Salesforce connected.
| Parameter | Type | Description |
|---|---|---|
| id * | string | the record id |
| name | ["string","null"] | account or opportunity name |
| ["string","null"] | ||
| phone | ["string","null"] | |
| stage | ["string","null"] | opportunity StageName |
| title | ["string","null"] | |
| amount | ["number","null"] | |
| fields | object | any other field by API name, e.g. Industry__c; null clears it on update |
| object | string | contact, lead, account or opportunity |
| status | ["string","null"] | lead status |
| company |
Delete one Salesforce record; it goes to the org's Recycle Bin for 15 days. Without confirm:true nothing is deleted and you get the record it would delete; call again with confirm:true only after the user says yes. Free. Needs Salesforce connected.
| Parameter | Type | Description |
|---|---|---|
| id * | string | the record id |
| object | string | contact, lead, account or opportunity |
| confirm | boolean | true only after the user said yes |
{
"name": "delete_salesforce_record",
"title": "Delete a Salesforce record",
"description": "Delete one Salesforce record; it goes to the org's Recycle Bin for 15 days. Without confirm:true nothing is deleted and you get the record it would delete; call again with confirm:true only after the user says yes. Free. Needs Salesforce connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "the record id"
},
"object": {
"enum": [
"contact",
"lead",
"account",
"opportunity"
],
"type": "string",
"description": "contact, lead, account or opportunity"
},
"confirm": {
"type": "boolean",
"description": "true only after the user said yes"
}
}
},
"annotations": {
"title": "Delete a Salesforce record",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Every field a create or update can set on a Salesforce contact, lead, account or opportunity: API name, label, type, whether it is required, and each picklist's active values (lead status, lead source, industry), plus the opportunity stages with closed and won flags. search narrows by name or label. Read-only, free. Needs Salesforce connected.
| Parameter | Type | Description |
|---|---|---|
| object * | string | contact, lead, account or opportunity |
| search | string |
{
"name": "describe_salesforce_object",
"title": "Salesforce fields and picklists",
"description": "Every field a create or update can set on a Salesforce contact, lead, account or opportunity: API name, label, type, whether it is required, and each picklist's active values (lead status, lead source, industry), plus the opportunity stages with closed and won flags. search narrows by name or label. Read-only, free. Needs Salesforce connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"object"
],
"properties": {
"object": {
"enum": [
"contact",
"lead",
"account",
"opportunity"
],
"type": "string",
"description": "contact, lead, account or opportunity"
},
"search": {
"type": "string"
}
}
},
"annotations": {
"title": "Salesforce fields and picklists",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}The active Salesforce users records can be assigned to: id, name, email, username, title. An id is what salesforceOwnerId takes. search narrows by name or email. Read-only, free. Needs Salesforce connected.
| Parameter | Type | Description |
|---|---|---|
| limit | number | 1-200, default 100 |
| search | string |
{
"name": "list_salesforce_owners",
"title": "List Salesforce users",
"description": "The active Salesforce users records can be assigned to: id, name, email, username, title. An id is what salesforceOwnerId takes. search narrows by name or email. Read-only, free. Needs Salesforce connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "1-200, default 100"
},
"search": {
"type": "string"
}
}
},
"annotations": {
"title": "List Salesforce users",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Log something that happened as a completed Task on a Salesforce contact or lead, or on an account or opportunity: body (the text), optional subject, channel (call, email, meeting, whatsapp, sms, instagram, messenger, telegram, other), direction and occurredAt. Read back. Free. Needs Salesforce connected.
| Parameter | Type | Description |
|---|---|---|
| body * | string | |
| channel | string | one of ["call","email","meeting","whatsapp","sms","instagram","messenger","telegram","other"] |
| subject | string | |
| recordId * | string | a contact, lead, account or opportunity id |
| direction | string | one of ["inbound","outbound"] |
| occurredAt | string | ISO date-time; default now |
{
"name": "log_salesforce_activity",
"title": "Log an activity in Salesforce",
"description": "Log something that happened as a completed Task on a Salesforce contact or lead, or on an account or opportunity: body (the text), optional subject, channel (call, email, meeting, whatsapp, sms, instagram, messenger, telegram, other), direction and occurredAt. Read back. Free. Needs Salesforce connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"recordId",
"body"
],
"properties": {
"body": {
"type": "string"
},
"channel": {
"enum": [
"call",
"email",
"meeting",
"whatsapp",
"sms",
"instagram",
"messenger",
"telegram",
"other"
],
"type": "string"
},
"subject": {
"type": "string"
},
"recordId": {
"type": "string",
"description": "a contact, lead, account or opportunity id"
},
"direction": {
"enum": [
"inbound",
"outbound"
],
"type": "string"
},
"occurredAt": {
"type": "string",
"description": "ISO date-time; default now"
}
}
},
"annotations": {
"title": "Log an activity in Salesforce",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Push the leads the brand's LEAD FORMS collected (Meta, LinkedIn, TikTok, X, Snapchat, ChatGPT Ads) into Salesforce as Leads. Someone already a contact or lead (matched by email) is left as they are; synced leads are remembered per brand, so a re-run or a second agent never makes twins. leadSource sets LeadSource (one of the org's picklist values); dryRun lists what would happen and writes nothing. Free. Needs Salesforce connected.
| Parameter | Type | Description |
|---|---|---|
| since | string | ISO date; default 7 days ago |
| dryRun | boolean | |
| platforms | array | default every connected one |
| leadSource | string |
{
"name": "sync_leads_to_salesforce",
"title": "Push lead-form leads into Salesforce",
"description": "Push the leads the brand's LEAD FORMS collected (Meta, LinkedIn, TikTok, X, Snapchat, ChatGPT Ads) into Salesforce as Leads. Someone already a contact or lead (matched by email) is left as they are; synced leads are remembered per brand, so a re-run or a second agent never makes twins. leadSource sets LeadSource (one of the org's picklist values); dryRun lists what would happen and writes nothing. Free. Needs Salesforce connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"since": {
"type": "string",
"description": "ISO date; default 7 days ago"
},
"dryRun": {
"type": "boolean"
},
"platforms": {
"type": "array",
"items": {
"enum": [
"meta",
"linkedin",
"tiktok",
"x",
"snapchat",
"chatgpt",
"reddit"
],
"type": "string"
},
"description": "default every connected one"
},
"leadSource": {
"type": "string"
}
}
},
"annotations": {
"title": "Push lead-form leads into Salesforce",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Read the brand’s connected Microsoft Advertising (Bing Ads) account(s). Call with NO adAccountId to list the accounts shared with this profile — do this first to pick a target. Call WITH adAccountId to list that account’s campaigns (id, name, status, daily budget, campaign type, and whether the budget is SHARED). Microsoft statuses are Active / Paused — never Google’s ENABLED — and Microsoft also sets BudgetPaused, BudgetAndManualPaused and Suspended on its own, so report the status you read rather than assuming a paused campaign was paused by a person. Read-only, free. Needs Microsoft Advertising connected (Connectors > Microsoft Advertising).
| Parameter | Type | Description |
|---|---|---|
| accountId | string | older name for adAccountId (MCP only) |
| adAccountId | string | Microsoft ad account id — omit to use the single shared account |
{
"name": "list_microsoft_ads_campaigns",
"title": "List Microsoft Advertising accounts / campaigns",
"description": "Read the brand’s connected Microsoft Advertising (Bing Ads) account(s). Call with NO adAccountId to list the accounts shared with this profile — do this first to pick a target. Call WITH adAccountId to list that account’s campaigns (id, name, status, daily budget, campaign type, and whether the budget is SHARED). Microsoft statuses are Active / Paused — never Google’s ENABLED — and Microsoft also sets BudgetPaused, BudgetAndManualPaused and Suspended on its own, so report the status you read rather than assuming a paused campaign was paused by a person. Read-only, free. Needs Microsoft Advertising connected (Connectors > Microsoft Advertising).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"accountId": {
"type": "string",
"description": "older name for adAccountId (MCP only)"
},
"adAccountId": {
"type": "string",
"description": "Microsoft ad account id — omit to use the single shared account"
}
}
},
"annotations": {
"title": "List Microsoft Advertising accounts / campaigns",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Performance for a Microsoft Advertising account — impressions, clicks, CTR, average CPC, spend, conversions. `reportType` picks WHICH report, and that is the whole Microsoft reporting surface, not just campaigns: AdGroupPerformance, AdPerformance, KeywordPerformance, SearchQueryPerformance (the actual search terms people typed), GeographicPerformance, UserLocationPerformance, AgeGenderAudience and ProfessionalDemographicsAudience (LinkedIn-sourced job function and industry, inside Bing), ConversionPerformance, DestinationUrlPerformance, ShareOfVoice, AssetPerformance, ProductDimensionPerformance, SearchCampaignChangeHistory ("what changed on Tuesday") and ~30 more — an unknown name is refused WITH the full list rather than forwarded. `aggregation` controls the row grain (Summary / Daily / Hourly / Weekly / Monthly / Yearly / HourOfDay / DayOfWeek). Two reports keep far less history than the usual 36 months — AssetPerformance 30 days, ShareOfVoice 6 — and the reply says so, because an empty short-retention report is a retention limit, not an absence of delivery. Window via timePeriod (Today | Yesterday | LastSevenDays | Last14Days | Last30Days | ThisWeek | LastWeek | LastFourWeeks | ThisMonth | LastMonth | LastThreeMonths | LastSixMonths | ThisYear | LastYear | ThisWeekStartingMonday | LastWeekStartingMonday | LastFourWeeksStartingMonday) or since+until (YYYY-MM-DD) — default Last30Days. An unrecognised timePeriod is REFUSED, never silently swapped for another window. Microsoft generates reports ASYNCHRONOUSLY: this can return pending:true with a reportRequestId, and you must call again rather than reporting any numbers. A report that succeeds with ZERO rows genuinely means there was no delivery in that window — say exactly that; never present zeros as measured performance. Read-only, free.
| Parameter | Type | Description |
|---|---|---|
| since | string | YYYY-MM-DD custom range start (with until) |
| until | string | YYYY-MM-DD custom range end |
| columns | array |
Microsoft Advertising’s KEYWORD PLANNER — real monthly search volume, competition, suggested bid and ad impression share, expanded from seed keywords, a landing-page URL to mine, or a category. Run it BEFORE choosing keywords for a Microsoft campaign. locationIds is REQUIRED and deliberately not defaulted: a search volume with no market attached is a number nobody can act on, and inventing a country would silently answer about the wrong market — use microsoft_ads_geo_search to resolve a country or city name to an id, free. SAY THIS WHEN REPORTING: Competition is Microsoft’s Low/Medium/High bucket, NOT a percentage; MonthlySearchCounts is a per-month series rather than one number; SuggestedBid is in the account currency. An empty result means Microsoft found no ideas for those seeds, never that nobody searches for them. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| url | string | a landing page for Microsoft to mine ideas from |
| network | string | search network the volume is measured on: Microsoft-owned, partner-syndicated or both |
| keywords | array | seed terms to expand from |
| language | string | default English |
| accountId | string | older name for adAccountId (MCP only) |
| attributes | array | which idea attributes to return — omit for all |
| categoryId | number | Microsoft keyword category id to mine ideas from |
What a set of keywords would DELIVER on Microsoft Advertising at a given bid — estimated impressions, clicks, CTR, average CPC, average position and total cost. maxCpc is REQUIRED because a traffic estimate IS a function of the bid; estimating without one would be inventing the input. locationIds is REQUIRED for the same reason a search volume needs a market. SAY THIS WHEN REPORTING: Microsoft returns a MINIMUM and a MAXIMUM per keyword — quote the range, never average the two into a single figure — and every number here is a FORECAST, so never present it as measured performance. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| maxCpc * | number | REQUIRED — the max CPC bid to estimate at, in the account currency |
| network | string | search network to estimate for; same values as microsoft_ads_keyword_ideas network |
| keywords * | array | the keywords to estimate |
| language | string | language to estimate for, e.g. English |
| accountId | string | older name for adAccountId (MCP only) |
| matchType | string | default Exact |
| adAccountId | string | Microsoft ad account id — omit to use the single shared account |
| dailyBudget |
Where a Microsoft Advertising campaign is BUDGET-CONSTRAINED — Microsoft’s own recommended budget against the current one, the estimated WEEKLY click and impression gain from raising it, and a budget/return curve. Omit campaignId for the whole account. SAY THIS WHEN REPORTING: these are Microsoft’s FORECASTS, never measurements — a projected increase has not happened — and acting on one spends real money, so it takes set_microsoft_ads_budget and an explicit yes from the user. Microsoft EXCLUDES user-paused campaigns from this analysis, so a paused campaign is absent by design rather than well-funded. Read-only, 0 credits.
| Parameter | Type | Description |
|---|---|---|
| accountId | string | older name for adAccountId (MCP only) |
| campaignId | string | omit for the whole account |
| adAccountId | string | Microsoft ad account id — omit to use the single shared account |
{
"name": "microsoft_ads_budget_opportunities",
"title": "Where Microsoft says budget is capping delivery",
"description": "Where a Microsoft Advertising campaign is BUDGET-CONSTRAINED — Microsoft’s own recommended budget against the current one, the estimated WEEKLY click and impression gain from raising it, and a budget/return curve. Omit campaignId for the whole account. SAY THIS WHEN REPORTING: these are Microsoft’s FORECASTS, never measurements — a projected increase has not happened — and acting on one spends real money, so it takes set_microsoft_ads_budget and an explicit yes from the user. Microsoft EXCLUDES user-paused campaigns from this analysis, so a paused campaign is absent by design rather than well-funded. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"accountId": {
"type": "string",
"description": "older name for adAccountId (MCP only)"
},
"campaignId": {
"type": "string",
"description": "omit for the whole account"
},
"adAccountId": {
"type": "string",
"description": "Microsoft ad account id — omit to use the single shared account"
}
}
},
"annotations": {
"title": "Where Microsoft says budget is capping delivery",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Resolve country / region / city names to the Microsoft Advertising location ids that create_microsoft_ads_campaign needs. Read-only, free, 0 credits. Use it when a location ask is ambiguous ("Springfield") — this returns EVERY candidate with its id so the USER can pick, and you never guess between two places. Accepts names, ISO country codes ("CA"), or numeric location ids. Pass `query` as ONE ask (a plain string) or SEVERAL (an array of strings) — a comma is part of a place's name ("Seattle, Washington, United States"), never a separator. Postal codes and neighbourhoods are not name-searchable — pass their numeric location id straight through; the campaign read-back reports the name Microsoft resolves for it.
| Parameter | Type | Description |
|---|---|---|
| query * | any | ONE location ask as a plain string, or several as an array of strings — names, ISO country codes, or numeric Microsoft location ids. A comma belongs to a name ("Seattle, Washington, United States") and is NOT a separator: pass several places as several array items, never one comma-joined string. |
| accountId | string | older name for adAccountId (MCP only) |
| adAccountId | string | Microsoft ad account id — omit to use the single shared account |
{
"name": "microsoft_ads_geo_search",
"title": "Find Microsoft Advertising location ids",
"description": "Resolve country / region / city names to the Microsoft Advertising location ids that create_microsoft_ads_campaign needs. Read-only, free, 0 credits. Use it when a location ask is ambiguous (\"Springfield\") — this returns EVERY candidate with its id so the USER can pick, and you never guess between two places. Accepts names, ISO country codes (\"CA\"), or numeric location ids. Pass `query` as ONE ask (a plain string) or SEVERAL (an array of strings) — a comma is part of a place's name (\"Seattle, Washington, United States\"), never a separator. Postal codes and neighbourhoods are not name-searchable — pass their numeric location id straight through; the campaign read-back reports the name Microsoft resolves for it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "ONE location ask as a plain string, or several as an array of strings — names, ISO country codes, or numeric Microsoft location ids. A comma belongs to a name (\"Seattle, Washington, United States\") and is NOT a separator: pass several places as several array items, never one comma-joined string."
},
"accountId": {
"type": "string",
"description": "older name for adAccountId (MCP only)"
},
"adAccountId": {
"type": "string",
"description": "Microsoft ad account id — omit to use the single shared account"
}
}
},
"annotations": {
"title": "Find Microsoft Advertising location ids",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}200 more tools not shown here; see the raw JSON.
Hermoso Ads Manager runs and reports on the user's own paid campaigns on Meta, Google, Microsoft, TikTok, LinkedIn, Pinterest, Reddit, Snapchat, X, Apple and ChatGPT Ads, and reads website and business analytics: Google Analytics, Search Console, Bing Webmaster, Tag Manager, PostHog, Mixpanel, Amplitude, Merchant Center, Stripe and HubSpot. • CAMPAIGNS: list_meta_ads, meta_insights, list_google_ads_campaigns, google_ads_report, tiktok_ads_report, linkedin_ads_report and the other list_*_campaigns / *_report tools read campaigns and results; analyze_campaigns compares them. create_* tools build campaigns, ad sets and ads PAUSED and read them back; set_*_status and set_*_budget control spend. • AUDIENCES & TRACKING: list_meta_audiences, create_meta_audience, estimate_meta_reach, list_meta_pixels, list_google_ads_conversion_actions, list_meta_lead_forms, read_meta_leads. • SITE & BUSINESS ANALYTICS: analytics_report, search_console_performance, bing_webmaster_traffic, mixpanel_insights, list_merchant_products. • CREATIVE: upload_file turns the user's image or video into a URL the ad tools accept; list_library lists files already in Hermoso. WORKSPACE: get_brand, list_brands, use_brand, create_brand, list_connectors (accounts are connected in the Hermoso app, Connectors), hermoso_credits, report_bug, request_feature. CONFIRM with the user before posting or scheduling, messaging customers, turning on a campaign or changing a budget, deleting anything, or replacing a saved profile. OUTSIDE THIS APP, tell the user which Hermoso connection covers it. Every tool: https://app.hermoso.ai/mcp. Or the same URL plus: ?tools=app-create (AI Ad Generator): competitor ad and social research; AI image, video and voice ads. ?tools=app-social (Social Media Manager): posting and scheduling; inbox, comments and channel analytics. ?tools=app-creators (Creator Campaigns): creator campaigns.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
Too large to show here.
{
"name": "find_tools",
"title": "Find a Hermoso tool by name or task",
"description": "Search EVERY Hermoso tool — your starting list is deliberately short, and everything else in the product is here — by name, task or group. Each row gives the tool's PARAMETERS in one line, its CREDIT COST (free means free on every plan; a tool that runs a model quotes the live per-model figure) and its recent HEALTH on this server (failure rate and typical duration, or \"no recent calls\", which means unseen and not broken). Use it the moment the user asks for something you do not see a tool for (a campaign, an ad set, a lead form, a click-to-WhatsApp ad, a report, keywords, audiences): a tool missing from your list is NEVER proof the feature is missing. Then RUN the tool you found with call_tool({name, args}): search, then run, two calls for any tool in the product. A tool that is failing or needs a connector this workspace has not made is ranked last and marked, never hidden — pass onlyHealthy:true if you want those left out. Free, read-only.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"group": {
"type": "string",
"description": "limit to one group: core, research, create, channels, channel_admin, analytics, ads, files, workspace"
},
"limit": {
"type": "number",
"description": "how many to return (default 12, max 40)"
},
"query": {
"type": "string",
"description": "words from the task or the tool name, e.g. \"lead form\", \"whatsapp\", \"google ads keyword\", \"meta insights\""
},
"onlyHealthy": {
"type": "boolean",
"description": "leave out tools that are failing their recent calls or that need a connector this workspace has not made. Default false — nothing is hidden unless you ask, because a missing row reads as a missing capability."
}
}
},
"annotations": {
"title": "Find a Hermoso tool by name or task",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "buy_credits",
"title": "Buy credits",
"description": "Out of credits? Top up with a credit PACK. Call with no argument to list the available packs (id · credits · price). If the account has a saved card and you have billing-admin rights, calling with `pack` quotes the exact charge and calling again with confirm:true AND the quote's quote_token charges the saved card instantly (same one-click top-up as the app — no redirect). If there's no saved card yet, you get a Stripe checkout URL to hand your human for the FIRST purchase; their card saves for one-click after that. Packs only; subscriptions are managed by a person in Billing. IF YOU ARE AN AGENT HOLDING YOUR OWN PAYMENT CREDENTIAL, there is a third path that needs no human at all: `POST /api/billing/machine-payment` with a `packId` answers HTTP 402 carrying an MPP challenge, and grants the pack once you authorise and retry with the credential — the same packs, the same prices, the same credits. `GET /api/billing/config` carries a `machinePayments` block listing the packs with their per-credit rates and saying whether that lane is enabled on this server. Most agents do NOT have their own credential yet, so the checkout link above remains the normal path. To stop running out entirely, turn on auto-reload with set_auto_reload (admin) — low balances then top themselves up from the saved card automatically.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"pack": {
"type": "string",
"description": "the pack id to buy (e.g. pack-2k) — omit to list the available packs first"
},
"confirm": {
"type": "boolean",
"description": "set true to actually charge the saved card for `pack` (required for the one-click charge; ignored on the checkout-link path)"
},
"quote_token": {
"type": "string",
"description": "the quoteToken returned by the quote step — REQUIRED (with confirm:true) to charge; it binds the exact pack + price you quoted (10-minute validity) and makes a retried confirm idempotent"
}
}
},
"annotations": {
"title": "Buy credits",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "delete_brand",
"title": "Delete a profile",
"description": "PERMANENTLY delete a profile and EVERYTHING in it — brand details, memory, swipefile, Library creations, generated assets, avatars, skills, playbooks, chats — and disconnect its connected accounts. Irreversible, and it applies to everyone the workspace is shared with. Call it WITHOUT confirm first: it reports exactly what that workspace holds. Show the user that inventory verbatim, get an unambiguous yes, then call again with confirm:true — plus, if the workspace is not empty, confirmName set to its exact name and confirmConnectors set to the number of connected accounts it reported. Those two exist because confirming INTENT does not prove you picked the right WORKSPACE, and a wrong target is how a live profile was destroyed. The account's FIRST/anchor profile cannot be deleted this way (it holds the workspace's root storage) — that one is replaced from the app.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"brand"
],
"properties": {
"brand": {
"type": "string",
"description": "profile id or exact name from list_brands"
},
"confirm": {
"type": "boolean",
"description": "REQUIRED true — this destroys the whole profile and cannot be undone"
},
"confirmName": {
"type": "string",
"description": "the workspace's EXACT name, required when it is not empty — copy it from the inventory this tool returned, after the user has agreed to it"
},
"confirmConnectors": {
"type": "number",
"description": "the number of connected accounts the inventory reported, required when there is at least one — the user must specifically agree to losing them, because reconnecting each needs a browser and no agent can do it"
}
}
},
"annotations": {
"title": "Delete a profile",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| getUploadUrl |
| boolean |
| ASK FOR A ONE-TIME UPLOAD URL instead of uploading now — use this whenever the file is on the user’s machine and you can run a shell or an HTTP request. Returns a uploadUrl you PUT the raw bytes to (any HTTP client), which answers with the durable Hermoso url. It beats `dataUri` for anything but a s… |
{
"name": "upload_file",
"title": "Upload a local file -> durable public URL",
"description": "Persist an ARBITRARY user file (image, video, audio, PDF or document, up to 150MB) into Hermoso and get back a durable public URL that EVERY publish, schedule and ad-build tool accepts. Kept in the Library. THIS IS THE BRING-YOUR-OWN-CREATIVE PATH: it is for files that have NOTHING to do with a Hermoso render (media on the user's desktop, an agency's finished ad, a photo they shot), and it means you can publish, schedule and run ads through Hermoso without generating anything here. Provide exactly ONE source — passing two is an error, never a silent preference: `url` (ANY public http(s) link — Hermoso fetches it server-side, so nothing crosses this connection and there is no practical size limit; THIS IS THE ONE THAT ALWAYS WORKS, including on the hosted connector), `dataUri` (a base64 data: URI — keep it under ~15MB, since the bytes travel over this connection). If the file is already at a public https URL, the Meta, Reddit and ChatGPT-Ads tools take it directly and re-host it safely — but LinkedIn (posts and ad creatives), Pinterest, the YouTube thumbnail and upload_google_ads_asset upload the BYTES themselves and therefore refuse an external host, so run it through here first and pass the URL this returns. When in doubt, use this: its URL works everywhere. (Calling the underlying HTTP route directly? POST /api/upload takes the file's RAW BYTES as the request body with its own content-type — NOT multipart/form-data — or ?url=<link> with no body.) Returns {url, kind, bytes}.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"url": {
"type": "string",
"description": "a PUBLIC http(s) URL Hermoso fetches server-side (private/internal addresses are refused, and every redirect hop is re-checked). A share link from Dropbox, Google Drive, OneDrive, SharePoint or Box works as the file itself (set to \"Anyone with the link\"); an iCloud Drive link does not, Apple gives it no download address. Works on every surface including the hosted connector, and the bytes never cross this connection — prefer this whenever the file is reachable on the web."
},
"name": {
"type": "string",
"description": "original file name — helps pick the right extension"
},
"dataUri": {
"type": "string",
"description": "base64 data: URI of the file bytes (data:<mime>;base64,<…>) — bytes travel over this connection, so keep it small"
},
"getUploadUrl": {
"type": "boolean",
"description": "ASK FOR A ONE-TIME UPLOAD URL instead of uploading now — use this whenever the file is on the user’s machine and you can run a shell or an HTTP request. Returns a uploadUrl you PUT the raw bytes to (any HTTP client), which answers with the durable Hermoso url. It beats `dataUri` for anything but a small image: a data: URI spends the whole file as tokens in this conversation. One file per url, and it expires."
}
}
},
"annotations": {
"title": "Upload a local file -> durable public URL",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Pinterest async metric columns — omit for the standard spend/impressions/clicks/CTR/conversions set |
| adGroupIds | array | limit the report to these ad group ids |
| adAccountId | string | Pinterest ad account id; omit when only one is shared with this profile |
| campaignIds | array | limit the report to these campaign ids |
| granularity | string | time bucket: TOTAL, DAY, HOUR, WEEK or MONTH |
| reportFormat | string | JSON or CSV |
| targetingTypes | array | only valid with a *_TARGETING level |
{
"name": "pinterest_ads_async_report",
"title": "Pinterest deep (async) ad report",
"description": "The DEEP Pinterest ad report — Pinterest’s ASYNCHRONOUS lane, which reaches 914 DAYS back (2.5 years) where pinterest_ads_report stops at 90, and carries roughly three times the metric columns (conversion, ROAS and cross-device families the quick report does not have). Use it for anything older than three months, and for revenue questions. Levels: ADVERTISER / CAMPAIGN / AD_GROUP / PIN_PROMOTION / KEYWORD / PRODUCT_GROUP / PRODUCT_ITEM plus their *_TARGETING twins. Pinterest generates it asynchronously, so this may come back pending:true with a token — CALL AGAIN WITH THAT TOKEN to pick it up, and never re-submit without it (a second submit generates a second report). Pinterest’s own windows are enforced here with the reason rather than as an opaque 400: 914 days back over at most 186 days; at HOUR granularity 8 days back over 3; at a PRODUCT_ITEM level 92 back over 31. A finished report link is valid five minutes and the report one hour, so an EXPIRED status means run it again, not that anything failed. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"adIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "limit the report to these ad ids"
},
"level": {
"type": "string",
"description": "ADVERTISER | CAMPAIGN | AD_GROUP | PIN_PROMOTION | KEYWORD | PRODUCT_GROUP | PRODUCT_ITEM (+ _TARGETING variants) — default CAMPAIGN. An unknown level is refused with the list."
},
"since": {
"type": "string",
"description": "YYYY-MM-DD (default 30 days ago)"
},
"token": {
"type": "string",
"description": "RESUME a pending report — pass the token back instead of re-submitting"
},
"until": {
"type": "string",
"description": "YYYY-MM-DD (default today)"
},
"columns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Pinterest async metric columns — omit for the standard spend/impressions/clicks/CTR/conversions set"
},
"adGroupIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "limit the report to these ad group ids"
},
"adAccountId": {
"type": "string",
"description": "Pinterest ad account id; omit when only one is shared with this profile"
},
"campaignIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "limit the report to these campaign ids"
},
"granularity": {
"enum": [
"TOTAL",
"DAY",
"HOUR",
"WEEK",
"MONTH"
],
"type": "string",
"description": "time bucket: TOTAL, DAY, HOUR, WEEK or MONTH"
},
"reportFormat": {
"enum": [
"JSON",
"CSV"
],
"type": "string",
"description": "JSON or CSV"
},
"targetingTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "only valid with a *_TARGETING level"
}
}
},
"annotations": {
"title": "Pinterest deep (async) ad report",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "search_pinterest_ads_targeting",
"title": "Find Pinterest ad targeting options",
"description": "THE IDS AN AD GROUP’S targetingSpec NEEDS. create_pinterest_ads_campaign and create_pinterest_ads_ad_group accept interests, locales, locations, age buckets and keywords — this is where those values come from, and guessing one is the worst option available: Pinterest ACCEPTS a well-formed but wrong interest id and the campaign then quietly targets the wrong people. Pass targetingType (INTEREST, GEO, LOCATION, LOCALE, AGE_BUCKET, GENDER, APPTYPE, KEYWORD, AUDIENCE_INCLUDE, AUDIENCE_EXCLUDE) and optionally `query` to narrow the list. INTERESTS ARE A TREE: pass interestId instead to drill into one and get its children, which is how you get from \"Food\" to something specific enough to target. Pinterest publishes no search parameter of its own, so `query` filters the full list HERE — the note says so, because a filter we applied is not a filter the vendor applied. Read-only, 0 credits, no new permission (it uses ads:read, already granted).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "1–500, default 100"
},
"query": {
"type": "string",
"description": "narrow the list to options mentioning this text (filtered here, not by Pinterest)"
},
"interestId": {
"type": "string",
"description": "drill INTO one interest and return its child interests — how you walk the interest tree"
},
"adAccountId": {
"type": "string",
"description": "Pinterest ad account id; omit when only one is shared with this profile"
},
"targetingType": {
"enum": [
"APPTYPE",
"GENDER",
"LOCALE",
"AGE_BUCKET",
"LOCATION",
"GEO",
"INTEREST",
"KEYWORD",
"AUDIENCE_INCLUDE",
"AUDIENCE_EXCLUDE"
],
"type": "string",
"description": "which catalog to list — required unless you pass interestId"
}
}
},
"annotations": {
"title": "Find Pinterest ad targeting options",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| CATALOG (dynamic product) ADS. This is the CAMPAIGN-level half of a catalog ad; the AD SET takes a productSetId and the creative takes the same set. Passing a product SET id here is refused by name with the level it belongs on. The binding is READ BACK from Meta before it is reported, so a 200 is ne… |
{
"name": "create_meta_campaign",
"title": "Create a Meta ad campaign (paused)",
"description": "Use this when the user asks to create a new Facebook or Instagram ad campaign on their own ad account. Create a campaign on a connected Meta ad account. Always created PAUSED — it spends NOTHING until you activate it with set_meta_campaign_status(confirm:true). Optionally set a dailyBudgetUsd (an amount in the AD ACCOUNT’s currency, e.g. CAD on a CAD account — the name is historical, it is not USD). Pass adAccountId + an objective. Needs ads-management permission on the connected account. CATALOG / ADVANTAGE+ CATALOG ADS (also called DPA or dynamic product ads) ARE SUPPORTED: pass productCatalogId here and productSetId on the ad set, and the campaign is catalog-backed. Say YES when a user asks for catalog, Advantage+ catalog, DPA or feed-driven ads.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"adAccountId"
],
"properties": {
"name": {
"type": "string",
"description": "campaign name"
},
"objective": {
"enum": [
"OUTCOME_TRAFFIC",
"OUTCOME_AWARENESS",
"OUTCOME_ENGAGEMENT",
"OUTCOME_LEADS",
"OUTCOME_SALES",
"OUTCOME_APP_PROMOTION"
],
"type": "string",
"description": "default OUTCOME_TRAFFIC"
},
"adAccountId": {
"type": "string",
"description": "Ad account id"
},
"bidStrategy": {
"enum": [
"LOWEST_COST_WITHOUT_CAP",
"LOWEST_COST_WITH_BID_CAP",
"COST_CAP",
"LOWEST_COST_WITH_MIN_ROAS"
],
"type": "string",
"description": "with dailyBudgetUsd: how the campaign bids across its ad sets — LOWEST_COST_WITHOUT_CAP (default: highest volume), LOWEST_COST_WITH_BID_CAP / COST_CAP (each ad set then needs bidAmountUsd), LOWEST_COST_WITH_MIN_ROAS (each ad set needs minRoas)"
},
"dailyBudgetUsd": {
"type": "number",
"description": "optional campaign daily budget in the AD ACCOUNT's currency (not necessarily USD — the reply names it); real spend once ACTIVE. With it, the campaign holds the budget (Advantage+ campaign budget) and every ad set under it carries NONE — create_meta_adset / create_meta_ad then send no ad-set budget"
},
"productCatalogId": {
"type": "string",
"description": "CATALOG (dynamic product) ADS. This is the CAMPAIGN-level half of a catalog ad; the AD SET takes a productSetId and the creative takes the same set. Passing a product SET id here is refused by name with the level it belongs on. The binding is READ BACK from Meta before it is reported, so a 200 is never narrated as “bound”."
}
}
},
"annotations": {
"title": "Create a Meta ad campaign (paused)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "create_meta_ad",
"title": "Build a full Meta ad (campaign -> ad set -> ad, paused)",
"description": "Build a complete, ready-to-run Meta ad: campaign -> ad set (FULL targeting + budget + schedule + bidding) -> creative -> ad(s), ALL created PAUSED — it spends NOTHING until you activate the campaign with set_meta_campaign_status(confirm:true). This is the \"create a campaign and put the ads on it\" path. IMAGE, VIDEO (uploaded, transcoded and thumbnailed for you) and CAROUSEL (format:\"carousel\", 2–10 cards each with its own headline/description/link) all work. Targeting is the `targeting` object: geo down to cities with a radius, age, gender, interests, behaviours, custom audiences and lookalikes, languages, placements, devices and OS. For a conversion objective pass pixelId + conversionEvent and the ad set optimizes for that conversion. Schedule with startTime/endTime + dayparting; bid with bidStrategy + bidAmountUsd/minRoas; use lifetimeBudgetUsd (with endTime) for a fixed flight. Attach to an existing campaign with campaignId or an existing ad set with adSetId. Everything is READ BACK from Meta before you are told it exists — print the returned summary verbatim (it carries 24-hour Meta PREVIEW LINKS for the first ad — hand them to the user; preview_meta_ad renders any ad in any placement). Needs ads-management on the connected account. BOOST AN EXISTING POST: pass boostPostId — a post you have ALREADY published (numeric id, the <pageId>_<postId> form, or a permalink) — INSTEAD of any creative, and the ad promotes that post exactly as published, comments and all. The post keeps its own caption and media, so message/headline/description do NOT apply. AN INSTAGRAM BOOST TAKES A BUTTON: pass cta (e.g. SHOP_NOW, SIGN_UP) and link and the boosted post carries that button to that link; a FACEBOOK post boost takes no button and keeps the post as published. Anything not applied is named in the reply, and the reply reads back from Meta which post the ad promotes. Targeting, budget, schedule, bidding and PAUSED-by-default all work identically. AN INSTAGRAM POST NEEDS boostTarget:\"instagram\" — IG media ids and Facebook post ids are both bare digits, so Hermoso never guesses, and a Facebook boost given an IG media id is refused. Instagram eligibility is checked for free before anything is created (Meta refuses to boost a post carrying licensed music or an interactive element).",
"inputSchema": {
"truncated": true,
"chars": 23519
},
"annotations": {
"title": "Build a full Meta ad (campaign -> ad set -> ad, paused)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| string |
| ISO-8601 with offset, e.g. 2026-08-01T09:00:00-0700 |
| targeting | object | full Meta ad-set targeting — age, gender, geo, interests, behaviours, audiences, languages, placements, devices. Use EXACTLY these key names: an unrecognised one (e.g. geoLocations) is REFUSED by name — it is never dropped, because a dropped geo key used to fall back to targeting the United States. |
| campaignId * | string | the campaign this ad set belongs to |
| adAccountId * | string | ad account id (act_… or digits) |
| bidStrategy | string | bidding: lowest cost, bid cap, cost cap or minimum ROAS (Meta's strategy names) |
| bidAmountUsd | number | REQUIRED for a bid cap / cost cap |
| billingEvent | string | default IMPRESSIONS |
| productSetId | string | CATALOG (dynamic product) ADS. Meta binds a catalog at TWO levels and they are different ids on different objects: the CAMPAIGN takes productCatalogId, the AD SET takes productSetId. Passing a CATALOG id here is refused by name rather than moved, because Meta’s own error for a mis-placed id names ne… |
| adsetSchedule | array | dayparting — minutes from midnight (0–1440), days 0=Sunday…6=Saturday |
| applicationId | string | app-promotion ads |
| dailyBudgetUsd | number | ad-set daily budget in the AD ACCOUNT's currency (historical name — not necessarily USD; default 10, or 1,000 in a whole-unit currency like JPY) — spends only once ACTIVE. Under a campaign that HAS its own budget (create_meta_campaign with dailyBudgetUsd, Advantage+ campaign budget) leave this and l… |
| dsaBeneficiary | string | EU AD TRANSPARENCY: the person or organisation this ad promotes (Meta shows it on the ad). Meta requires it whenever the ad set reaches the EU; omit it and Hermoso uses the ad account's own default, else this profile's brand name, else the Page name, and the summary says which was used |
| objectStoreUrl | string | app store link for an app-install ad |
| attributionSpec | array | e.g. [{event_type:"CLICK_THROUGH",window_days:7}] |
| conversionEvent | string | PURCHASE | LEAD | COMPLETE_REGISTRATION | ADD_TO_CART | INITIATED_CHECKOUT | … |
| optimizationGoal | string | override, e.g. OFFSITE_CONVERSIONS / LANDING_PAGE_VIEWS / THRUPLAY / VALUE |
| lifetimeBudgetUsd | number | a fixed total instead of a daily budget, in the ad account's currency — REQUIRES endTime |
| customConversionId | string | Meta custom conversion id (digits), from Meta Events Manager |
| brandedContentSponsorIgId | string | PARTNERSHIP AD — the Instagram account id shown as the PAID PARTNER on this ad (Meta’s `instagram_branded_content.sponsor_id`), so the ad runs as a creator collaboration rather than as a plain brand ad. Hermoso sends this id EXACTLY as given and does not work out which id belongs in which slot — Met… |
| brandedContentSponsorPageId | string | PARTNERSHIP AD — the Facebook Page id of the paid partner (Meta’s `facebook_branded_content.sponsor_page_id`). Give BOTH halves when the ad runs across both surfaces: supplying only one leaves the other surface’s placements with no partnership label at all, and the returned summary says which half i… |
{
"name": "create_meta_adset",
"title": "Create a Meta ad set (audience + budget + schedule)",
"description": "Create an AD SET on an EXISTING Meta campaign — the level that holds the audience, budget, schedule and bidding. Use it to hang SEVERAL ad sets off ONE campaign, which is how you actually test audiences on Meta (one ad set per audience, same campaign, same creative). Takes the same full `targeting`, pixelId/conversionEvent, bidStrategy, schedule and budget fields as create_meta_ad. Created PAUSED and read back from Meta. It has NO ads until you call create_meta_ad(adSetId:…). For CATALOG / ADVANTAGE+ CATALOG ads (DPA), pass productSetId here — the campaign carries productCatalogId and the ad set narrows it to a product set.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId",
"campaignId"
],
"properties": {
"name": {
"type": "string",
"description": "ad set name"
},
"pageId": {
"type": "string",
"description": "Omit when the brand has one Page; with several the call lists them, so ask the user which one."
},
"country": {
"type": "string",
"description": "2-letter shorthand when you are not passing full targeting (default US)"
},
"endTime": {
"type": "string",
"description": "REQUIRED with lifetimeBudgetUsd"
},
"minRoas": {
"type": "number",
"description": "REQUIRED for LOWEST_COST_WITH_MIN_ROAS, e.g. 1.1"
},
"pixelId": {
"type": "string",
"description": "Meta Pixel id — with this the ad set optimizes for a real CONVERSION instead of falling back to link clicks"
},
"dsaPayor": {
"type": "string",
"description": "EU AD TRANSPARENCY: who pays for the ads (Meta shows it on the ad). Omit it and it matches dsaBeneficiary"
},
"startTime": {
"type": "string",
"description": "ISO-8601 with offset, e.g. 2026-08-01T09:00:00-0700"
},
"targeting": {
"type": "object",
"properties": {
"geo": {
"type": "object",
"properties": {
"zips": {
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Meta postal code key (the ads location search returns it)"
}
}
},
"description": "postal codes to target: list of {key}"
},
"cities": {
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Meta numeric city key, from find_meta_audiences"
},
"radius": {
"type": "number",
"description": "radius around the city: 10 to 50 miles or 17 to 80 kilometers"
},
"distanceUnit": {
"enum": [
"mile",
"kilometer"
],
"type": "string",
"description": "mile or kilometer; the unit the radius is measured in"
}
}
},
"description": "city KEYS; radius works here (10–50 mi / 17–80 km)"
},
"regions": {
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Meta numeric region key (the ads location search returns it)"
}
}
},
"description": "region KEYS from find_meta_audiences(type:\"adgeolocation\")"
},
"countries": {
"type": "array",
"items": {
"type": "string"
},
"description": "2-letter codes, e.g. [\"US\",\"CA\"]"
},
"geoMarkets": {
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Meta geo market (DMA) key (the ads location search returns it)"
}
}
},
"description": "DMA keys, e.g. {key:\"DMA:807\"}"
},
"locationTypes": {
"type": "array",
"items": {
"enum": [
"home",
"recent",
"travel_in"
],
"type": "string"
},
"description": "people who LIVE there vs were recently there"
},
"customLocations": {
"type": "array",
"items": {
"type": "object",
"required": [
"latitude",
"longitude"
],
"properties": {
"radius": {
"type": "number",
"description": "radius around the pin: 0.63 to 50 miles or 1 to 80 kilometers"
},
"latitude": {
"type": "number",
"description": "latitude of a custom pin location"
},
"longitude": {
"type": "number",
"description": "longitude of a custom pin location"
},
"distanceUnit": {
"enum": [
"mile",
"kilometer"
],
"type": "string",
"description": "mile or kilometer; the unit the radius is measured in"
}
}
},
"description": "drop a pin + radius"
}
},
"description": "where the ad runs",
"additionalProperties": {}
},
"ageMax": {
"type": "number",
"description": "13–65 (65 means 65+)"
},
"ageMin": {
"type": "number",
"description": "13–65"
},
"userOs": {
"type": "array",
"items": {
"enum": [
"iOS",
"Android"
],
"type": "string"
},
"description": "iOS or Android"
},
"genders": {
"enum": [
"all",
"men",
"women"
],
"type": "string",
"description": "all, men or women"
},
"locales": {
"type": "array",
"items": {
"type": "number"
},
"description": "Meta language ids from find_meta_audiences(type:\"adlocale\")"
},
"behaviors": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Meta interest id, from find_meta_audiences"
},
"name": {
"type": "string",
"description": "interest name, for readability; the id is what targets"
}
}
},
"description": "behaviour ids from find_meta_audiences(type:\"adTargetingCategory\", class:\"behaviors\")"
},
"interests": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Meta interest id, from find_meta_audiences"
},
"name": {
"type": "string",
"description": "interest name, for readability; the id is what targets"
}
}
},
"description": "interest ids from find_meta_audiences(type:\"adinterest\")"
},
"excludedGeo": {
"type": "object",
"properties": {
"zips": {
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Meta postal code key (the ads location search returns it)"
}
}
},
"description": "postal codes to target: list of {key}"
},
"cities": {
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Meta numeric city key, from find_meta_audiences"
},
"radius": {
"type": "number",
"description": "radius around the city: 10 to 50 miles or 17 to 80 kilometers"
},
"distanceUnit": {
"enum": [
"mile",
"kilometer"
],
"type": "string",
"description": "mile or kilometer; the unit the radius is measured in"
}
}
},
"description": "city KEYS; radius works here (10–50 mi / 17–80 km)"
},
"regions": {
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Meta numeric region key (the ads location search returns it)"
}
}
},
"description": "region KEYS from find_meta_audiences(type:\"adgeolocation\")"
},
"countries": {
"type": "array",
"items": {
"type": "string"
},
"description": "2-letter codes, e.g. [\"US\",\"CA\"]"
},
"geoMarkets": {
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"description": "Meta geo market (DMA) key (the ads location search returns it)"
}
}
},
"description": "DMA keys, e.g. {key:\"DMA:807\"}"
},
"locationTypes": {
"type": "array",
"items": {
"enum": [
"home",
"recent",
"travel_in"
],
"type": "string"
},
"description": "people who LIVE there vs were recently there"
},
"customLocations": {
"type": "array",
"items": {
"type": "object",
"required": [
"latitude",
"longitude"
],
"properties": {
"radius": {
"type": "number",
"description": "radius around the pin: 0.63 to 50 miles or 1 to 80 kilometers"
},
"latitude": {
"type": "number",
"description": "latitude of a custom pin location"
},
"longitude": {
"type": "number",
"description": "longitude of a custom pin location"
},
"distanceUnit": {
"enum": [
"mile",
"kilometer"
],
"type": "string",
"description": "mile or kilometer; the unit the radius is measured in"
}
}
},
"description": "drop a pin + radius"
}
},
"description": "places to exclude",
"additionalProperties": {}
},
"flexibleSpec": {
"type": "array",
"items": {
"type": "object",
"properties": {
"behaviors": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Meta interest id, from find_meta_audiences"
},
"name": {
"type": "string",
"description": "interest name, for readability; the id is what targets"
}
}
},
"description": "behaviors in this group, matched as OR within the group: list of {id, name}"
},
"interests": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Meta interest id, from find_meta_audiences"
},
"name": {
"type": "string",
"description": "interest name, for readability; the id is what targets"
}
}
},
"description": "interests in this group, matched as OR within the group: list of {id, name}"
}
}
},
"description": "AND across entries, OR within one"
},
"customAudiences": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Meta interest id, from find_meta_audiences"
},
"name": {
"type": "string",
"description": "interest name, for readability; the id is what targets"
}
}
},
"description": "saved audiences AND lookalikes — a lookalike IS a custom audience id"
},
"deviceExpansion": {
"type": "boolean",
"description": "only with devicePlatforms / userOs: true lets Meta also show the ad on OTHER devices and operating systems (its \"Reach more people across other mobile devices\", Sales campaigns only). Default false keeps delivery to exactly the devices and OS you targeted — Hermoso sends the opt-out explicitly, because Meta turns this on by default for new Sales ad sets from Graph v27"
},
"devicePlatforms": {
"type": "array",
"items": {
"enum": [
"mobile",
"desktop"
],
"type": "string"
},
"description": "mobile or desktop"
},
"threadsPositions": {
"type": "array",
"items": {
"enum": [
"threads_stream"
],
"type": "string"
},
"description": "Threads feed. Threads needs \"instagram\" in publisherPlatforms too (and \"stream\" if you list instagramPositions); the ad runs under the Threads profile linked to the Instagram account, found automatically"
},
"advantageAudience": {
"type": "boolean",
"description": "let Meta expand beyond your audience (Advantage+ audience)"
},
"excludedBehaviors": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Meta interest id, from find_meta_audiences"
},
"name": {
"type": "string",
"description": "interest name, for readability; the id is what targets"
}
}
},
"description": "behaviors to exclude: list of {id, name}"
},
"excludedInterests": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Meta interest id, from find_meta_audiences"
},
"name": {
"type": "string",
"description": "interest name, for readability; the id is what targets"
}
}
},
"description": "interests to exclude: list of {id, name}"
},
"facebookPositions": {
"type": "array",
"items": {
"type": "string"
},
"description": "feed, story, facebook_reels, marketplace, search, instream_video, right_hand_column, …"
},
"instagramPositions": {
"type": "array",
"items": {
"type": "string"
},
"description": "stream, story, reels, profile_feed, profile_reels, ig_search, explore_home. \"explore_home\" needs \"stream\" beside it; the old \"explore\" placement is retired by Meta and refused"
},
"messengerPositions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Messenger placements, e.g. sponsored_messages"
},
"publisherPlatforms": {
"type": "array",
"items": {
"enum": [
"facebook",
"instagram",
"audience_network",
"messenger",
"threads"
],
"type": "string"
},
"description": "placement platforms: facebook, instagram, audience_network, messenger or threads"
},
"excludedCustomAudiences": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Meta interest id, from find_meta_audiences"
},
"name": {
"type": "string",
"description": "interest name, for readability; the id is what targets"
}
}
},
"description": "custom audiences to exclude: list of {id, name}"
},
"audienceNetworkPositions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Audience Network placement names, as Meta defines them"
}
},
"description": "full Meta ad-set targeting — age, gender, geo, interests, behaviours, audiences, languages, placements, devices. Use EXACTLY these key names: an unrecognised one (e.g. geoLocations) is REFUSED by name — it is never dropped, because a dropped geo key used to fall back to targeting the United States.",
"additionalProperties": {}
},
"campaignId": {
"type": "string",
"description": "the campaign this ad set belongs to"
},
"adAccountId": {
"type": "string",
"description": "ad account id (act_… or digits)"
},
"bidStrategy": {
"enum": [
"LOWEST_COST_WITHOUT_CAP",
"LOWEST_COST_WITH_BID_CAP",
"COST_CAP",
"LOWEST_COST_WITH_MIN_ROAS"
],
"type": "string",
"description": "bidding: lowest cost, bid cap, cost cap or minimum ROAS (Meta's strategy names)"
},
"bidAmountUsd": {
"type": "number",
"description": "REQUIRED for a bid cap / cost cap"
},
"billingEvent": {
"type": "string",
"description": "default IMPRESSIONS"
},
"productSetId": {
"type": "string",
"description": "CATALOG (dynamic product) ADS. Meta binds a catalog at TWO levels and they are different ids on different objects: the CAMPAIGN takes productCatalogId, the AD SET takes productSetId. Passing a CATALOG id here is refused by name rather than moved, because Meta’s own error for a mis-placed id names neither the level nor the right field. Cannot be combined with pixelId — an ad set has exactly one promoted_object — and its conversion event is conversionEvent, which Meta defaults to PURCHASE."
},
"adsetSchedule": {
"type": "array",
"items": {
"type": "object",
"required": [
"startMinute",
"endMinute",
"days"
],
"properties": {
"days": {
"type": "array",
"items": {
"type": "number"
},
"description": "weekdays the window runs on: 0 = Sunday through 6 = Saturday"
},
"endMinute": {
"type": "number",
"description": "end of the daypart window, minutes from midnight (0 to 1440)"
},
"startMinute": {
"type": "number",
"description": "start of the daypart window, minutes from midnight (0 to 1440)"
}
}
},
"description": "dayparting — minutes from midnight (0–1440), days 0=Sunday…6=Saturday"
},
"applicationId": {
"type": "string",
"description": "app-promotion ads"
},
"dailyBudgetUsd": {
"type": "number",
"description": "ad-set daily budget in the AD ACCOUNT's currency (historical name — not necessarily USD; default 10, or 1,000 in a whole-unit currency like JPY) — spends only once ACTIVE. Under a campaign that HAS its own budget (create_meta_campaign with dailyBudgetUsd, Advantage+ campaign budget) leave this and lifetimeBudgetUsd OUT: Meta allows a budget at the campaign or the ad set, never both, so the ad set then gets none and shares the campaign’s, and naming one is refused by name before anything is created"
},
"dsaBeneficiary": {
"type": "string",
"description": "EU AD TRANSPARENCY: the person or organisation this ad promotes (Meta shows it on the ad). Meta requires it whenever the ad set reaches the EU; omit it and Hermoso uses the ad account's own default, else this profile's brand name, else the Page name, and the summary says which was used"
},
"objectStoreUrl": {
"type": "string",
"description": "app store link for an app-install ad"
},
"attributionSpec": {
"type": "array",
"items": {},
"description": "e.g. [{event_type:\"CLICK_THROUGH\",window_days:7}]"
},
"conversionEvent": {
"type": "string",
"description": "PURCHASE | LEAD | COMPLETE_REGISTRATION | ADD_TO_CART | INITIATED_CHECKOUT | …"
},
"optimizationGoal": {
"type": "string",
"description": "override, e.g. OFFSITE_CONVERSIONS / LANDING_PAGE_VIEWS / THRUPLAY / VALUE"
},
"lifetimeBudgetUsd": {
"type": "number",
"description": "a fixed total instead of a daily budget, in the ad account's currency — REQUIRES endTime"
},
"customConversionId": {
"type": "string",
"description": "Meta custom conversion id (digits), from Meta Events Manager"
},
"brandedContentSponsorIgId": {
"type": "string",
"description": "PARTNERSHIP AD — the Instagram account id shown as the PAID PARTNER on this ad (Meta’s `instagram_branded_content.sponsor_id`), so the ad runs as a creator collaboration rather than as a plain brand ad. Hermoso sends this id EXACTLY as given and does not work out which id belongs in which slot — Meta’s own two published examples disagree on that — so confirm the ad’s identity in Ads Manager before it is switched on."
},
"brandedContentSponsorPageId": {
"type": "string",
"description": "PARTNERSHIP AD — the Facebook Page id of the paid partner (Meta’s `facebook_branded_content.sponsor_page_id`). Give BOTH halves when the ad runs across both surfaces: supplying only one leaves the other surface’s placements with no partnership label at all, and the returned summary says which half is missing rather than letting it be discovered in Ads Manager."
}
}
},
"annotations": {
"title": "Create a Meta ad set (audience + budget + schedule)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "find_meta_audiences",
"title": "Look up Meta targeting ids",
"description": "Look up the Meta targeting ids you need before building an ad set — interests, behaviours, cities/regions/zips/DMAs, languages, employers, job titles and schools. type:\"adinterest\" (q:\"yoga\") returns interest ids + audience size; type:\"adTargetingCategory\" with class:\"behaviors\" returns behaviour ids; type:\"adgeolocation\" (q:\"Toronto\", optionally locationTypes:\"city\") returns the geo KEYS that go in targeting.geo.cities/regions/zips; type:\"adlocale\" (q:\"french\") returns language ids for targeting.locales. Read-only and free. Use it whenever the user names an audience in words — never guess an id.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type"
],
"properties": {
"q": {
"type": "string",
"description": "what to search for"
},
"type": {
"enum": [
"adinterest",
"adTargetingCategory",
"adgeolocation",
"adlocale",
"adcountry",
"adzipcode",
"adeducationschool",
"adeducationmajor",
"adworkemployer",
"adworkposition"
],
"type": "string",
"description": "what kind of targeting object to search"
},
"class": {
"type": "string",
"description": "for adTargetingCategory, e.g. \"behaviors\" or \"interests\""
},
"limit": {
"type": "number",
"description": "maximum matches to return; the reply shows up to 25"
},
"adAccountId": {
"type": "string",
"description": "search with that ad account’s token"
},
"countryCode": {
"type": "string",
"description": "2-letter hint to disambiguate a city name"
},
"locationTypes": {
"type": "string",
"description": "comma-separated: country,region,city,zip,geo_market"
}
}
},
"annotations": {
"title": "Look up Meta targeting ids",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| default campaign |
| platforms | array | meta, google_ads, openai_ads, tiktok_ads, linkedin, microsoft_ads, pinterest_ads, reddit_ads, snapchat_ads, x_ads, apple_ads — omit for every connected ad platform |
{
"name": "analyze_campaigns",
"title": "What to scale, pause, fix and test next",
"description": "Use this when the user asks how their paid ads are doing across platforms, or what to scale, pause, fix or test next. One verdict across every connected ad platform: it pulls each platform's own report (Meta, Google Ads, ChatGPT Ads, TikTok, LinkedIn, Microsoft Advertising, Pinterest, Reddit, Snapchat, X, Apple Ads), normalises every campaign / ad set / ad into ONE table — spend, impressions, clicks, CTR, CPC, conversions, CPA, ROAS and frequency where the platform reports them — and answers with four lists: `scale`, `pause`, `fix` and `test_next`, plus `insufficient_data`. Each recommendation carries the row's own numbers, the reason, a next action and the exact tool call that would apply it (e.g. set_meta_campaign_status with confirm), which this tool never runs. FOUR REFUSALS TO REPEAT RATHER THAN PAPER OVER: (1) A ROW BELOW THE DATA FLOOR IS NEVER JUDGED — the minimums are stated in the reply, and an under-powered row lands in insufficient_data with what it lacks, never in \"pause\"; a row whose conversions are too few for a CPA verdict can still be read on CTR and CPC and says so. (2) A PLATFORM WHOSE READ FAILED IS NAMED AS UNREADABLE and its numbers are MISSING, never zero — never move budget on the strength of an absence. (3) A META AD SET IN THE LEARNING PHASE IS HELD BACK, because editing it restarts learning. (4) A CONVERSION COLUMN THE PLATFORM DOES NOT PUBLISH READS UNMEASURED, not zero (Reddit, Snapchat and X in this report). Conversion definitions differ per platform and travel with every row, and each platform's days are its own account's days, so a cross-platform CPA comparison must carry that caveat. Args: days (complete days ending yesterday, default 14, max 90), platforms (omit for every connected one), goal (\"lowest CPA\", \"ROAS\", \"leads under $30\"), level (campaign | ad_group | ad — a platform with no report at that tier is read at campaign level and says so). Changes nothing in any ad account and spends no ad money; it bills one model call over the table.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"days": {
"type": "number",
"description": "how many complete days back, ending yesterday (default 14, max 90)"
},
"goal": {
"type": "string",
"description": "what to optimise for, in the user's own words"
},
"level": {
"enum": [
"campaign",
"ad_group",
"ad"
],
"type": "string",
"description": "default campaign"
},
"platforms": {
"type": "array",
"items": {
"type": "string"
},
"description": "meta, google_ads, openai_ads, tiktok_ads, linkedin, microsoft_ads, pinterest_ads, reddit_ads, snapchat_ads, x_ads, apple_ads — omit for every connected ad platform"
}
}
},
"annotations": {
"title": "What to scale, pause, fix and test next",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| Parameter | Type | Description |
|---|---|---|
| after | string | the nextCursor of the previous page |
| level | string | break the numbers down by this level |
| limit | number | rows per page, 1–500 (default 200) |
| since | string | start date YYYY-MM-DD (use with until). Meta keeps 37 months: an older start is moved to the oldest day Meta has, and the note says so |
| until | string | end date YYYY-MM-DD |
| fields | string | comma-separated extra Meta insights fields to add to every row, e.g. "attribution_setting,quality_ranking,outbound_clicks,website_purchase_roas,objective" |
| objectId | string | a campaign / ad set / ad id to scope to (default: the whole account) |
| breakdowns | string | comma-separated, e.g. "age,gender" | "publisher_platform,platform_position" | "country" | "impression_device" |
| datePreset | string | Meta's date_preset enum, default last_30d: today | yesterday | last_3d | last_7d | last_14d | last_28d | last_30d | last_90d | this_week_mon_today | this_week_sun_today | last_week_mon_sun | last_week_sun_sat | this_month | last_month | this_quarter | last_quarter | this_year | last_year | maximum |… |
| adAccountId * | string | ad account id (act_… or digits) |
| timeIncrement | ["string","number"] | one row per period instead of one for the whole window: 1 or "daily" = per day, 7 or "weekly" = per week, any whole number of days 1–90, or "monthly". Default: one row for the whole window |
| actionBreakdowns | string | comma-separated, e.g. "action_type,action_device" — splits the conversion/action counts |
| actionReportTime | string | which day a conversion is counted on: the day of the ad impression, or the day the conversion happened |
| attributionSetting | string | how conversions are attributed: "adset" = each ad set's own setting (what Ads Manager's columns show), "account" = the ad account's setting, "default" or omitted = Meta's default (7-day click and 1-day view) |
| attributionWindows | string | comma-separated windows to report beside each action total: 1d_click, 7d_click, 28d_click, 1d_view, 7d_view, 28d_view, 1d_ev, dda, default |
{
"name": "meta_insights",
"title": "Meta ad performance metrics",
"description": "Use this when the user asks how their Facebook or Instagram ads are doing. It reads performance insights for a connected Meta ad account, or a specific campaign / ad set / ad: spend, impressions, reach, clicks, CTR, CPC, CPM, frequency, and the conversions and video numbers Meta reports. Pass adAccountId (for auth); optionally objectId to scope to one object and level (campaign / adset / ad) for one named row per campaign, ad set or ad. EVERY ROW CARRIES `kpis`, the Ads Manager columns read out of Meta's arrays: purchases with purchaseValue, costPerPurchase (CPA) and purchaseRoas (purchase ROAS); addToCart (adds to cart), initiateCheckout (checkouts started), landingPageViews (landing page views) and costPerLandingPageView; linkClicks with linkCtr (link CTR) and linkCpc (link CPC); video3sPlays (3-second video plays), thruPlays (ThruPlay), videoP25 / P50 / P75 / P95 / P100 (plays to 25%, 50%, 75%, 95%, 100%) and videoAvgWatchSeconds (average watch time). A kpi that is null was not reported by Meta for that row: say \"not reported\", never zero. timeIncrement gives one row per day (1 or \"daily\"), per week (7) or \"monthly\" in ONE call. attributionSetting:\"adset\" counts conversions with each ad set's own attribution setting, as Ads Manager's columns do; attributionWindows (e.g. \"7d_click,1d_view\") adds each window's count beside the total. fields adds more of Meta's insights fields (e.g. \"attribution_setting,quality_ranking,outbound_clicks\"); an unknown name is refused, never dropped. Up to 500 rows a call: pass limit, and after:nextCursor for the next page. BREAKDOWNS are what make the numbers actionable — a flat total says an ad cost $X, never WHO it worked on: pass breakdowns:\"age,gender\", \"publisher_platform,platform_position\" (which placement), \"country\" / \"region\" / \"comscore_market\" (where — US metro; Meta retired \"dma\" for it, and \"dma\" is sent as comscore_market), \"impression_device\" / \"device_platform\" (what they held). Comma-separated; \"placement\", \"device\" and \"geo\" are accepted as aliases; an unknown value is REJECTED, never silently ignored. THREE breakdowns need an ad-account OPT-IN from 2026-08-06 — impression_device, hourly_stats_aggregated_by_audience_time_zone and frequency_value: Meta returns NO ROWS (not an error) for an account that has not opted in, so they are always ATTEMPTED, and if nothing comes back the report is re-run WITHOUT them and `droppedBreakdowns` + a note name the missing dimension and say an account admin can enable it in Ads Manager. A dropped dimension is ABSENT, never zero — never present the remaining total as if it were still split by it. Date window: datePreset OR since+until (YYYY-MM-DD). datePreset is Meta's OWN enum — today, yesterday, last_3d, last_7d, last_14d, last_28d, last_30d, last_90d, this_week_mon_today, this_week_sun_today, last_week_mon_sun, last_week_sun_sat, this_month, last_month, this_quarter, last_quarter, this_year, last_year, maximum, data_maximum. THERE IS NO \"lifetime\": Meta disabled it in Graph API v10.0 and replaced it with \"maximum\" (the last 37 months); anything unrecognised is refused by name here rather than 400ing at Meta. Read-only.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"after": {
"type": "string",
"description": "the nextCursor of the previous page"
},
"level": {
"enum": [
"account",
"campaign",
"adset",
"ad"
],
"type": "string",
"description": "break the numbers down by this level"
},
"limit": {
"type": "number",
"description": "rows per page, 1–500 (default 200)"
},
"since": {
"type": "string",
"description": "start date YYYY-MM-DD (use with until). Meta keeps 37 months: an older start is moved to the oldest day Meta has, and the note says so"
},
"until": {
"type": "string",
"description": "end date YYYY-MM-DD"
},
"fields": {
"type": "string",
"description": "comma-separated extra Meta insights fields to add to every row, e.g. \"attribution_setting,quality_ranking,outbound_clicks,website_purchase_roas,objective\""
},
"objectId": {
"type": "string",
"description": "a campaign / ad set / ad id to scope to (default: the whole account)"
},
"breakdowns": {
"type": "string",
"description": "comma-separated, e.g. \"age,gender\" | \"publisher_platform,platform_position\" | \"country\" | \"impression_device\""
},
"datePreset": {
"type": "string",
"description": "Meta's date_preset enum, default last_30d: today | yesterday | last_3d | last_7d | last_14d | last_28d | last_30d | last_90d | this_week_mon_today | this_week_sun_today | last_week_mon_sun | last_week_sun_sat | this_month | last_month | this_quarter | last_quarter | this_year | last_year | maximum | data_maximum. NOT \"lifetime\" — Meta retired it in v10.0; use \"maximum\" (37 months) or since+until."
},
"adAccountId": {
"type": "string",
"description": "ad account id (act_… or digits)"
},
"timeIncrement": {
"type": [
"string",
"number"
],
"description": "one row per period instead of one for the whole window: 1 or \"daily\" = per day, 7 or \"weekly\" = per week, any whole number of days 1–90, or \"monthly\". Default: one row for the whole window"
},
"actionBreakdowns": {
"type": "string",
"description": "comma-separated, e.g. \"action_type,action_device\" — splits the conversion/action counts"
},
"actionReportTime": {
"enum": [
"impression",
"conversion",
"mixed",
"lifetime"
],
"type": "string",
"description": "which day a conversion is counted on: the day of the ad impression, or the day the conversion happened"
},
"attributionSetting": {
"enum": [
"adset",
"account",
"default"
],
"type": "string",
"description": "how conversions are attributed: \"adset\" = each ad set's own setting (what Ads Manager's columns show), \"account\" = the ad account's setting, \"default\" or omitted = Meta's default (7-day click and 1-day view)"
},
"attributionWindows": {
"type": "string",
"description": "comma-separated windows to report beside each action total: 1d_click, 7d_click, 28d_click, 1d_view, 7d_view, 28d_view, 1d_ev, dda, default"
}
}
},
"annotations": {
"title": "Meta ad performance metrics",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| override the goal, e.g. REACH / LINK_CLICKS / OFFSITE_CONVERSIONS |
{
"name": "estimate_meta_reach",
"title": "Estimate how many people a Meta audience reaches",
"description": "Ask Meta how many people a targeting spec can actually reach — BEFORE any budget is committed. Two ways: pass adSetId to size an ad set you already built (Meta uses its own saved targeting), or pass the same `targeting` object you would give create_meta_ad (plus optional objective / optimizationGoal / country / pixelId) to size an audience you are considering. Returns the monthly-active range, a daily-active estimate, and an explicit warning when the audience is too narrow to deliver. Free, read-only, creates nothing and spends nothing. Use it before recommending a budget and every time the user narrows a geo or piles on interests.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"adSetId": {
"type": "string",
"description": "size an EXISTING ad set using its own saved targeting"
},
"country": {
"type": "string",
"description": "2-letter fallback country when targeting names no geo"
},
"pixelId": {
"type": "string",
"description": "estimate a conversion goal against this pixel"
},
"objective": {
"type": "string",
"description": "OUTCOME_TRAFFIC | OUTCOME_SALES | … — picks the matching optimization goal"
},
"targeting": {
"type": "object",
"description": "a targeting object, same shape as create_meta_ad.targeting",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"adAccountId": {
"type": "string",
"description": "ad account id (act_… or digits)"
},
"conversionEvent": {
"type": "string",
"description": "e.g. PURCHASE — used with pixelId"
},
"optimizationGoal": {
"type": "string",
"description": "override the goal, e.g. REACH / LINK_CLICKS / OFFSITE_CONVERSIONS"
}
}
},
"annotations": {
"title": "Estimate how many people a Meta audience reaches",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| rows | array | customerfile: the customers, one array per person in schema order (up to 10,000 per call). Plain values — Hermoso normalizes and hashes them before they leave the server |
| event | string | engagement: page_engaged | page_visited | page_liked | page_messaged | page_cta_clicked | page_or_post_save | page_post_interaction — or ig_business_profile_all | ig_business_profile_engaged | ig_user_messaged_business | ig_business_profile_visit |
| ratio | number | lookalike: 0.01–0.20 = the top 1%–20% most similar people (default 0.01) |
| pageId | string | engagement: which connected Page (required only if the profile has several) |
| schema | array | customerfile: the column names of rows, in order, e.g. ["EMAIL","PHONE"] |
| source | string | engagement: Facebook Page (default) or the linked Instagram business profile |
| country | string | lookalike: REQUIRED 2-letter country you will run it in — Meta delivers a lookalike to the locations of the ad set that targets it, so target this country there |
| pixelId | string | website: the Meta Pixel that sees the traffic |
| prefill | boolean | website/engagement: seed it with activity from BEFORE the audience existed (default true) |
| audienceId | string | customerfile: ADD these rows to this existing customer-list audience (from list_meta_audiences) instead of creating a new one |
| adAccountId * | string | ad account id (act_… or digits) |
| description | string | optional free-text note stored with the audience |
| urlContains | string | website: the URL fragment that defines the audience (your domain = all visitors) |
| lookalikeType | string | lookalike: similarity (tighter) or reach (broader) — default similarity |
| retentionDays | number | how long someone stays in it — website max 180, engagement max 730 (default 30) |
| startingRatio | number | lookalike: optional lower bound for a band (e.g. 0.01 with ratio 0.03 = the 1%–3% band) — at least 0.01 and less than ratio; not combinable with lookalikeType |
| sourceAudienceId | string | lookalike: the existing audience to model (from list_meta_audiences) |
| customerFileSource | string | customerfile: REQUIRED attestation of where the list came from (customers gave it to you = USER_PROVIDED_ONLY) |
{
"name": "create_meta_audience",
"title": "Create a Meta custom audience or lookalike",
"description": "Build a retargeting audience on a connected Meta ad account. Four kinds: kind:\"website\" (people whose visited URL contains urlContains, seen by pixelId — pass the brand’s own domain for \"all visitors\"; retentionDays up to 180), kind:\"engagement\" (people who did `event` on the brand’s Facebook Page, or its Instagram business profile with source:\"instagram\"; retentionDays up to 730), or kind:\"lookalike\" (sourceAudienceId + country + ratio 0.01–0.20 = the top 1%–20% most similar people, lookalikeType \"similarity\" or \"reach\", or startingRatio for a band such as 1%–3%). Meta delivers a lookalike to the locations of the AD SET that targets it, so `country` is where you will run it — target the same country in that ad set. CREATING AN AUDIENCE SPENDS NOTHING — it is a definition; money only moves when an ad set targets it and that campaign is activated through set_meta_campaign_status(confirm:true). Meta needs roughly 30 minutes and ~1,000 people before a new audience can be targeted, so a fresh one reporting no size is normal. kind:\"customerfile\" is the brand's OWN CUSTOMER LIST (emails, phones, names…) for retargeting, suppression or as a lookalike seed: pass customerFileSource (a required attestation of where the data came from: USER_PROVIDED_ONLY, PARTNER_PROVIDED_ONLY or BOTH_USER_AND_PARTNER_PROVIDED), plus schema (the column names in order, from EMAIL, PHONE, FN, LN, FI, CT, ST, ZIP, COUNTRY, DOB, DOBY, GEN, MADID, EXTERN_ID) and rows (arrays in that order, up to 10,000 per call) to upload them in the same call. Hermoso normalizes and SHA-256-hashes every value before it leaves the server, exactly as Meta requires, and reports Meta’s own match counts (a mostly-rejected upload is a format problem and says so). To ADD more people to an existing list, call again with kind:\"customerfile\" + audienceId + schema + rows (uploads add, they never replace). Meta asks the ad account to accept its Custom Audience Terms once; if it has not, Meta’s refusal says so.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId",
"kind"
],
"properties": {
"kind": {
"enum": [
"website",
"engagement",
"lookalike",
"customerfile"
],
"type": "string",
"description": "which kind of audience to build — customerfile = your own customer list"
},
"name": {
"type": "string",
"description": "audience name (required unless adding rows to an existing list with audienceId)"
},
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": [
"string",
"number"
]
}
},
"description": "customerfile: the customers, one array per person in schema order (up to 10,000 per call). Plain values — Hermoso normalizes and hashes them before they leave the server"
},
"event": {
"type": "string",
"description": "engagement: page_engaged | page_visited | page_liked | page_messaged | page_cta_clicked | page_or_post_save | page_post_interaction — or ig_business_profile_all | ig_business_profile_engaged | ig_user_messaged_business | ig_business_profile_visit"
},
"ratio": {
"type": "number",
"description": "lookalike: 0.01–0.20 = the top 1%–20% most similar people (default 0.01)"
},
"pageId": {
"type": "string",
"description": "engagement: which connected Page (required only if the profile has several)"
},
"schema": {
"type": "array",
"items": {
"enum": [
"EMAIL",
"PHONE",
"FN",
"LN",
"FI",
"CT",
"ST",
"ZIP",
"COUNTRY",
"DOB",
"DOBY",
"GEN",
"MADID",
"EXTERN_ID"
],
"type": "string"
},
"description": "customerfile: the column names of rows, in order, e.g. [\"EMAIL\",\"PHONE\"]"
},
"source": {
"enum": [
"page",
"instagram"
],
"type": "string",
"description": "engagement: Facebook Page (default) or the linked Instagram business profile"
},
"country": {
"type": "string",
"description": "lookalike: REQUIRED 2-letter country you will run it in — Meta delivers a lookalike to the locations of the ad set that targets it, so target this country there"
},
"pixelId": {
"type": "string",
"description": "website: the Meta Pixel that sees the traffic"
},
"prefill": {
"type": "boolean",
"description": "website/engagement: seed it with activity from BEFORE the audience existed (default true)"
},
"audienceId": {
"type": "string",
"description": "customerfile: ADD these rows to this existing customer-list audience (from list_meta_audiences) instead of creating a new one"
},
"adAccountId": {
"type": "string",
"description": "ad account id (act_… or digits)"
},
"description": {
"type": "string",
"description": "optional free-text note stored with the audience"
},
"urlContains": {
"type": "string",
"description": "website: the URL fragment that defines the audience (your domain = all visitors)"
},
"lookalikeType": {
"enum": [
"similarity",
"reach"
],
"type": "string",
"description": "lookalike: similarity (tighter) or reach (broader) — default similarity"
},
"retentionDays": {
"type": "number",
"description": "how long someone stays in it — website max 180, engagement max 730 (default 30)"
},
"startingRatio": {
"type": "number",
"description": "lookalike: optional lower bound for a band (e.g. 0.01 with ratio 0.03 = the 1%–3% band) — at least 0.01 and less than ratio; not combinable with lookalikeType"
},
"sourceAudienceId": {
"type": "string",
"description": "lookalike: the existing audience to model (from list_meta_audiences)"
},
"customerFileSource": {
"enum": [
"USER_PROVIDED_ONLY",
"PARTNER_PROVIDED_ONLY",
"BOTH_USER_AND_PARTNER_PROVIDED"
],
"type": "string",
"description": "customerfile: REQUIRED attestation of where the list came from (customers gave it to you = USER_PROVIDED_ONLY)"
}
}
},
"annotations": {
"title": "Create a Meta custom audience or lookalike",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| the code from Events Manager > Test Events |
| hashExternalId | boolean | false keeps externalId as given, to match a pixel that sends it unhashed |
| limitedDataUse | string | off, on (Meta works out the US state) or a US state code such as ca; default is the brand setting |
{
"name": "send_meta_conversions",
"title": "Send conversions to a Meta pixel (Conversions API)",
"description": "Send SERVER events to the brand’s OWN Meta pixel (the Conversions API): Purchase, Lead, CompleteRegistration, AddToCart, InitiateCheckout, ViewContent, Contact, Subscribe or a custom name, for sales and sign-ups the browser pixel misses (a CRM deal, a phone order, a checkout the browser blocked). The pixel must be on one of the brand’s ticked ad accounts (list_meta_pixels); any other id is refused. PASS PLAIN VALUES (email, phone with country code, firstName, lastName, city, state, zip, country, dateOfBirth, externalId): Hermoso normalizes and SHA-256 hashes them per Meta’s rules, so never hash them yourself. clientIpAddress, clientUserAgent, fbc or fbclid, fbp and a Meta leadId go as given. A website event needs eventSourceUrl and clientUserAgent. Give every event an eventId (the same one the browser pixel sends) so Meta deduplicates it. Events up to 7 days old (62 for physical_store), up to 1,000 per call. testEventCode sends to Events Manager’s Test Events, and those events still count. The brand is responsible for its customers’ consent to share this data with Meta. RECEIVED IS NOT MATCHED: the reply reads back Meta’s events_received. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId",
"pixelId",
"events"
],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "each: eventName, actionSource (website, email, app, phone_call, chat, physical_store, system_generated, business_messaging, other), eventTime (unix seconds or ISO; default now), eventId, eventSourceUrl, plain identifiers (email, phone, firstName, lastName, city, state, zip, country, dateOfBirth, gender, externalId), clientIpAddress, clientUserAgent, fbc or fbclid, fbp, leadId, value + currency (required on Purchase), orderId, contentIds, contents [{id, quantity, itemPrice}], limitedDataUse"
},
"pixelId": {
"type": "string",
"description": "the pixel (dataset) id, or its exact name, from list_meta_pixels"
},
"adAccountId": {
"type": "string",
"description": "the ad account that owns the pixel, with or without act_"
},
"testEventCode": {
"type": "string",
"description": "the code from Events Manager > Test Events"
},
"hashExternalId": {
"type": "boolean",
"description": "false keeps externalId as given, to match a pixel that sends it unhashed"
},
"limitedDataUse": {
"type": "string",
"description": "off, on (Meta works out the US state) or a US state code such as ca; default is the brand setting"
}
}
},
"annotations": {
"title": "Send conversions to a Meta pixel (Conversions API)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| off, on, or a US state code |
{
"name": "set_meta_conversions_auto",
"title": "Automatic sending to a Meta pixel",
"description": "Read or change AUTOMATIC sending to the brand’s Meta pixel. Sources, each OFF by default: shopify (paid Shopify orders as Purchase, keyed by order id; waits on Shopify approving access to order details), metaLeads (Meta instant-form leads sent back as Lead), emailReplies (an email lead who replies, as Lead). Call with no arguments to read the setting and the last run. Turning a source ON needs confirm:true AND consent:true, after showing the user what is sent and that they are responsible for their customers’ consent. limitedDataUse sets Meta’s Limited Data Use for US state privacy laws. runNow:true sends now. An event is never sent twice, and a failed send is retried. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"runNow": {
"type": "boolean"
},
"confirm": {
"type": "boolean"
},
"consent": {
"type": "boolean"
},
"pixelId": {
"type": "string"
},
"sources": {
"type": "object",
"properties": {
"shopify": {
"type": "boolean"
},
"metaLeads": {
"type": "boolean"
},
"emailReplies": {
"type": "boolean"
}
}
},
"adAccountId": {
"type": "string"
},
"everyMinutes": {
"type": "number",
"description": "15 to 1440, default 60"
},
"leadEventName": {
"type": "string",
"description": "the event name leads are sent as, default Lead"
},
"limitedDataUse": {
"type": "string",
"description": "off, on, or a US state code"
}
}
},
"annotations": {
"title": "Automatic sending to a Meta pixel",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| Meta question types as strings ("FULL_NAME","EMAIL","PHONE","COMPANY_NAME","JOB_TITLE","CITY","ZIP","WORK_EMAIL","DATE_TIME"…) or objects {type,label,key,options[]} for CUSTOM |
| contextCard | object | {title, bullets[], body, buttonText, style} — the screen shown before the questions |
| blockNonTargeted | boolean | true = hide the form from people the ad's targeting does not match |
| privacyPolicyUrl * | string | REQUIRED — the business’s privacy policy URL (https://…) |
| followUpActionUrl | string | https URL the person is sent to after submitting the form |
| trackingParameters | object | extra tracking parameters for the form, as a key/value object |
| isOptimizedForQuality | boolean | adds a review-and-confirm step: fewer leads, better ones |
| privacyPolicyLinkText | string | link text shown for the privacy policy URL on the form |
{
"name": "create_meta_lead_form",
"title": "Create a Meta instant (lead) form",
"description": "Create an INSTANT LEAD FORM on a connected Facebook Page — the in-app form a Meta lead ad opens instead of sending someone to a website, so a person can sign up without leaving the app. `questions` takes Meta’s own type names, e.g. [\"FULL_NAME\",\"EMAIL\",\"PHONE\"]; for anything bespoke pass {type:\"CUSTOM\", label:\"What size fleet do you run?\"} and add options:[…] to make it a dropdown. Ask FEWER questions than you think — every extra field costs completions. privacyPolicyUrl is REQUIRED: the form collects real people’s contact details and has to say where their data goes. Optional: headline, contextCard {title, bullets[], buttonText} for the why-should-I screen, thankYou {title, body, buttonType, buttonText, websiteUrl}, locale, followUpActionUrl. CREATING A FORM SPENDS NOTHING and publishes nothing — it is invisible to the public until an ad points at it (create_meta_ad with objective:\"OUTCOME_LEADS\" + leadFormId), and that ad is created PAUSED. Read the submissions with read_meta_leads. NEEDS pages_manage_ads — see list_meta_lead_forms for what to do if Meta refuses it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"questions",
"privacyPolicyUrl"
],
"properties": {
"name": {
"type": "string",
"description": "internal name for the form — not shown to the person filling it in"
},
"locale": {
"type": "string",
"description": "form language, e.g. EN_US, ES_ES, PT_BR, DE_DE"
},
"pageId": {
"type": "string",
"description": "which connected Page (required only if the profile has more than one)"
},
"headline": {
"type": "string",
"description": "headline shown above the questions"
},
"thankYou": {
"type": "object",
"description": "{title, body, buttonType, buttonText, websiteUrl} — shown after submitting",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"questions": {
"type": "array",
"items": {},
"description": "Meta question types as strings (\"FULL_NAME\",\"EMAIL\",\"PHONE\",\"COMPANY_NAME\",\"JOB_TITLE\",\"CITY\",\"ZIP\",\"WORK_EMAIL\",\"DATE_TIME\"…) or objects {type,label,key,options[]} for CUSTOM"
},
"contextCard": {
"type": "object",
"description": "{title, bullets[], body, buttonText, style} — the screen shown before the questions",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"blockNonTargeted": {
"type": "boolean",
"description": "true = hide the form from people the ad's targeting does not match"
},
"privacyPolicyUrl": {
"type": "string",
"description": "REQUIRED — the business’s privacy policy URL (https://…)"
},
"followUpActionUrl": {
"type": "string",
"description": "https URL the person is sent to after submitting the form"
},
"trackingParameters": {
"type": "object",
"description": "extra tracking parameters for the form, as a key/value object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"isOptimizedForQuality": {
"type": "boolean",
"description": "adds a review-and-confirm step: fewer leads, better ones"
},
"privacyPolicyLinkText": {
"type": "string",
"description": "link text shown for the privacy policy URL on the form"
}
}
},
"annotations": {
"title": "Create a Meta instant (lead) form",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "archive_meta_lead_form",
"title": "Archive (or restore) a Meta instant form",
"description": "Retire an INSTANT LEAD FORM so it stops collecting — the only way to tidy a Page’s Instant Forms list, because META DOES NOT SUPPORT DELETING A LEAD FORM AT ALL, only archiving it. This is REVERSIBLE: pass status:\"ACTIVE\" to switch an archived form back on. Archiving publishes nothing, spends nothing and DELETES NO LEADS — everything the form already collected stays readable with read_meta_leads. CALL IT WITHOUT confirm FIRST: nothing changes and you get the form’s real name, current status and lead count READ BACK FROM META, so you can show the user exactly which form they are about to retire rather than echoing back an id they may have mistyped; then call again with confirm:true. WARNING WORTH RELAYING BEFORE ARCHIVING: if a live ad still points at this form, its button will open nothing — check the ad first. The new status is READ BACK from Meta after the change, so the summary reports what Meta actually stored and says plainly when the change did NOT take; print it verbatim rather than assuming a successful call means a changed form.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"formId"
],
"properties": {
"formId": {
"type": "string",
"description": "the form to retire (from list_meta_lead_forms)"
},
"pageId": {
"type": "string",
"description": "which connected Page (required only if the profile has more than one)"
},
"status": {
"enum": [
"ARCHIVED",
"ACTIVE"
],
"type": "string",
"description": "default ARCHIVED; \"ACTIVE\" restores a form that was archived"
},
"confirm": {
"type": "boolean",
"description": "must be true to actually change it — without it nothing changes and you get the read-back to show the user"
}
}
},
"annotations": {
"title": "Archive (or restore) a Meta instant form",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| pageId | string | which connected Page (required only if the profile has more than one) |
| redact | boolean | mask the contact values, keeping counts / dates / attribution — use when the user only wants to know the form is working |
{
"name": "read_meta_leads",
"title": "Read Meta lead-ad submissions",
"description": "Read the LEADS a form (formId) or a single ad (adId) has collected — the real answers people submitted, fetched live from Meta. THIS RETURNS REAL PEOPLE’S CONTACT DETAILS (names, emails, phone numbers). Treat it as the user’s own customer data: show only what they asked for, never post a lead list anywhere public, and do not copy it into an unrelated document. Hermoso PULLS these on demand and keeps no copy — nothing here watches, polls or files leads anywhere, so if the user wants this batch kept, put it somewhere THEY own in the same turn (a Google Sheet with create_sheet / append_to_sheet, a doc, or their own CRM). Meta makes each lead available for 90 days after it is submitted; anything older is handled in Meta’s own Leads Center and CRM integrations. Narrow with since/until (ISO dates), page with cursor, or pass redact:true to see counts, timestamps and which ad produced each lead WITHOUT the personal details. NEEDS leads_retrieval — see list_meta_lead_forms for what to do if Meta refuses it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"adId": {
"type": "string",
"description": "just the leads this ONE ad produced (from list_meta_ads) — pass this OR formId, never both"
},
"limit": {
"type": "number",
"description": "1–500, default 100"
},
"since": {
"type": "string",
"description": "ISO date (2026-08-01) or epoch ms — only leads created after this"
},
"until": {
"type": "string",
"description": "ISO date or epoch ms — only leads created before this"
},
"cursor": {
"type": "string",
"description": "paging cursor returned by a previous call"
},
"formId": {
"type": "string",
"description": "every lead this form has ever collected (from list_meta_lead_forms)"
},
"pageId": {
"type": "string",
"description": "which connected Page (required only if the profile has more than one)"
},
"redact": {
"type": "boolean",
"description": "mask the contact values, keeping counts / dates / attribution — use when the user only wants to know the form is working"
}
}
},
"annotations": {
"title": "Read Meta lead-ad submissions",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "delete_meta_audience",
"title": "Delete a Meta custom audience",
"description": "PERMANENTLY delete a Meta custom audience or lookalike. Meta’s own warning: \"When you delete a custom audience, it will be permanently removed from your account and your ads using it will stop running.\" An audience is the one ad object whose value is its CONTENTS — a big retargeting list cannot be rebuilt, it has to re-accumulate — so CALL IT WITHOUT confirm FIRST: nothing is deleted, and you get its real name, how many people are in it and which lookalikes were built from it, read live from Meta. Show the user exactly that. A populated audience, or one with lookalikes, then needs confirmName set to its exact name (and confirmChildren set to the lookalike count when there are any). META REFUSES to delete an audience that has lookalikes derived from it (error 2656) — delete those first; the unconfirmed call names them. Pass adAccountId + audienceId (from list_meta_audiences). The result is READ BACK from Meta: it says deleted only when the id no longer resolves.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId",
"audienceId"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "REQUIRED true — the deletion is permanent"
},
"audienceId": {
"type": "string",
"description": "the custom audience id (from list_meta_audiences)"
},
"adAccountId": {
"type": "string",
"description": "ad account id (act_… or digits)"
},
"confirmName": {
"type": "string",
"description": "the audience’s EXACT name, required when it holds people or has lookalikes"
},
"confirmChildren": {
"type": "number",
"description": "the exact number of derived lookalikes reported by the unconfirmed call, required when it has any"
}
}
},
"annotations": {
"title": "Delete a Meta custom audience",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| string |
| dry run for TikTok and Reddit: the test code from their Events Manager |
| destinations | array | send to these instead of the saved ones: saved destination ids, or destination objects shaped like conversion_destinations action add |
| validateOnly | boolean | dry run: platforms with a validate mode check the events and record nothing; the rest are skipped |
| carryClickIds | boolean | false stops click ids from the same person’s earlier page views riding along |
{
"name": "send_conversion_event",
"title": "Send a conversion to every ad platform at once",
"description": "Send ONE conversion event (a sale, sign-up, lead or your own event) to EVERY ad platform conversions API the brand saved as a destination (conversion_destinations), in one call: Meta, TikTok, LinkedIn, Snapchat, Reddit, Pinterest, X, Microsoft Advertising, ChatGPT Ads, AppLovin and Amazon Ads. Pass PLAIN identifiers: each platform’s sender normalises and SHA-256 hashes them to that platform’s own rules, and every platform receives the same eventId as its dedup key (match it to the browser pixel’s). Click ids in sourceUrl (gclid, fbclid, ttclid, twclid, msclkid, li_fat_id …) are read automatically, and a click id the same person carried on an earlier stored page view rides along with a server-side sale. Each destination answers on its own, read back from what the PLATFORM said (accepted, refused, skipped and why); one failing never blocks another. DRY RUN: validateOnly:true and/or testCode reach only the platforms with a mode that records nothing (Pinterest, Snapchat and ChatGPT Ads validate; TikTok and Reddit take a test code from their Events Manager) and skip the rest by name, so nothing real is counted. Meta keeps events sent with a test code, so a dry run never reaches Meta. forward:false only RECORDS the events (page views and other touches for journeys) and sends them nowhere. Every non-test event is stored with its identifiers hashed, for conversion_insights and campaign_profit. Google Ads is refused by name: Google no longer accepts conversion uploads from new integrations through its Ads API. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"events"
],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"eventName",
"eventId"
],
"properties": {
"user": {
"type": "object",
"properties": {
"dob": {
"type": "string",
"description": "date of birth YYYY-MM-DD"
},
"zip": {
"type": "string",
"description": "postal code"
},
"city": {
"type": "string",
"description": "city"
},
"email": {
"type": "string",
"description": "plain email; each platform hashes it to its own rules on Hermoso’s server, never hash it yourself"
},
"phone": {
"type": "string",
"description": "with its country code, e.g. +14155550100"
},
"state": {
"type": "string",
"description": "state or region code"
},
"gender": {
"type": "string",
"description": "f or m"
},
"leadId": {
"type": "string",
"description": "a Meta or TikTok lead id, for CRM lead events"
},
"country": {
"type": "string",
"description": "2-letter country code"
},
"clickIds": {
"type": "object",
"description": "ad click ids captured on the landing page: fbc, fbp, gclid, gbraid, wbraid, ttclid, ttp, li_fat_id, epik, rdt_cid, twclid, msclkid, sccid, oppref, aleid, axwrt. Ids in sourceUrl are read automatically",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"lastName": {
"type": "string",
"description": "last name"
},
"firstName": {
"type": "string",
"description": "first name"
},
"ipAddress": {
"type": "string",
"description": "visitor IP"
},
"userAgent": {
"type": "string",
"description": "visitor browser user agent"
},
"visitorId": {
"type": "string",
"description": "your anonymous visitor / cookie id: ties page views to a later sale for journeys and paths"
},
"externalId": {
"type": "string",
"description": "your own customer id (CRM / user id)"
}
},
"description": "who converted: send every identifier you have",
"additionalProperties": {}
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "sku or product id"
},
"name": {
"type": "string",
"description": "product name"
},
"price": {
"type": "number",
"description": "unit price"
},
"category": {
"type": "string",
"description": "category"
},
"quantity": {
"type": "number",
"description": "units"
}
}
},
"description": "products in the order"
},
"value": {
"type": "number",
"description": "conversion value"
},
"consent": {
"type": "object",
"properties": {
"adUserData": {
"enum": [
"GRANTED",
"DENIED"
],
"type": "string",
"description": "consent to use the person’s data for ads"
},
"adPersonalization": {
"enum": [
"GRANTED",
"DENIED"
],
"type": "string",
"description": "consent to personalised ads"
}
},
"description": "EU/UK consent signals, forwarded where a platform takes them"
},
"eventId": {
"type": "string",
"description": "the ONE dedup id every platform receives: your order or lead id, the same one the browser pixel sends"
},
"campaign": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "platform campaign id"
},
"name": {
"type": "string",
"description": "campaign name"
},
"platform": {
"type": "string",
"description": "meta, tiktok, linkedin …"
}
},
"description": "the ad campaign behind it, when you know it; counts the sale toward that campaign in campaign_profit"
},
"currency": {
"type": "string",
"description": "ISO code, e.g. USD; needed with a value"
},
"referrer": {
"type": "string",
"description": "the referring page, for organic and referral touches"
},
"eventName": {
"type": "string",
"description": "Purchase, Lead, QualifiedLead, CompleteRegistration, AddToCart, InitiateCheckout, AddPaymentInfo, Subscribe, StartTrial, ViewContent, Search, Contact, SubmitApplication, Schedule, PageView, AddToWishlist, or your own name"
},
"eventTime": {
"type": [
"number",
"string"
],
"description": "unix seconds, ms or ISO; default now"
},
"sourceUrl": {
"type": "string",
"description": "the page URL; its gclid / fbclid / ttclid / utm_* parameters are read"
},
"actionSource": {
"enum": [
"web",
"app",
"offline",
"crm",
"phone_call",
"system_generated",
"business_messaging",
"email",
"chat",
"other"
],
"type": "string",
"description": "where it happened; default web when sourceUrl is given, else other"
},
"limitedDataUse": {
"type": "boolean",
"description": "the person opted out of data sale (US state privacy laws)"
}
},
"additionalProperties": {}
},
"description": "1 to 1,000 events"
},
"source": {
"type": "string",
"description": "where these came from, e.g. crm, shopify, stripe (shown on stored events); default api"
},
"forward": {
"type": "boolean",
"description": "false records the events for journeys and sends them nowhere"
},
"testCode": {
"type": "string",
"description": "dry run for TikTok and Reddit: the test code from their Events Manager"
},
"destinations": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
]
},
"description": "send to these instead of the saved ones: saved destination ids, or destination objects shaped like conversion_destinations action add"
},
"validateOnly": {
"type": "boolean",
"description": "dry run: platforms with a validate mode check the events and record nothing; the rest are skipped"
},
"carryClickIds": {
"type": "boolean",
"description": "false stops click ids from the same person’s earlier page views riding along"
}
}
},
"annotations": {
"title": "Send a conversion to every ad platform at once",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| eventNames | array | the events this destination takes; omit for every event |
| adAccountId | string | the ad account, where the platform has several shared |
| countryCode | string | Amazon default country |
| eventSource | string | TikTok; default web |
| advertiserId | string | TikTok advertiser id |
| conversionId | string | LinkedIn conversion rule id |
| destinationId | string | remove: the destination id |
| eventSourceId | string | TikTok pixel code, offline or CRM event set id |
| conversionName | string | Microsoft offline conversion goal name |
| pixelSnippetId | string | ChatGPT Ads pixel_id |
| amazonProfileId | string | Amazon Ads profile |
{
"name": "conversion_destinations",
"title": "Ad platforms a conversion goes to",
"description": "The ad platform conversions APIs send_conversion_event sends to, per brand. action list (default) shows them plus what each platform needs; add saves one: platform (meta, tiktok, linkedin, snapchat, reddit, pinterest, x, microsoft, chatgpt, applovin, amazon) with its ids (Meta pixelId + adAccountId; TikTok eventSourceId = the pixel CODE, eventSource web/offline/crm, advertiserId; LinkedIn conversionId of a Conversions API rule; Snapchat pixelId; Reddit pixelId; Pinterest adAccountId; X pixelId and eventId; Microsoft conversionName of an OFFLINE goal; ChatGPT Ads pixelSnippetId + apiKey, the Conversions API key, stored encrypted and never shown again; Amazon amazonProfileId + countryCode). eventNames limits which events it takes (LinkedIn and Microsoft need it: their rule or goal decides the type); eventMap renames one of yours to the platform’s, e.g. {\"QualifiedLead\":\"CUSTOM_EVENT_1\"}. Meta pixels, Amazon profiles and LinkedIn rules are checked against the brand’s own account when added; the rest on the first send. action remove takes destinationId. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"label": {
"type": "string",
"description": "add: your name for it"
},
"action": {
"enum": [
"list",
"add",
"remove"
],
"type": "string",
"description": "default list"
},
"apiKey": {
"type": "string",
"description": "ChatGPT Ads Conversions API key"
},
"eventId": {
"type": "string",
"description": "X conversion event id"
},
"pixelId": {
"type": "string",
"description": "Meta / Snapchat / Reddit / X pixel id"
},
"eventMap": {
"type": "object",
"description": "your event name to this platform’s event name",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"platform": {
"type": "string",
"description": "add: meta, tiktok, linkedin, snapchat, reddit, pinterest, x, microsoft, chatgpt, applovin or amazon"
},
"eventNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "the events this destination takes; omit for every event"
},
"adAccountId": {
"type": "string",
"description": "the ad account, where the platform has several shared"
},
"countryCode": {
"type": "string",
"description": "Amazon default country"
},
"eventSource": {
"enum": [
"web",
"offline",
"crm"
],
"type": "string",
"description": "TikTok; default web"
},
"advertiserId": {
"type": "string",
"description": "TikTok advertiser id"
},
"conversionId": {
"type": "string",
"description": "LinkedIn conversion rule id"
},
"destinationId": {
"type": "string",
"description": "remove: the destination id"
},
"eventSourceId": {
"type": "string",
"description": "TikTok pixel code, offline or CRM event set id"
},
"conversionName": {
"type": "string",
"description": "Microsoft offline conversion goal name"
},
"pixelSnippetId": {
"type": "string",
"description": "ChatGPT Ads pixel_id"
},
"amazonProfileId": {
"type": "string",
"description": "Amazon Ads profile"
}
}
},
"annotations": {
"title": "Ad platforms a conversion goes to",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| update: its currency |
| platform | string | events sent to this platform |
| eventName | string | filter, or which copy of an eventId |
| campaignId | string | events tied to this campaign |
| deliveryStatus | string | with platform: its latest send |
{
"name": "conversion_events",
"title": "Stored conversion events",
"description": "The conversion events send_conversion_event stored for this brand, newest first, with each one’s delivery per platform (sent, failed or skipped, and why). action list (default) filters by from / to (YYYY-MM-DD), eventName, source, platform, deliveryStatus (sent | failed), fromAd and campaignId, paged with cursor; action get takes eventId; update sets a stored event’s value (and currency) for journeys, LTV and profit; retract removes it from Hermoso’s records. Identifiers are stored hashed and never returned; test and validate-only sends are never stored. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"type": "string",
"description": "YYYY-MM-DD"
},
"from": {
"type": "string",
"description": "YYYY-MM-DD"
},
"limit": {
"type": "number",
"description": "1-200, default 50"
},
"value": {
"type": "number",
"description": "update: the new value"
},
"action": {
"enum": [
"list",
"get",
"update",
"retract"
],
"type": "string",
"description": "default list (get when eventId is given)"
},
"cursor": {
"type": "string",
"description": "nextCursor from the last page"
},
"fromAd": {
"type": "boolean",
"description": "only events from an ad click (true) or not (false)"
},
"source": {
"type": "string",
"description": "e.g. api, crm, stripe"
},
"eventId": {
"type": "string",
"description": "get / update / retract"
},
"currency": {
"type": "string",
"description": "update: its currency"
},
"platform": {
"type": "string",
"description": "events sent to this platform"
},
"eventName": {
"type": "string",
"description": "filter, or which copy of an eventId"
},
"campaignId": {
"type": "string",
"description": "events tied to this campaign"
},
"deliveryStatus": {
"enum": [
"sent",
"failed"
],
"type": "string",
"description": "with platform: its latest send"
}
}
},
"annotations": {
"title": "Stored conversion events",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}| string |
| journey: an email, phone, external id or a customer key from view customers |
| fromMonth | string | ltv: YYYY-MM |
| visitorId | string | journey: an anonymous visitor id |
| externalId | string | journey: your customer id |
{
"name": "conversion_insights",
"title": "Customer journeys, touch paths and lifetime value",
"description": "Read the brand’s stored conversion events as: journey — ONE customer’s every touch and conversion in order, with lifetime value (pass email, phone, externalId, visitorId or a customer key); customers — everyone who converted in the window with their path, conversions and LTV; paths — the most common touch sequences before a conversion (an ad click on Meta, then organic search, and so on); ltv — buyers by first-purchase month and first channel, revenue at months 0, 1, 3, 6 and 12; accuracy — per destination, how many real sales were sent, accepted, failed or never sent and why; overview (default). People are tied together across events by any identifier they share (a visitorId on a page view and an email on the sale). Money stays per currency. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"type": "string",
"description": "YYYY-MM-DD"
},
"days": {
"type": "number",
"description": "the last N days instead of from"
},
"from": {
"type": "string",
"description": "YYYY-MM-DD"
},
"view": {
"enum": [
"overview",
"journey",
"customers",
"paths",
"ltv",
"accuracy"
],
"type": "string",
"description": "default overview, journey when a customer is named"
},
"email": {
"type": "string",
"description": "journey: the customer’s email"
},
"limit": {
"type": "number",
"description": "rows"
},
"phone": {
"type": "string",
"description": "journey: the customer’s phone"
},
"toMonth": {
"type": "string",
"description": "ltv: YYYY-MM"
},
"customer": {
"type": "string",
"description": "journey: an email, phone, external id or a customer key from view customers"
},
"fromMonth": {
"type": "string",
"description": "ltv: YYYY-MM"
},
"visitorId": {
"type": "string",
"description": "journey: an anonymous visitor id"
},
"externalId": {
"type": "string",
"description": "journey: your customer id"
}
}
},
"annotations": {
"title": "Customer journeys, touch paths and lifetime value",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| which revenue sources to use; default all three, in that order |
{
"name": "campaign_profit",
"title": "Profit per ad campaign",
"description": "Profit per campaign across every connected ad platform: each campaign’s spend read live from the platform, joined to the brand’s own sales. Revenue per campaign comes from ONE source, strongest first: results you uploaded (upload_campaign_results), else conversion events sent through send_conversion_event and credited to campaigns under `model` (last_click default, first_touch, linear, position_based, time_decay), else Shopify / Stripe orders matched by utm_campaign. Never summed across sources, so one sale is never counted twice. Each row: spend, sales, revenue, profit (set_profit_settings), POAS, profit after ads, ROAS, cost per sale, the platform’s own reported conversions beside it, and which source the revenue came from. Money stays per currency; a platform that could not be read is named, never shown as zero. from / to (YYYY-MM-DD) or days, up to 92; platforms narrows it. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"to": {
"type": "string",
"description": "YYYY-MM-DD, default today"
},
"days": {
"type": "number",
"description": "the last N days; default 30"
},
"from": {
"type": "string",
"description": "YYYY-MM-DD"
},
"model": {
"enum": [
"last_click",
"first_touch",
"linear",
"position_based",
"time_decay"
],
"type": "string",
"description": "how event revenue is credited to campaigns; default last_click"
},
"platforms": {
"type": "array",
"items": {
"type": "string"
},
"description": "meta, google_ads, tiktok_ads, linkedin, microsoft_ads, pinterest_ads, reddit_ads, snapchat_ads, x_ads, openai_ads, apple_ads; default every connected one"
},
"includeIdle": {
"type": "boolean",
"description": "true also lists campaigns with no spend and no sales"
},
"revenueFrom": {
"type": "array",
"items": {
"enum": [
"uploads",
"events",
"store"
],
"type": "string"
},
"description": "which revenue sources to use; default all three, in that order"
}
}
},
"annotations": {
"title": "Profit per ad campaign",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| url | string | verify: the page to read; default the brand’s website |
| action | string | default get; server_key makes a new server key (the old one stops working); stripe saves (signingSecret) or removes the Stripe webhook |
| render | boolean | verify: false skips the browser render |
| forward | boolean | update: false records conversions but sends them to no ad platform |
| honorDnt | boolean | update: a browser’s Do Not Track signal stops the tag (default false) |
| honorGpc | boolean | update: a browser’s Global Privacy Control signal refuses ad use (default true) |
| testMode | string | update: "validate", a TikTok / Reddit test code, or "off" |
| autoTrack | any | update: automatic events, each off by default; true turns all on |
| conversions | object | update: the brand’s own events that count as conversions; null for one removes it |
| linkDomains | array | update: the brand’s other sites; links to them carry the visit across (cross-domain) |
| forwardEvents | any | update: the events sent to ad platforms; null = every conversion plus the checkout steps |
| signingSecret | string | stripe: the endpoint’s signing secret (whsec_…); omit to remove the webhook |
| allowedDomains | array | update: only pages on these hosts (and subdomains) count; empty = any |
| consentDefault | string | update: what applies before the site’s banner says anything |
| waitForConsent | boolean | update: true sends nothing until the site grants analytics_storage |
| replaceConversions | boolean | update: true replaces the whole list instead of merging |
{
"name": "hermoso_tag",
"title": "The brand’s Hermoso tag (website tracking snippet)",
"description": "The brand’s HERMOSO TAG: ONE first-party snippet per brand for its website. It records page views, each visit’s UTM parameters and ad click ids (gclid, fbclid, ttclid, msclkid, li_fat_id, ScCid, rdt_cid, epik …), the referrer, and conversions the site reports (hermoso('track', 'Lead' | 'Purchase' | your own event, {value, currency, orderId, email …})), ties a visitor to a person when the site calls hermoso('identify', {email, phone}) (hashed before storage), and FORWARDS conversions server-side to every conversions destination the brand saved (conversion_destinations), each with one dedup eventId (a Purchase uses its orderId, so a browser pixel firing the same id is deduplicated). action get (default) returns the snippet, the install status (last event seen, from which hosts) and the settings; it MAKES the brand’s tag on first call. action update changes settings: consentDefault, waitForConsent, honorGpc, honorDnt, forward, forwardEvents, allowedDomains, spa, testMode (\"validate\" or a TikTok / Reddit test code sends conversions as a dry run; \"off\" ends it) and conversions (define the brand’s own events as conversions, each sent to the platforms as a standard event, e.g. {\"quote_requested\": {\"as\": \"Lead\"}}). action verify reads the site (url, default the brand’s website) for the snippet and reports the last event seen. autoTrack {forms, outbound, downloads, scroll} turns on automatic events (form submits as leads, outbound / phone / email clicks, file downloads, scroll depth); linkDomains lists the brand’s other sites so a visit carries on across them. action server_key makes a server key (shown once) for POST /htag/s, so a backend sends purchases with the same dedup ids; action stripe with signingSecret (whsec_…) turns a Stripe webhook into Purchases through the tag. The tag also runs from the brand’s own domain behind a proxy (forward /htag.js and /htag/e, pass X-Hermoso-Client-IP) so ad blockers do not drop it. CONSENT: the tag follows the consent the site gives it (hermoso('consent', …) or Google Consent Mode v2) and the brand’s defaults; THE WEBSITE OWNER IS RESPONSIBLE for the site’s consent banner and privacy notice. To put it on the site use install_hermoso_tag. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"spa": {
"type": "boolean",
"description": "update: count a page view on each in-page navigation (default true)"
},
"url": {
"type": "string",
"description": "verify: the page to read; default the brand’s website"
},
"action": {
"enum": [
"get",
"update",
"verify",
"server_key",
"stripe"
],
"type": "string",
"description": "default get; server_key makes a new server key (the old one stops working); stripe saves (signingSecret) or removes the Stripe webhook"
},
"render": {
"type": "boolean",
"description": "verify: false skips the browser render"
},
"forward": {
"type": "boolean",
"description": "update: false records conversions but sends them to no ad platform"
},
"honorDnt": {
"type": "boolean",
"description": "update: a browser’s Do Not Track signal stops the tag (default false)"
},
"honorGpc": {
"type": "boolean",
"description": "update: a browser’s Global Privacy Control signal refuses ad use (default true)"
},
"testMode": {
"type": "string",
"description": "update: \"validate\", a TikTok / Reddit test code, or \"off\""
},
"autoTrack": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "object",
"properties": {
"forms": {
"type": "boolean"
},
"scroll": {
"type": "boolean"
},
"outbound": {
"type": "boolean"
},
"downloads": {
"type": "boolean"
}
}
}
],
"description": "update: automatic events, each off by default; true turns all on"
},
"conversions": {
"type": "object",
"description": "update: the brand’s own events that count as conversions; null for one removes it",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "object",
"required": [
"as"
],
"properties": {
"as": {
"type": "string",
"description": "Purchase, Lead, CompleteRegistration … or \"custom\" to send under its own name"
},
"value": {
"type": "number",
"description": "default value when the site sends none"
},
"currency": {
"type": "string",
"description": "ISO code, needed with value"
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
}
},
"linkDomains": {
"type": "array",
"items": {
"type": "string"
},
"description": "update: the brand’s other sites; links to them carry the visit across (cross-domain)"
},
"forwardEvents": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "update: the events sent to ad platforms; null = every conversion plus the checkout steps"
},
"signingSecret": {
"type": "string",
"description": "stripe: the endpoint’s signing secret (whsec_…); omit to remove the webhook"
},
"allowedDomains": {
"type": "array",
"items": {
"type": "string"
},
"description": "update: only pages on these hosts (and subdomains) count; empty = any"
},
"consentDefault": {
"enum": [
"granted",
"denied"
],
"type": "string",
"description": "update: what applies before the site’s banner says anything"
},
"waitForConsent": {
"type": "boolean",
"description": "update: true sends nothing until the site grants analytics_storage"
},
"replaceConversions": {
"type": "boolean",
"description": "update: true replaces the whole list instead of merging"
}
}
},
"annotations": {
"title": "The brand’s Hermoso tag (website tracking snippet)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| google_tag_manager: the container public id (GTM-…), when it is already live |
{
"name": "install_hermoso_tag",
"title": "Put the Hermoso tag on the website",
"description": "Put the brand’s HERMOSO TAG (hermoso_tag) on its website through the site connection it has: google_tag_manager (a Custom HTML tag on every page, staged, live with publish:true through the Tag Manager publish confirmation), wordpress (a block in the theme footer, or a custom HTML widget, read back; a site that strips scripts for the connected user is undone and answered with paste steps), shopify (Hermoso’s app pixel in Shopify customer events, which also records checkout purchases) or manual (the snippet and where to paste it in Webflow, Wix, Squarespace, Framer …). site omitted = the best one connected. WITHOUT confirm:true NOTHING IS WRITTEN: the reply says what would change; show the user, get a yes, call again with confirm:true. remove:true uninstalls what Hermoso added. This is NOT install_tracking_tag, which installs ad platforms’ own pixels (Meta Pixel, TikTok Pixel …). Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"site": {
"enum": [
"google_tag_manager",
"wordpress",
"shopify",
"manual"
],
"type": "string",
"description": "default the best connected site"
},
"remove": {
"type": "boolean",
"description": "true uninstalls what Hermoso added"
},
"confirm": {
"type": "boolean",
"description": "true writes; without it nothing changes"
},
"publish": {
"type": "boolean",
"description": "google_tag_manager: publish the container so it reaches visitors"
},
"gtmWorkspace": {
"type": "string",
"description": "google_tag_manager: the workspace"
},
"containerPath": {
"type": "string",
"description": "google_tag_manager: the container, when several are ticked"
},
"confirmPublicId": {
"type": "string",
"description": "google_tag_manager: the container public id (GTM-…), when it is already live"
}
}
},
"annotations": {
"title": "Put the Hermoso tag on the website",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| platform |
| string |
| sync: where to send |
| notEvents | array | events none of which happened (e.g. Purchase) |
| segmentId | string | save (edit), delete, sync: the segment |
| audienceId | string | sync: the audience / customer list to fill (Meta: omit to make a new one) |
| customerId | string | sync to Google Ads: the account, when several |
| withinDays | number | 1-180, default 30 |
| acceptTerms | boolean | sync to Google Ads: the advertiser accepted Google’s Customer Match terms |
| adAccountId | string | sync: the ad account (Meta needs it) |
| audienceName | string | sync to Meta without audienceId: the new audience’s name |
{
"name": "hermoso_tag_audiences",
"title": "Audiences from your website visitors",
"description": "AUDIENCES FROM THE BRAND’S WEBSITE VISITORS, seen by the Hermoso tag (hermoso_tag). A segment is visitors who visited page paths (visited, prefixes such as \"/pricing\"), did ANY of some events (events, e.g. [\"AddToCart\"]) and NONE of others (notEvents, e.g. [\"Purchase\"]) within withinDays (1-180, default 30). action list (default) shows the segments with how many visitors match, how many are identified (the site gave an email or phone through hermoso('identify') or a form) and how many allowed ad use; preview counts a rule set without saving; save stores one (pass segmentId to edit it); delete removes one (confirm:true). action sync fills a customer-list audience: platform meta (adAccountId; a NEW audience unless audienceId), google_ads (audienceId = a Customer Match list from google_ads_customer_lists, and acceptTerms:true once the advertiser accepts Google’s Customer Match terms), snapchat_ads, pinterest_ads or x_ads (each with the audienceId to fill). Only IDENTIFIED people whose LATEST consent allowed ad use are sent, as SHA-256 hashes made to that platform’s own rule; uploads add people and never remove anyone. WITHOUT confirm:true sync sends nothing and says exactly what it would send: show the user, then call again with confirm:true. Microsoft, Reddit, TikTok and LinkedIn are named with the reason they are not sent. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"description": "save / preview: the segment’s name"
},
"action": {
"enum": [
"list",
"preview",
"save",
"delete",
"sync"
],
"type": "string",
"description": "default list"
},
"events": {
"type": "array",
"items": {
"type": "string"
},
"description": "events, any of (Lead, AddToCart, your own …)"
},
"confirm": {
"type": "boolean",
"description": "sync / delete: true does it; without it nothing changes"
},
"visited": {
"type": "array",
"items": {
"type": "string"
},
"description": "page paths (prefixes), any of"
},
"platform": {
"enum": [
"meta",
"google_ads",
"snapchat_ads",
"pinterest_ads",
"x_ads"
],
"type": "string",
"description": "sync: where to send"
},
"notEvents": {
"type": "array",
"items": {
"type": "string"
},
"description": "events none of which happened (e.g. Purchase)"
},
"segmentId": {
"type": "string",
"description": "save (edit), delete, sync: the segment"
},
"audienceId": {
"type": "string",
"description": "sync: the audience / customer list to fill (Meta: omit to make a new one)"
},
"customerId": {
"type": "string",
"description": "sync to Google Ads: the account, when several"
},
"withinDays": {
"type": "number",
"description": "1-180, default 30"
},
"acceptTerms": {
"type": "boolean",
"description": "sync to Google Ads: the advertiser accepted Google’s Customer Match terms"
},
"adAccountId": {
"type": "string",
"description": "sync: the ad account (Meta needs it)"
},
"audienceName": {
"type": "string",
"description": "sync to Meta without audienceId: the new audience’s name"
}
}
},
"annotations": {
"title": "Audiences from your website visitors",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| string | link / record: the buyer’s email (stored hashed; used for the contact) |
| limit | number | answers: 1-200, default 50 |
| value | number | link / record: the order total |
| accent | ["string","null"] | set: the hosted page’s button colour, hex; null for the default |
| action | string | default get |
| answer | string | record: an option id or label, or the buyer’s own words |
| rotate | boolean | secret: true makes a new secret |
| source | string | answers: only this door |
| channel | string | answers: only this channel |
| enabled | boolean | set: true turns the survey on everywhere (Shopify block, hosted page, webhook) |
| options | array | set: 2-20 answers, replaces the list |
| orderId | string | link / record: the order (a Shopify gid, or the store’s own order number) |
| shuffle | boolean | set: shuffle the answers per buyer (default true; a free-text answer stays last) |
| currency | string | three letters, e.g. USD |
| optionId | string |
| question | string | set: the question, up to 160 characters |
| thankYou | string | set: the line shown after answering |
| otherText | string |
| writeToOrder | boolean | set: write the answer onto the Shopify order (default true) |
| writeToContact | boolean | set: save the answer on the brand’s contact for that email (default true) |
{
"name": "post_purchase_survey",
"title": "Post-purchase survey",
"description": "POST-PURCHASE SURVEY, \"How did you hear about us?\": what buyers SAY brought them, beside what tracking saw. Asked in three places: on Shopify’s Thank you and Order status pages (the \"Hermoso survey\" app block, placed once in Settings > Checkout > Customize; not on Shopify Starter), on a hosted page (pageUrl) any store links from its own order email or SMS, and through a signed webhook for answers collected anywhere else (WooCommerce, another survey app, a form). Each answer is written to the Shopify order (metafield hermoso.how_did_you_hear, shown on the order page) and to the brand’s contact (field how_did_you_hear, tag survey:<channel>), and sent as survey.answered to the brand’s Slack, Discord or webhook alerts. action get (default): settings, the page and webhook links, the answer count, whether the Shopify block has loaded. set: enabled, question, options [{ label, channel?, freeText? }] (2-20; channel such as instagram, tiktok, google, ai, word_of_mouth, creator, podcast, email, other), thankYou, shuffle, writeToOrder, writeToContact, accent (hex). link: orderId, email, value, currency -> a link signed with the brand’s secret, so the answer is tied to that order. secret: the signing secret for links and the webhook (rotate:true makes a new one; old signatures stop working). record: an answer the user or agent already has (answer = an option id or label, or the buyer’s own words; otherText, orderId, email, value, currency, at). answers: the answers (days or from/to, channel, source, limit). report: answers and revenue per answer, and for each answer what tracking recorded for the same orders, including how many buyers named a channel tracking credited to direct traffic or nothing. sync: retry writing answers onto orders and contacts. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"at": {
"type": "string",
"description": "record: when it was answered, ISO time"
},
"to": {
"type": "string"
},
"days": {
"type": "number",
"description": "answers / report: the last N days (default 30)"
},
"from": {
"type": "string"
},
"email": {
"type": "string",
"description": "link / record: the buyer’s email (stored hashed; used for the contact)"
},
"limit": {
"type": "number",
"description": "answers: 1-200, default 50"
},
"value": {
"type": "number",
"description": "link / record: the order total"
},
"accent": {
"type": [
"string",
"null"
],
"description": "set: the hosted page’s button colour, hex; null for the default"
},
"action": {
"enum": [
"get",
"set",
"link",
"secret",
"answers",
"record",
"report",
"sync"
],
"type": "string",
"description": "default get"
},
"answer": {
"type": "string",
"description": "record: an option id or label, or the buyer’s own words"
},
"rotate": {
"type": "boolean",
"description": "secret: true makes a new secret"
},
"source": {
"enum": [
"shopify",
"hosted",
"webhook",
"agent"
],
"type": "string",
"description": "answers: only this door"
},
"channel": {
"type": "string",
"description": "answers: only this channel"
},
"enabled": {
"type": "boolean",
"description": "set: true turns the survey on everywhere (Shopify block, hosted page, webhook)"
},
"options": {
"type": "array",
"items": {
"type": "object",
"required": [
"label"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"channel": {
"type": "string"
},
"freeText": {
"type": "boolean",
"description": "this answer asks the buyer to type where (one option at most)"
}
}
},
"description": "set: 2-20 answers, replaces the list"
},
"orderId": {
"type": "string",
"description": "link / record: the order (a Shopify gid, or the store’s own order number)"
},
"shuffle": {
"type": "boolean",
"description": "set: shuffle the answers per buyer (default true; a free-text answer stays last)"
},
"currency": {
"type": "string",
"description": "three letters, e.g. USD"
},
"optionId": {
"type": "string"
},
"question": {
"type": "string",
"description": "set: the question, up to 160 characters"
},
"thankYou": {
"type": "string",
"description": "set: the line shown after answering"
},
"otherText": {
"type": "string"
},
"writeToOrder": {
"type": "boolean",
"description": "set: write the answer onto the Shopify order (default true)"
},
"writeToContact": {
"type": "boolean",
"description": "set: save the answer on the brand’s contact for that email (default true)"
}
}
},
"annotations": {
"title": "Post-purchase survey",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| status | string | ACTIVE, PAUSED, SCHEDULED, INACTIVE, DELETED_EXTERNALLY or UNDEFINED; default ACTIVE |
| tactic | string | Shopify marketing tactic, e.g. AD, RETARGETING, POST, NEWSLETTER; default AD |
| adSpend | object | amount spent so far |
| channel | string | SOCIAL, SEARCH, DISPLAY, EMAIL or REFERRAL; default SOCIAL |
| platform | string | where it runs, e.g. meta, google_ads, tiktok_ads; only used to derive remoteId |
| remoteId | string | your stable id for this activity (e.g. the ad platform campaign id); derived from platform + campaignId or the utm campaign when omitted |
| remoteUrl | string | https link where this ad or campaign is managed or viewed; required on the first recording |
| campaignId | string | the ad platform campaign id; only used to derive remoteId |
| scheduledEnd | string | ISO date the activity is scheduled to end |
| previewImageUrl | string | https image shown next to the activity (the ad creative works) |
{
"name": "record_shopify_marketing_activity",
"title": "Record an ad or campaign in Shopify > Marketing",
"description": "Record an ad or campaign the merchant is running (on Meta, Google, TikTok, email, anywhere) in their Shopify admin under Marketing, so Shopify's own reports attribute storefront visits and sales to it by its UTM. REPORTING ONLY: it publishes nothing and spends nothing. Pass title, remoteUrl (where the ad is managed, e.g. The Ads Manager link), the utm {campaign, source, medium} the ad's links carry, and optionally tactic (AD default, RETARGETING, POST, LINK, NEWSLETTER, …), channel (SOCIAL default, SEARCH, DISPLAY, EMAIL, REFERRAL), status (ACTIVE default, PAUSED, SCHEDULED, INACTIVE, DELETED_EXTERNALLY), budget {type DAILY|LIFETIME, amount, currency}, adSpend {amount, currency}, start / end / scheduledEnd dates and previewImageUrl. RemoteId is YOUR stable id for the activity (the ad platform's campaign id is ideal); calling again with the same remoteId UPDATES that one row, and every field you leave out is KEPT from the existing record (Shopify's own upsert would erase it; the reply lists what was kept). Read back from Shopify. Needs the store to have approved Hermoso's marketing permission: if it has not, the reply says to open Hermoso once from the Shopify admin to approve it. Works for the Shopify store connected to this brand or the store this account was installed on. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"end": {
"type": "string",
"description": "ISO date it ended"
},
"utm": {
"type": "object",
"required": [
"campaign",
"source",
"medium"
],
"properties": {
"medium": {
"type": "string",
"description": "utm_medium value the ad's links carry"
},
"source": {
"type": "string",
"description": "utm_source value the ad's links carry"
},
"campaign": {
"type": "string",
"description": "utm_campaign value the ad's links carry; Shopify matches visits on all three UTM fields"
}
},
"description": "the UTM the ad links carry; Shopify matches visits on all three"
},
"start": {
"type": "string",
"description": "ISO date the ad started"
},
"title": {
"type": "string",
"description": "what the merchant sees in Shopify > Marketing; required on the first recording"
},
"budget": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"type": {
"enum": [
"DAILY",
"LIFETIME"
],
"type": "string",
"description": "DAILY or LIFETIME"
},
"amount": {
"type": "number",
"description": "budget amount, in the currency given"
},
"currency": {
"type": "string",
"description": "ISO 4217 currency code, e.g. USD"
}
},
"description": "budget object: {type DAILY or LIFETIME, amount, currency}"
},
"status": {
"enum": [
"ACTIVE",
"PAUSED",
"SCHEDULED",
"INACTIVE",
"DELETED_EXTERNALLY",
"UNDEFINED"
],
"type": "string",
"description": "ACTIVE, PAUSED, SCHEDULED, INACTIVE, DELETED_EXTERNALLY or UNDEFINED; default ACTIVE"
},
"tactic": {
"enum": [
"AD",
"RETARGETING",
"POST",
"LINK",
"AFFILIATE",
"MESSAGE",
"NEWSLETTER",
"ABANDONED_CART",
"LOYALTY",
"NOTIFICATION",
"SEO",
"STOREFRONT_APP",
"TRANSACTIONAL"
],
"type": "string",
"description": "Shopify marketing tactic, e.g. AD, RETARGETING, POST, NEWSLETTER; default AD"
},
"adSpend": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "number",
"description": "MAJOR units: 40 means 40.00"
},
"currency": {
"type": "string",
"description": "3-letter, e.g. USD"
}
},
"description": "amount spent so far"
},
"channel": {
"enum": [
"SOCIAL",
"SEARCH",
"DISPLAY",
"EMAIL",
"REFERRAL"
],
"type": "string",
"description": "SOCIAL, SEARCH, DISPLAY, EMAIL or REFERRAL; default SOCIAL"
},
"platform": {
"type": "string",
"description": "where it runs, e.g. meta, google_ads, tiktok_ads; only used to derive remoteId"
},
"remoteId": {
"type": "string",
"description": "your stable id for this activity (e.g. the ad platform campaign id); derived from platform + campaignId or the utm campaign when omitted"
},
"remoteUrl": {
"type": "string",
"description": "https link where this ad or campaign is managed or viewed; required on the first recording"
},
"campaignId": {
"type": "string",
"description": "the ad platform campaign id; only used to derive remoteId"
},
"scheduledEnd": {
"type": "string",
"description": "ISO date the activity is scheduled to end"
},
"previewImageUrl": {
"type": "string",
"description": "https image shown next to the activity (the ad creative works)"
}
}
},
"annotations": {
"title": "Record an ad or campaign in Shopify > Marketing",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| nextPageToken from a previous call — resend the IDENTICAL query and pageSize with it, which Google requires |
| merchantCenterId * | string | from list_merchant_accounts — a STANDALONE account or a SUBACCOUNT, never a multi-client (MCA) account |
{
"name": "merchant_report",
"title": "Merchant Center competitive visibility, best sellers and price benchmarks",
"description": "COMPETITOR INTELLIGENCE GOOGLE COMPUTES FOR FREE, for any retail brand with a Merchant Center. Ten report views, read with a SQL-like MCQL query. The three worth reaching for first: `competitive_visibility_competitor_view` (WHICH other domains appear beside this merchant, their rank, page-overlap and higher-position rates — i.e. who is actually beating them), `best_sellers_product_cluster_view` (what is SELLING on Google in a category right now, with an inventory_status saying whether this merchant even stocks it) and `price_insights_product_view` (Google's own suggested price plus the predicted click and conversion change). Also: competitive_visibility_benchmark_view, competitive_visibility_top_merchant_view, best_sellers_brand_view, price_competitiveness_product_view, product_view, product_performance_view, non_product_performance_view.\n\nMCQL IS NOT SQL: no OR, no subqueries, no GROUP BY, no aggregates, no JOIN, and ORDER BY may only name fields already in SELECT. Date filters use `WHERE date BETWEEN '2026-01-01' AND '2026-01-31'` or `WHERE date DURING LAST_30_DAYS`. Several views REQUIRE specific fields in SELECT and in WHERE — competitive visibility needs report_category_id + report_country_code + traffic_source, and top_merchant uniquely REQUIRES a date condition while FORBIDDING date in SELECT. An unknown view is refused by name with the list.\n\nNOT AVAILABLE ON MULTI-CLIENT (MCA) ACCOUNTS — pass a subaccount id. An empty result is often a normal state (price insights are only produced where Google predicts a substantial gain), and the note says which kind of empty it is. Read-only, free, no new permission.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"query"
],
"properties": {
"query": {
"type": "string",
"description": "the MCQL query, e.g. \"SELECT id, title, price, suggested_price, effectiveness FROM price_insights_product_view\""
},
"pageSize": {
"type": "number",
"description": "rows per response, 1–100000 (default 1000). 100,000 is GOOGLE's ceiling, not ours."
},
"pageToken": {
"type": "string",
"description": "nextPageToken from a previous call — resend the IDENTICAL query and pageSize with it, which Google requires"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts — a STANDALONE account or a SUBACCOUNT, never a multi-client (MCA) account"
}
}
},
"annotations": {
"title": "Merchant Center competitive visibility, best sellers and price benchmarks",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| REQUIRED for PERCENT_OFF — a plain number, e.g. 20 |
| promotionId * | string | YOUR OWN id for the promotion, e.g. 'black-friday-2026' |
| promotionUrl | string | the page on the merchant's site where the promotion shows |
| targetCountry * | string | two-letter CLDR territory code, e.g. US. Part of the promotion identity and not changeable later |
| moneyOffAmount | object | REQUIRED for MONEY_OFF — {"amountMicros":"10000000","currencyCode":"USD"} is $10 off |
| contentLanguage * | string | two-letter ISO 639-1 code, e.g. en. Must match the language of the products |
| couponValueType * | string | the kind of discount |
| customAttributes | array | merchant-provided attributes, {name, value} |
| merchantCenterId * | string | from list_merchant_accounts |
| redemptionChannel * | array | at least one; ONLINE for a webshop sale |
| eventApplicability | string | creates a SALES EVENT instead of a product promotion — a different thing |
| productApplicability | string | required unless eventApplicability is set — Google allows exactly one of the two |
| genericRedemptionCode | string | REQUIRED when offerType is GENERIC_CODE |
| promotionDestinations * | array | at least one, e.g. ['SHOPPING_ADS'] for paid Shopping or ['FREE_LISTINGS'] for the unpaid surface |
{
"name": "create_merchant_promotion",
"title": "Create a Merchant Center promotion (sale badge)",
"description": "PUT A SALE BADGE ON THE MERCHANT'S SHOPPING LISTINGS — the most seasonal thing a retail advertiser does. It creates the promotion and resolves (or creates) the promotion DATA SOURCE that country/language needs automatically; a promotion data source is its own kind and cannot be the product feed. IT IS NOT LIVE ON CREATE: Google validates promotions asynchronously and can take days to approve one, so report it as SUBMITTED and re-read with list_merchant_promotions. Everything Google marks Required is refused up front by name, including the pairings its own 400 does not mention — PERCENT_OFF needs percentOff, MONEY_OFF needs moneyOffAmount, GENERIC_CODE needs genericRedemptionCode — because otherwise Google accepts the promotion and disapproves it hours later where nobody is watching. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"promotionId",
"targetCountry",
"contentLanguage",
"longTitle",
"couponValueType",
"offerType",
"redemptionChannel",
"promotionDestinations",
"startDate",
"endDate"
],
"properties": {
"endDate": {
"type": "string",
"description": "ISO date; widened to the END of that day, because Google's interval end is exclusive"
},
"longTitle": {
"type": "string",
"description": "the promotion text shoppers see, e.g. '20% off all winter coats' — describe the offer, do not name the campaign"
},
"offerType": {
"enum": [
"NO_CODE",
"GENERIC_CODE"
],
"type": "string",
"description": "NO_CODE when the discount applies automatically, GENERIC_CODE when the shopper types a code"
},
"startDate": {
"type": "string",
"description": "ISO date, e.g. 2026-11-27"
},
"attributes": {
"type": "object",
"description": "any other promotion attribute Google publishes — item/brand/product-type filters, minimum purchase, store filters, display period — forwarded as given",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"percentOff": {
"type": "number",
"description": "REQUIRED for PERCENT_OFF — a plain number, e.g. 20"
},
"promotionId": {
"type": "string",
"description": "YOUR OWN id for the promotion, e.g. 'black-friday-2026'"
},
"promotionUrl": {
"type": "string",
"description": "the page on the merchant's site where the promotion shows"
},
"targetCountry": {
"type": "string",
"description": "two-letter CLDR territory code, e.g. US. Part of the promotion identity and not changeable later"
},
"moneyOffAmount": {
"type": "object",
"description": "REQUIRED for MONEY_OFF — {\"amountMicros\":\"10000000\",\"currencyCode\":\"USD\"} is $10 off",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"contentLanguage": {
"type": "string",
"description": "two-letter ISO 639-1 code, e.g. en. Must match the language of the products"
},
"couponValueType": {
"enum": [
"MONEY_OFF",
"PERCENT_OFF",
"BUY_M_GET_N_MONEY_OFF",
"BUY_M_GET_N_PERCENT_OFF",
"BUY_M_GET_MONEY_OFF",
"BUY_M_GET_PERCENT_OFF",
"FREE_GIFT",
"FREE_GIFT_WITH_VALUE",
"FREE_GIFT_WITH_ITEM_ID",
"FREE_SHIPPING_STANDARD",
"FREE_SHIPPING_OVERNIGHT",
"FREE_SHIPPING_TWO_DAY",
"MONEY_OFF_RANGE"
],
"type": "string",
"description": "the kind of discount"
},
"customAttributes": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "merchant-provided attributes, {name, value}"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
},
"redemptionChannel": {
"type": "array",
"items": {
"enum": [
"IN_STORE",
"ONLINE"
],
"type": "string"
},
"description": "at least one; ONLINE for a webshop sale"
},
"eventApplicability": {
"enum": [
"SITEWIDE",
"SPECIFIC_CATEGORIES"
],
"type": "string",
"description": "creates a SALES EVENT instead of a product promotion — a different thing"
},
"productApplicability": {
"enum": [
"ALL_PRODUCTS",
"SPECIFIC_PRODUCTS"
],
"type": "string",
"description": "required unless eventApplicability is set — Google allows exactly one of the two"
},
"genericRedemptionCode": {
"type": "string",
"description": "REQUIRED when offerType is GENERIC_CODE"
},
"promotionDestinations": {
"type": "array",
"items": {
"type": "string"
},
"description": "at least one, e.g. ['SHOPPING_ADS'] for paid Shopping or ['FREE_LISTINGS'] for the unpaid surface"
}
}
},
"annotations": {
"title": "Create a Merchant Center promotion (sale badge)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "merchant_issue_help",
"title": "Google's own fix steps for a Merchant Center issue",
"description": "GOOGLE'S OWN FIX STEPS, not just the name of the problem. list_merchant_issues stops at the symptom; this returns the remediation content Google writes for each issue, plus the ACTIONS available on it — request a review, claim the website, edit a named attribute — with the exact opaque ids trigger_merchant_issue_action needs. Pass an offerId (with feedLabel, and contentLanguage if it is not 'en') for one PRODUCT's issues, or leave it off for the ACCOUNT's. The fix text is Google's and is relayed verbatim: RELAY IT, do not paraphrase a remediation step into something that sounds simpler. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId"
],
"properties": {
"offerId": {
"type": "string",
"description": "for one PRODUCT's issues; omit for the account's issues"
},
"timeZone": {
"type": "string",
"description": "IANA zone for times inside the content, e.g. 'America/Los_Angeles'"
},
"feedLabel": {
"type": "string",
"description": "REQUIRED alongside offerId — from list_merchant_products. A product is addressed by contentLanguage + feedLabel + offerId"
},
"languageCode": {
"type": "string",
"description": "BCP-47 language for the fix text, e.g. 'en-US'"
},
"contentLanguage": {
"type": "string",
"description": "with offerId; defaults to 'en'"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "Google's own fix steps for a Merchant Center issue",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "trigger_merchant_issue_action",
"title": "Fire a Merchant Center issue action",
"description": "FIRE one of the actions merchant_issue_help returned — most usefully 'request a review' on a disapproval. SEVERAL OF THESE ARE ONE-SHOT and Google says so in its own dialog callout ('You can only request a review for disagreeing with this issue once. If it's not approved, you'll need to fix the issue and wait'), so read that callout back to the user before confirming: a review spent on the wrong issue cannot be spent again. WITHOUT `confirm` IT FIRES NOTHING. `actionContext` is OPAQUE by Google's own instruction — pass it back exactly as merchant_issue_help gave it; it cannot be constructed or edited. The answer is Google's own message to the business, relayed verbatim, because this endpoint returns no resource to read back. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"actionContext",
"actionFlowId"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "must be true to actually fire it"
},
"inputValues": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "values for the flow's input fields, shaped as Google described them: {inputFieldId, textInputValue|choiceInputValue|checkboxInputValue}"
},
"actionFlowId": {
"type": "string",
"description": "the id of the flow you picked from that action's flows — each asks for different inputs"
},
"languageCode": {
"type": "string",
"description": "BCP-47 language for the response message"
},
"actionContext": {
"type": "string",
"description": "the opaque token from merchant_issue_help, on the action you are firing"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "Fire a Merchant Center issue action",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| string |
| usually the feed target country, e.g. "US" |
| pickupSla | ["string","null"] | local only |
| salePrice | ["string","null"] | "9.99 USD". Google requires salePriceEffectiveDate alongside it if that is set. null clears it |
| storeCode | string | required for kind:'local' — the store ID from the merchant's Business Profile. Immutable |
| availability | ["string","null"] | no API enum exists; Google's local spec publishes In stock, Limited availability, On display to order, Out of stock, in English. Anything else is warned about, not refused. null clears it |
| pickupMethod | ["string","null"] | local only. Must be sent WITH pickupSla unless the value is "not supported" |
| contentLanguage * | string | two-letter feed language, e.g. "en" |
| merchantCenterId * | string | from list_merchant_accounts |
| instoreProductLocation | ["string","null"] | local only, max 20 bytes |
{
"name": "set_merchant_inventory",
"title": "Set store or region price and stock",
"description": "SET the price, availability or stock level of one Shopping product at ONE physical store (kind:\"local\", keyed by storeCode) or in ONE region (kind:\"regional\", keyed by region). This is what stops a Shopping ad advertising something the nearest store has sold out of. Google's insert REPLACES the whole entry, so this tool reads what is already stored, merges your fields over it, and reports which stored fields it preserved; pass an explicit null to CLEAR one. The API publishes no enum for availability, so it accepts anything and only Google's local inventory data specification says which values actually serve: In stock, Limited availability, On display to order, Out of stock, submitted in English. An unrecognised value is warned about here rather than refused, because refusing would mean inventing an enum Google does not publish. Google states it can take up to 30 minutes before the product itself reflects the change, so a product read straight afterwards can still show the old value and be correct. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"offerId",
"contentLanguage",
"feedLabel",
"kind"
],
"properties": {
"kind": {
"enum": [
"local",
"regional"
],
"type": "string",
"description": "local = one physical store (storeCode), regional = one Google region (region)"
},
"price": {
"type": [
"string",
"null"
],
"description": "\"12.99 USD\". A bare number is refused because a price with no currency is not a price. null clears it"
},
"region": {
"type": "string",
"description": "required for kind:'regional' — the Merchant Center region id. Immutable"
},
"offerId": {
"type": "string",
"description": "the product's own id in the feed"
},
"quantity": {
"type": [
"number",
"null"
],
"description": "local only. null clears it"
},
"feedLabel": {
"type": "string",
"description": "usually the feed target country, e.g. \"US\""
},
"pickupSla": {
"type": [
"string",
"null"
],
"description": "local only"
},
"salePrice": {
"type": [
"string",
"null"
],
"description": "\"9.99 USD\". Google requires salePriceEffectiveDate alongside it if that is set. null clears it"
},
"storeCode": {
"type": "string",
"description": "required for kind:'local' — the store ID from the merchant's Business Profile. Immutable"
},
"availability": {
"type": [
"string",
"null"
],
"description": "no API enum exists; Google's local spec publishes In stock, Limited availability, On display to order, Out of stock, in English. Anything else is warned about, not refused. null clears it"
},
"pickupMethod": {
"type": [
"string",
"null"
],
"description": "local only. Must be sent WITH pickupSla unless the value is \"not supported\""
},
"contentLanguage": {
"type": "string",
"description": "two-letter feed language, e.g. \"en\""
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
},
"instoreProductLocation": {
"type": [
"string",
"null"
],
"description": "local only, max 20 bytes"
}
}
},
"annotations": {
"title": "Set store or region price and stock",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| program | string | programs enable/disable |
| section * | string | shipping, returns, business_info, homepage or programs; the Merchant Center area to act on |
| services | array | shipping upsert/replace |
| overwrite | boolean | homepage claim: take the claim from another account |
| warehouses | array | shipping: Google Warehouse objects; omitted = existing ones kept |
| serviceNames | array | shipping remove |
| returnPolicyId | string | returns delete, from list |
| customerService | object | business_info: uri, email, phone (E.164) |
| merchantCenterId * | string | from list_merchant_accounts |
| koreanBusinessRegistrationNumber | string | Korean business registration number; business_info update only |
{
"name": "manage_merchant_settings",
"title": "Change Merchant Center settings",
"description": "FIX THE MERCHANT CENTER SETTINGS that stop an account serving (merchant_account_status names them). Pick section + action. shipping: get · upsert (add or update services by name; services you do not mention are KEPT) · remove (serviceNames) · replace (exactly this list). A service is {name, countries, currency, rate, freeOver?, handlingDays:[min,max], transitDays:[min,max], active?} or Google's own Service shape; delivery days are required, never guessed. returns: list · create (policy {countries, returnPolicyUri, days or policyType, itemConditions, returnMethods, processRefundDays, returnLabelSource, label?}) · delete (returnPolicyId). Google has no edit for a return policy. business_info: get · update (address, customerService {uri,email,phone}, koreanBusinessRegistrationNumber; merged field by field, null clears). homepage: get · claim (re-checks verification; overwrite:true takes it from another account) · unclaim · set_uri (removes the claim). programs: list · enable · disable (program e.g. free-listings, shopping-ads). Overwriting or removing a shipping service, replacing existing business info, deleting a return policy, unclaiming, changing a claimed homepage, overwrite:true and disabling an enabled program each answer with what would change and need confirm:true. Every write is read back from Google. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"section"
],
"properties": {
"uri": {
"type": "string",
"description": "homepage set_uri"
},
"action": {
"enum": [
"get",
"upsert",
"remove",
"replace",
"list",
"create",
"delete",
"update",
"claim",
"unclaim",
"set_uri",
"enable",
"disable"
],
"type": "string",
"description": "defaults to the section's read (get/list)"
},
"policy": {
"type": "object",
"description": "returns create",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"address": {
"type": "object",
"description": "business_info: regionCode, street or addressLines, locality, administrativeArea, postalCode",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"confirm": {
"type": "boolean",
"description": "true ONLY after the user approved the change the first call described"
},
"program": {
"type": "string",
"description": "programs enable/disable"
},
"section": {
"enum": [
"shipping",
"returns",
"business_info",
"homepage",
"programs"
],
"type": "string",
"description": "shipping, returns, business_info, homepage or programs; the Merchant Center area to act on"
},
"services": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "shipping upsert/replace"
},
"overwrite": {
"type": "boolean",
"description": "homepage claim: take the claim from another account"
},
"warehouses": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "shipping: Google Warehouse objects; omitted = existing ones kept"
},
"serviceNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "shipping remove"
},
"returnPolicyId": {
"type": "string",
"description": "returns delete, from list"
},
"customerService": {
"type": "object",
"description": "business_info: uri, email, phone (E.164)",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
},
"koreanBusinessRegistrationNumber": {
"type": "string",
"description": "Korean business registration number; business_info update only"
}
}
},
"annotations": {
"title": "Change Merchant Center settings",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "manage_merchant_notifications",
"title": "Merchant Center push notifications",
"description": "PUSH INSTEAD OF POLLING for Merchant Center product status. Google POSTs to a URL the moment a product's status changes — a disapproval is otherwise found whenever someone happens to run list_merchant_issues, which for a feed of thousands means money burning unnoticed. action:'list' shows the subscriptions, 'create' adds one, 'delete' removes one. BE HONEST ABOUT WHERE IT GOES: callBackUri must be an HTTPS endpoint THE MERCHANT runs and can decode — Hermoso does not receive these notifications, so this only helps someone with a server on the other end. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId"
],
"properties": {
"action": {
"enum": [
"list",
"create",
"delete"
],
"type": "string",
"description": "defaults to 'list'"
},
"callBackUri": {
"type": "string",
"description": "HTTPS endpoint Google will POST to (create). Not a Hermoso URL and not localhost"
},
"targetAccount": {
"type": "string",
"description": "accounts/{id} to receive notifications for; defaults to this account"
},
"subscriptionId": {
"type": "string",
"description": "for action:'delete', from action:'list'"
},
"registeredEvent": {
"enum": [
"PRODUCT_STATUS_CHANGE",
"ACCOUNT_SERVICE_CHANGE"
],
"type": "string",
"description": "defaults to PRODUCT_STATUS_CHANGE, the one that fires on a disapproval"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
},
"allManagedAccounts": {
"type": "boolean",
"description": "subscribe for every managed account instead of just this one — mutually exclusive with targetAccount"
}
}
},
"annotations": {
"title": "Merchant Center push notifications",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| showDeleted | boolean | include archived sources in a list |
| currencyCode | string | three-letter ISO 4217 code the conversions are reported in, e.g. USD. Required when creating a tag destination — it decides what every number reported through it means |
| conversionTypes | array | names of the conversion types events may be classified as. IMMUTABLE once set, and Google returns it on no read, so it can never be confirmed afterwards — leave it off and Google creates a standard "purchase" type |
| attributionModel | string | CROSS_CHANNEL_LAST_CLICK (default) | ADS_PREFERRED_LAST_CLICK | CROSS_CHANNEL_DATA_DRIVEN | CROSS_CHANNEL_FIRST_CLICK | CROSS_CHANNEL_LINEAR | CROSS_CHANNEL_POSITION_BASED | CROSS_CHANNEL_TIME_DECAY |
| merchantCenterId * | string | from list_merchant_accounts |
| conversionSourceId | string | for update, delete and undelete — from action:'list' |
| attributionLookbackWindowDays | number | 7, 30 or 40 — Google publishes no other value. Defaults to 30 |
{
"name": "manage_merchant_conversion_source",
"title": "Merchant Center conversion sources",
"description": "WHERE MERCHANT CENTER GETS ITS CONVERSION DATA FROM, which is what free-listing and Shopping performance reporting is built on — a merchant with no conversion source sees clicks and no outcomes, and nothing in Merchant Center says why. Two kinds, and they are different jobs: a MERCHANT CENTER DESTINATION is a Google tag target, and creating one returns a destination id (MC-…) that is the only place that id exists, so it must be read back to the user because it is what the Google tag has to send conversions to. A GOOGLE ANALYTICS LINK pulls conversions from a GA4 property instead, needs the connected Google account to be an ADMIN on that property, and Google marks it IMMUTABLE — the property cannot be changed afterwards, only deleted and re-created. action:'list' shows every source including archived ones, 'create' adds one, 'update' changes a destination's name, currency or attribution, 'delete' ARCHIVES one (confirm-gated) and 'undelete' restores it until the expiry Google reports on the archived row. Attribution lookback is 7, 30 or 40 days and nothing else. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId"
],
"properties": {
"kind": {
"enum": [
"merchant_center_destination",
"google_analytics_link"
],
"type": "string",
"description": "for action:'create' — which kind to make. Passing propertyId implies the Google Analytics one"
},
"action": {
"enum": [
"list",
"create",
"update",
"delete",
"undelete"
],
"type": "string",
"description": "defaults to 'list'"
},
"confirm": {
"type": "boolean",
"description": "must be true to actually archive"
},
"propertyId": {
"type": "string",
"description": "NUMERIC GA4 property id for a Google Analytics link (from list_analytics_properties), not a G- measurement id"
},
"displayName": {
"type": "string",
"description": "the name that identifies a tag destination in the Merchant Center UI, e.g. \"Website purchases\". Required to create one; may also name an existing source for update/delete"
},
"showDeleted": {
"type": "boolean",
"description": "include archived sources in a list"
},
"currencyCode": {
"type": "string",
"description": "three-letter ISO 4217 code the conversions are reported in, e.g. USD. Required when creating a tag destination — it decides what every number reported through it means"
},
"conversionTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "names of the conversion types events may be classified as. IMMUTABLE once set, and Google returns it on no read, so it can never be confirmed afterwards — leave it off and Google creates a standard \"purchase\" type"
},
"attributionModel": {
"type": "string",
"description": "CROSS_CHANNEL_LAST_CLICK (default) | ADS_PREFERRED_LAST_CLICK | CROSS_CHANNEL_DATA_DRIVEN | CROSS_CHANNEL_FIRST_CLICK | CROSS_CHANNEL_LINEAR | CROSS_CHANNEL_POSITION_BASED | CROSS_CHANNEL_TIME_DECAY"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
},
"conversionSourceId": {
"type": "string",
"description": "for update, delete and undelete — from action:'list'"
},
"attributionLookbackWindowDays": {
"type": "number",
"description": "7, 30 or 40 — Google publishes no other value. Defaults to 30"
}
}
},
"annotations": {
"title": "Merchant Center conversion sources",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "create_merchant_data_source",
"title": "Create a Merchant Center product feed",
"description": "Create an API product feed on a Merchant Center account — the container upsert_merchant_product writes into. Most accounts have none until one is made: a store set up through the Merchant Center UI has a UI feed, which is read-only. feedLabel and contentLanguage must be set TOGETHER or not at all and BOTH ARE IMMUTABLE — leave them off and the feed accepts products for any market and language, which is the safer default because a wrong feed label can never be corrected. Omit destinations to inherit wherever the account already sells. Creating a feed costs nothing and cannot spend.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"displayName"
],
"properties": {
"countries": {
"type": "array",
"items": {
"type": "string"
},
"description": "CLDR territory codes the items may be shown in"
},
"feedLabel": {
"type": "string",
"description": "market bucket, e.g. \"US\" — max 20 chars, A-Z/0-9/dashes. IMMUTABLE, and must be set together with contentLanguage"
},
"displayName": {
"type": "string",
"description": "the name the merchant will see in Merchant Center"
},
"destinations": {
"type": "array",
"items": {
"type": "string"
},
"description": "omit to inherit the account's own program participation (SHOPPING_ADS, FREE_LISTINGS, …)"
},
"contentLanguage": {
"type": "string",
"description": "two-letter ISO 639-1, e.g. \"en\". IMMUTABLE, and must be set together with feedLabel"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "Create a Merchant Center product feed",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| object |
| price object: {value in major units or amountMicros, currencyCode} |
| title | string | product title; Google needs it for the product to serve |
| gender | string | male, female or unisex |
| offerId * | string | your own unique id for the product — IMMUTABLE, and what you update or delete it by later |
| ageGroup | string | newborn, infant, toddler, kids or adult |
| material | string | product material |
| condition | string | new | refurbished | used |
| feedLabel | string | market bucket, e.g. "US" — taken from the feed when the feed declares one |
| imageLink | string | main product image URL (https); Google needs it for the product to serve |
| salePrice | object | sale price, same shape as price |
| attributes | object | any other product attribute by its Merchant API name — there are 145 and only the common ones are named above |
| dataSource | string | the feed to write into, from list_merchant_data_sources. Omit to resolve the account's one writable feed (created if there is none, refused by name if there are several) |
| description | string | product description; Google needs it for the product to serve |
| itemGroupId | string | shared id that groups the variants of one product, e.g. colours or sizes |
| availability | string | in_stock | out_of_stock | preorder | backorder |
| productTypes | array | merchant-defined category labels for the product, as a list |
| dataSourceName | string | display name for a feed created on the fly |
| contentLanguage | string | two-letter, e.g. "en" — taken from the feed when the feed declares one |
| customAttributes | array | extra attributes as a list of {name, value} objects |
| identifierExists | boolean | false for a product with no GTIN/MPN/brand, such as a service or a bundle |
| merchantCenterId * | string | from list_merchant_accounts |
| additionalImageLinks | array | extra product image URLs, as a list |
| googleProductCategory | string | Google product taxonomy category |
{
"name": "upsert_merchant_product",
"title": "Create or replace a Merchant Center product",
"description": "Create or replace a product in a Merchant Center feed — this is how a merchant's catalogue gets populated, and it is what Shopping ads, free listings and retail Performance Max actually serve. It is an UPSERT and a WHOLE-ROW write: calling it again for the same offerId REPLACES the product rather than patching it, so send every field you want kept each time. You do not have to find a feed first — omit dataSource and it resolves the account's one writable feed, creates one if there is none, and REFUSES by name if there are several rather than putting the product in a market the campaigns may not target. offerId, contentLanguage and feedLabel together ARE the product's identity and are all immutable; contentLanguage and feedLabel are taken from the feed when the feed declares them. For the product to serve at all Google needs title, description, link, imageLink, availability and price — a row missing any of them is stored and then disapproved, and the reply says so rather than letting you believe it published. The reply reports what GOOGLE STORED, not what was sent. Free: a feed edit cannot spend.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"offerId"
],
"properties": {
"mpn": {
"type": "string",
"description": "manufacturer part number"
},
"gtin": {
"type": "string",
"description": "GTIN barcode (UPC, EAN or similar)"
},
"link": {
"type": "string",
"description": "the product page URL on the merchant's store"
},
"size": {
"type": "string",
"description": "product size"
},
"brand": {
"type": "string",
"description": "brand name"
},
"color": {
"type": "string",
"description": "product colour"
},
"price": {
"type": "object",
"required": [
"currencyCode"
],
"properties": {
"value": {
"type": "number",
"description": "major units, e.g. 19.99"
},
"amountMicros": {
"type": "string",
"description": "micros, if you already have them — 1 unit = 1000000"
},
"currencyCode": {
"type": "string",
"description": "three-letter ISO 4217, e.g. USD"
}
},
"description": "price object: {value in major units or amountMicros, currencyCode}"
},
"title": {
"type": "string",
"description": "product title; Google needs it for the product to serve"
},
"gender": {
"type": "string",
"description": "male, female or unisex"
},
"offerId": {
"type": "string",
"description": "your own unique id for the product — IMMUTABLE, and what you update or delete it by later"
},
"ageGroup": {
"type": "string",
"description": "newborn, infant, toddler, kids or adult"
},
"material": {
"type": "string",
"description": "product material"
},
"condition": {
"type": "string",
"description": "new | refurbished | used"
},
"feedLabel": {
"type": "string",
"description": "market bucket, e.g. \"US\" — taken from the feed when the feed declares one"
},
"imageLink": {
"type": "string",
"description": "main product image URL (https); Google needs it for the product to serve"
},
"salePrice": {
"type": "object",
"required": [
"currencyCode"
],
"properties": {
"value": {
"type": "number",
"description": "major units, e.g. 19.99"
},
"amountMicros": {
"type": "string",
"description": "micros, if you already have them — 1 unit = 1000000"
},
"currencyCode": {
"type": "string",
"description": "three-letter ISO 4217, e.g. USD"
}
},
"description": "sale price, same shape as price"
},
"attributes": {
"type": "object",
"description": "any other product attribute by its Merchant API name — there are 145 and only the common ones are named above",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"dataSource": {
"type": "string",
"description": "the feed to write into, from list_merchant_data_sources. Omit to resolve the account's one writable feed (created if there is none, refused by name if there are several)"
},
"description": {
"type": "string",
"description": "product description; Google needs it for the product to serve"
},
"itemGroupId": {
"type": "string",
"description": "shared id that groups the variants of one product, e.g. colours or sizes"
},
"availability": {
"type": "string",
"description": "in_stock | out_of_stock | preorder | backorder"
},
"productTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "merchant-defined category labels for the product, as a list"
},
"dataSourceName": {
"type": "string",
"description": "display name for a feed created on the fly"
},
"contentLanguage": {
"type": "string",
"description": "two-letter, e.g. \"en\" — taken from the feed when the feed declares one"
},
"customAttributes": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "attribute name"
},
"value": {
"type": "string",
"description": "attribute value"
}
}
},
"description": "extra attributes as a list of {name, value} objects"
},
"identifierExists": {
"type": "boolean",
"description": "false for a product with no GTIN/MPN/brand, such as a service or a bundle"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
},
"additionalImageLinks": {
"type": "array",
"items": {
"type": "string"
},
"description": "extra product image URLs, as a list"
},
"googleProductCategory": {
"type": "string",
"description": "Google product taxonomy category"
}
}
},
"annotations": {
"title": "Create or replace a Merchant Center product",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "delete_merchant_product",
"title": "Delete a Merchant Center product",
"description": "Delete a product from a Merchant Center feed. CONFIRM-GATED: without confirm:true nothing is deleted and it reports the real product it WOULD delete — title, price and availability read back from Google — because the id you were given proves nothing about what is actually there. It is recoverable: re-inserting the same offerId re-creates the product. Needs the same offerId + contentLanguage + feedLabel that identify the product (contentLanguage and feedLabel come from the feed when it declares them). Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"offerId"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "must be true to actually delete; without it nothing is deleted and the real product is reported back"
},
"offerId": {
"type": "string",
"description": "your offer id of the product to delete"
},
"feedLabel": {
"type": "string",
"description": "market label of the product, e.g. US; taken from the feed when it declares one"
},
"dataSource": {
"type": "string",
"description": "the feed it lives in, from list_merchant_data_sources"
},
"contentLanguage": {
"type": "string",
"description": "two-letter language code of the product; taken from the feed when it declares one"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
}
}
},
"annotations": {
"title": "Delete a Merchant Center product",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| male, female or unisex |
| offerId * | string | the product to change |
| ageGroup | string | newborn, infant, toddler, kids or adult |
| material | string | product material |
| condition | string | new | refurbished | used |
| feedLabel | string | market label, e.g. US; taken from the feed when it declares one |
| imageLink | string | main product image URL (https) |
| salePrice | object | new sale price, same shape as price |
| attributes | object | any other product attribute by its Merchant API name |
| dataSource | string | the feed it lives in, from list_merchant_data_sources |
| description | string | new product description; omit to leave unchanged |
| itemGroupId | string | shared id that groups the variants of one product |
| availability | string | in_stock | out_of_stock | preorder | backorder |
| productTypes | array | merchant-defined category labels, as a list |
| contentLanguage | string | two-letter language code; taken from the feed when it declares one |
| identifierExists | boolean | false for a product with no GTIN, MPN or brand, such as a service or bundle |
| merchantCenterId * | string | from list_merchant_accounts |
| additionalImageLinks | array | extra image URLs, sent as the whole list |
| googleProductCategory | string | Google product taxonomy category |
{
"name": "update_merchant_product",
"title": "Update fields on a Merchant Center product",
"description": "Change SOME fields on a product already in a Merchant Center feed — the everyday operation, because price and availability move daily. This is a PATCH: only the attributes you name are touched and everything else on the product survives, which is the difference from upsert_merchant_product (a whole-row write that wipes anything you leave out). It refuses if the product does not exist rather than quietly creating a half-populated one, and it refuses an empty change rather than sending an update mask with nothing behind it. The reply reports every field Google now holds, so you can see what survived. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"merchantCenterId",
"offerId"
],
"properties": {
"mpn": {
"type": "string",
"description": "manufacturer part number"
},
"gtin": {
"type": "string",
"description": "GTIN barcode (UPC, EAN or similar)"
},
"link": {
"type": "string",
"description": "product page URL on the merchant's store"
},
"size": {
"type": "string",
"description": "product size"
},
"brand": {
"type": "string",
"description": "brand name"
},
"color": {
"type": "string",
"description": "product colour"
},
"price": {
"type": "object",
"required": [
"currencyCode"
],
"properties": {
"value": {
"type": "number",
"description": "major units, e.g. 19.99"
},
"amountMicros": {
"type": "string",
"description": "micros, if you already have them — 1 unit = 1000000"
},
"currencyCode": {
"type": "string",
"description": "three-letter ISO 4217, e.g. USD"
}
},
"description": "new price: {value in major units or amountMicros, currencyCode}"
},
"title": {
"type": "string",
"description": "new product title; omit to leave unchanged"
},
"gender": {
"type": "string",
"description": "male, female or unisex"
},
"offerId": {
"type": "string",
"description": "the product to change"
},
"ageGroup": {
"type": "string",
"description": "newborn, infant, toddler, kids or adult"
},
"material": {
"type": "string",
"description": "product material"
},
"condition": {
"type": "string",
"description": "new | refurbished | used"
},
"feedLabel": {
"type": "string",
"description": "market label, e.g. US; taken from the feed when it declares one"
},
"imageLink": {
"type": "string",
"description": "main product image URL (https)"
},
"salePrice": {
"type": "object",
"required": [
"currencyCode"
],
"properties": {
"value": {
"type": "number",
"description": "major units, e.g. 19.99"
},
"amountMicros": {
"type": "string",
"description": "micros, if you already have them — 1 unit = 1000000"
},
"currencyCode": {
"type": "string",
"description": "three-letter ISO 4217, e.g. USD"
}
},
"description": "new sale price, same shape as price"
},
"attributes": {
"type": "object",
"description": "any other product attribute by its Merchant API name",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"dataSource": {
"type": "string",
"description": "the feed it lives in, from list_merchant_data_sources"
},
"description": {
"type": "string",
"description": "new product description; omit to leave unchanged"
},
"itemGroupId": {
"type": "string",
"description": "shared id that groups the variants of one product"
},
"availability": {
"type": "string",
"description": "in_stock | out_of_stock | preorder | backorder"
},
"productTypes": {
"type": "array",
"items": {
"type": "string"
},
"description": "merchant-defined category labels, as a list"
},
"contentLanguage": {
"type": "string",
"description": "two-letter language code; taken from the feed when it declares one"
},
"identifierExists": {
"type": "boolean",
"description": "false for a product with no GTIN, MPN or brand, such as a service or bundle"
},
"merchantCenterId": {
"type": "string",
"description": "from list_merchant_accounts"
},
"additionalImageLinks": {
"type": "array",
"items": {
"type": "string"
},
"description": "extra image URLs, sent as the whole list"
},
"googleProductCategory": {
"type": "string",
"description": "Google product taxonomy category"
}
}
},
"annotations": {
"title": "Update fields on a Merchant Center product",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "list_google_ads_campaigns",
"title": "List Google Ads accounts / campaigns",
"description": "Read the connected Google Ads account(s). Call with NO customerId to list the accessible accounts (customerId + name + currency) — do this first to pick a target. Call WITH customerId to list that account’s campaigns (id, name, status, daily budget, channel) plus performance metrics (impressions, clicks, CTR, avg CPC, cost, conversions). Date window: datePreset (LAST_7_DAYS | LAST_30_DAYS | TODAY | THIS_MONTH | LAST_90_DAYS …) or since+until (YYYY-MM-DD). Read-only, free. Needs Google Ads connected (Connectors > Google Ads).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "max campaigns (1–500, default 100)"
},
"since": {
"type": "string",
"description": "start date YYYY-MM-DD (with until)"
},
"until": {
"type": "string",
"description": "end date YYYY-MM-DD"
},
"status": {
"enum": [
"ENABLED",
"PAUSED",
"REMOVED"
],
"type": "string",
"description": "filter campaigns by status"
},
"metrics": {
"type": "boolean",
"description": "include performance metrics (default true)"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to list accessible accounts"
},
"datePreset": {
"type": "string",
"description": "metrics window preset (default LAST_30_DAYS)"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) id — only if reaching a client account through a manager"
}
}
},
"annotations": {
"title": "List Google Ads accounts / campaigns",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| 10-digit account id — omit to use the brand’s selected default account |
| loginCustomerId | string | manager (MCC) account id when acting through a manager account; omit otherwise |
{
"name": "google_ads_change_history",
"title": "What changed on a Google Ads account, and when",
"description": "WHAT CHANGED ON THE ACCOUNT, AND WHEN — the answer to \"performance fell off a cliff on Tuesday, what happened?\". source:\"change_event\" (default) is FIELD-LEVEL over the last 30 days: the change time, who made it, from which client (web UI, API, scripts, bulk upload, automated rule), whether it was a CREATE / UPDATE / REMOVE, and exactly which fields moved — with detail:true it also carries the old and new resource snapshots. source:\"change_status\" reaches 90 days and is the ONLY one that catches GOOGLE ADS EDITOR and criterion-level edits: Google documents change_event as NEVER returning Editor changes, so an Editor-managed account looks completely untouched there. CHECK BOTH BEFORE TELLING ANYONE NOTHING CHANGED. An unknown source is refused by name; the 30/90-day windows and Google’s own 10,000-row cap are enforced here with the reason instead of surfacing as an unreadable Google error, and a change takes up to three minutes to appear. Neither resource carries any metric or segment, so this says what changed, never what it cost. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "rows, max 10000 — Google’s own ceiling, and the clamp is reported"
},
"since": {
"type": "string",
"description": "YYYY-MM-DD, default 14 days ago"
},
"until": {
"type": "string",
"description": "YYYY-MM-DD, default today"
},
"detail": {
"type": "boolean",
"description": "change_event only — include the old/new resource snapshots"
},
"source": {
"enum": [
"change_event",
"change_status"
],
"type": "string",
"description": "default change_event (30 days, field-level). change_status is 90 days and is the only one that sees Google Ads Editor."
},
"customerId": {
"type": "string",
"description": "10-digit account id — omit to use the brand’s selected default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id when acting through a manager account; omit otherwise"
}
}
},
"annotations": {
"title": "What changed on a Google Ads account, and when",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| locations |
| array |
| location NAMES to target, e.g. ["United States"] or ["Toronto","Vancouver"]. WITHOUT this the campaign runs WORLDWIDE — the most expensive default in Google Ads |
| startDate | string | YYYY-MM-DD |
| customerId | string | 10-digit account id (from list_google_ads_campaigns) — omit to use the brand’s selected default account |
| channelType | string | default SEARCH |
| dailyBudgetUsd | number | daily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000) — creates a budget inline; required unless budgetResourceName is given |
| finalUrlSuffix | string | UTMs appended to every click, e.g. "utm_source=google&utm_medium=cpc". Omit for our default (utm_source/medium/campaign + {campaignid}/{creative}); "" for none |
| searchPartners | boolean | SEARCH only — also serve on Google search partners (default false) |
| loginCustomerId | string | manager id if operating through an MCC |
| excludedLocations | array | location names to EXCLUDE |
| budgetResourceName | string | reuse an existing budget instead of creating one |
| trackingUrlTemplate | string | click-tracking redirect, e.g. "{lpurl}?src=x" — only if you use a tracker |
| urlCustomParameters | object | up to 8 custom parameters, used in URLs as {_key} |
| containsEuPoliticalAds | boolean | EU Political Advertising Regulation declaration. Google REQUIRES one on every campaign. Default false (a normal commercial ad) — set true ONLY for genuine EU political advertising |
{
"name": "create_google_ads_campaign",
"title": "Build a Google Ads campaign (paused)",
"description": "Build a campaign on a connected Google Ads account. ALWAYS created PAUSED — it spends NOTHING until you enable it with set_google_ads_status(confirm:true). Google's object graph is campaign -> ad group -> ad, so a campaign ON ITS OWN CANNOT SERVE AN IMPRESSION: pass adGroup{name, ad{headlines,descriptions,finalUrls}, keywords[]} and this builds budget + campaign + location/language targeting + ad group + ad + keywords in ONE ATOMIC operation (if any part is rejected, nothing at all is created — no half-built campaign to clean up). Also here: bidding strategy, locations by NAME (\"United States\", \"Toronto\" — resolved for you), languages, and start/end dates. Google requires 3–15 headlines (≤30 chars) and 2–4 descriptions (≤90 chars) on a search ad. Everything is READ BACK from Google before you are told it exists; print the returned note verbatim, and if it says the campaign cannot serve yet, say that rather than calling it a finished ad.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "campaign name"
},
"dryRun": {
"type": "boolean",
"description": "validate the WHOLE tree against Google without creating anything. Nothing is written and no budget is consumed"
},
"adGroup": {
"type": "object",
"properties": {
"ad": {
"type": "object",
"properties": {
"path1": {
"type": "string",
"description": "SEARCH only — display-URL path segment, ≤15 chars"
},
"path2": {
"type": "string",
"description": "SEARCH only — second display-URL path segment, ≤15 chars"
},
"finalUrls": {
"type": "array",
"items": {
"type": "string"
},
"description": "the landing page(s) — at least one is required"
},
"headlines": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"text"
],
"properties": {
"pin": {
"enum": [
"HEADLINE_1",
"HEADLINE_2",
"HEADLINE_3",
"DESCRIPTION_1",
"DESCRIPTION_2"
],
"type": "string"
},
"text": {
"type": "string"
}
}
}
]
},
"description": "SEARCH: 3–15 headlines, each ≤30 characters. DISPLAY: 1–5. Pass a plain string, or {text, pin} to PIN one to a fixed slot (a brand name or legal line)."
},
"logoImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "DISPLAY only — logo asset resource names"
},
"businessName": {
"type": "string",
"description": "DISPLAY only — ≤25 characters"
},
"descriptions": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"text"
],
"properties": {
"pin": {
"enum": [
"HEADLINE_1",
"HEADLINE_2",
"HEADLINE_3",
"DESCRIPTION_1",
"DESCRIPTION_2"
],
"type": "string"
},
"text": {
"type": "string"
}
}
}
]
},
"description": "SEARCH: 2–4 descriptions, each ≤90 characters. DISPLAY: 1–5. Pass a plain string, or {text, pin} to pin it."
},
"longHeadline": {
"type": "string",
"description": "DISPLAY only — ≤90 characters"
},
"marketingImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "DISPLAY only — landscape 1.91:1 asset resource names from upload_google_ads_asset"
},
"squareMarketingImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "DISPLAY only — square 1:1 asset resource names"
}
},
"description": "the ad to build in the ad group: finalUrls, headlines, descriptions, path1, path2"
},
"name": {
"type": "string",
"description": "ad group name"
},
"keywords": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "≤80 characters, ≤10 words"
},
"paused": {
"type": "boolean",
"description": "true = create this keyword paused, so it does not bid"
},
"negative": {
"type": "boolean",
"description": "true = BLOCK this term instead of targeting it"
},
"cpcBidUsd": {
"type": "number",
"description": "per-keyword max CPC"
},
"matchType": {
"enum": [
"EXACT",
"PHRASE",
"BROAD"
],
"type": "string",
"description": "default PHRASE"
}
}
},
"description": "keywords for the ad group as a list of {text, matchType, negative, cpcBidUsd, paused}"
},
"cpcBidUsd": {
"type": "number",
"description": "max CPC for the ad group in the ACCOUNT’s currency (historical name); omit to inherit the campaign bidding"
}
},
"description": "build the serving tree in the same atomic call — WITHOUT this you get a campaign shell that can never show an ad"
},
"bidding": {
"type": "object",
"required": [
"strategy"
],
"properties": {
"strategy": {
"enum": [
"MANUAL_CPC",
"MAXIMIZE_CLICKS",
"MAXIMIZE_CONVERSIONS",
"MAXIMIZE_CONVERSION_VALUE",
"TARGET_CPA",
"TARGET_ROAS"
],
"type": "string",
"description": "bidding strategy; default MANUAL_CPC. TARGET_CPA needs targetCpaUsd, TARGET_ROAS needs targetRoas"
},
"maxCpcUsd": {
"type": "number",
"description": "MAXIMIZE_CLICKS only — optional max CPC ceiling"
},
"targetRoas": {
"type": "number",
"description": "REQUIRED for TARGET_ROAS — e.g. 4 = $4 revenue per $1 spent"
},
"enhancedCpc": {
"type": "boolean",
"description": "DO NOT SET true — Google retired Enhanced CPC for new campaigns and answers OPERATION_NOT_PERMITTED_FOR_CONTEXT (measured live 2026-08-05); Hermoso refuses it up front with the reason. Use MAXIMIZE_CONVERSIONS / TARGET_CPA instead."
},
"targetCpaUsd": {
"type": "number",
"description": "REQUIRED for TARGET_CPA — cost per conversion you will pay"
}
},
"description": "how the campaign bids — default MANUAL_CPC"
},
"endDate": {
"type": "string",
"description": "YYYY-MM-DD"
},
"languages": {
"type": "array",
"items": {
"type": "string"
},
"description": "ISO language codes, e.g. [\"en\",\"fr\"]"
},
"locations": {
"type": "array",
"items": {
"type": "string"
},
"description": "location NAMES to target, e.g. [\"United States\"] or [\"Toronto\",\"Vancouver\"]. WITHOUT this the campaign runs WORLDWIDE — the most expensive default in Google Ads"
},
"startDate": {
"type": "string",
"description": "YYYY-MM-DD"
},
"customerId": {
"type": "string",
"description": "10-digit account id (from list_google_ads_campaigns) — omit to use the brand’s selected default account"
},
"channelType": {
"enum": [
"SEARCH",
"DISPLAY"
],
"type": "string",
"description": "default SEARCH"
},
"dailyBudgetUsd": {
"type": "number",
"description": "daily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000) — creates a budget inline; required unless budgetResourceName is given"
},
"finalUrlSuffix": {
"type": "string",
"description": "UTMs appended to every click, e.g. \"utm_source=google&utm_medium=cpc\". Omit for our default (utm_source/medium/campaign + {campaignid}/{creative}); \"\" for none"
},
"searchPartners": {
"type": "boolean",
"description": "SEARCH only — also serve on Google search partners (default false)"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"excludedLocations": {
"type": "array",
"items": {
"type": "string"
},
"description": "location names to EXCLUDE"
},
"budgetResourceName": {
"type": "string",
"description": "reuse an existing budget instead of creating one"
},
"trackingUrlTemplate": {
"type": "string",
"description": "click-tracking redirect, e.g. \"{lpurl}?src=x\" — only if you use a tracker"
},
"urlCustomParameters": {
"type": "object",
"description": "up to 8 custom parameters, used in URLs as {_key}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"containsEuPoliticalAds": {
"type": "boolean",
"description": "EU Political Advertising Regulation declaration. Google REQUIRES one on every campaign. Default false (a normal commercial ad) — set true ONLY for genuine EU political advertising"
}
}
},
"annotations": {
"title": "Build a Google Ads campaign (paused)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| string |
| the campaign this ad group belongs to |
| customerId | string | omit to use the brand’s selected default account |
| loginCustomerId | string | manager (MCC) account id when acting through a manager account; omit otherwise |
{
"name": "create_google_ads_ad_group",
"title": "Add an ad group to a Google Ads campaign",
"description": "Add an ad group to an EXISTING Google Ads campaign — the level between a campaign and its ads. Google requires it: a campaign with no ad group cannot serve. Optionally build its ad and keywords in the same ATOMIC call. The ad-group type is taken from the campaign's channel automatically. Created PAUSED and read back from Google before you are told it exists. If the parent campaign is already LIVE (ENABLED), creating this ENABLED starts REAL AD SPEND immediately — show the user what would begin serving, get an explicit yes, then pass confirm:true. Leaving it PAUSED never needs confirmation.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"campaignId",
"name"
],
"properties": {
"ad": {
"type": "object",
"properties": {
"path1": {
"type": "string",
"description": "SEARCH only — display-URL path segment, ≤15 chars"
},
"path2": {
"type": "string",
"description": "SEARCH only — second display-URL path segment, ≤15 chars"
},
"finalUrls": {
"type": "array",
"items": {
"type": "string"
},
"description": "the landing page(s) — at least one is required"
},
"headlines": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"text"
],
"properties": {
"pin": {
"enum": [
"HEADLINE_1",
"HEADLINE_2",
"HEADLINE_3",
"DESCRIPTION_1",
"DESCRIPTION_2"
],
"type": "string"
},
"text": {
"type": "string"
}
}
}
]
},
"description": "SEARCH: 3–15 headlines, each ≤30 characters. DISPLAY: 1–5. Pass a plain string, or {text, pin} to PIN one to a fixed slot (a brand name or legal line)."
},
"logoImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "DISPLAY only — logo asset resource names"
},
"businessName": {
"type": "string",
"description": "DISPLAY only — ≤25 characters"
},
"descriptions": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"text"
],
"properties": {
"pin": {
"enum": [
"HEADLINE_1",
"HEADLINE_2",
"HEADLINE_3",
"DESCRIPTION_1",
"DESCRIPTION_2"
],
"type": "string"
},
"text": {
"type": "string"
}
}
}
]
},
"description": "SEARCH: 2–4 descriptions, each ≤90 characters. DISPLAY: 1–5. Pass a plain string, or {text, pin} to pin it."
},
"longHeadline": {
"type": "string",
"description": "DISPLAY only — ≤90 characters"
},
"marketingImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "DISPLAY only — landscape 1.91:1 asset resource names from upload_google_ads_asset"
},
"squareMarketingImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "DISPLAY only — square 1:1 asset resource names"
}
},
"description": "build the ad in the same atomic call"
},
"name": {
"type": "string",
"description": "ad group name"
},
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and create nothing"
},
"status": {
"enum": [
"ENABLED",
"PAUSED"
],
"type": "string",
"description": "default PAUSED"
},
"confirm": {
"type": "boolean",
"description": "set true ONLY after the user explicitly approved starting spend — required when the parent campaign is already LIVE (ENABLED) and this object would serve immediately"
},
"keywords": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "≤80 characters, ≤10 words"
},
"paused": {
"type": "boolean",
"description": "true = create this keyword paused, so it does not bid"
},
"negative": {
"type": "boolean",
"description": "true = BLOCK this term instead of targeting it"
},
"cpcBidUsd": {
"type": "number",
"description": "per-keyword max CPC"
},
"matchType": {
"enum": [
"EXACT",
"PHRASE",
"BROAD"
],
"type": "string",
"description": "default PHRASE"
}
}
},
"description": "a SEARCH ad group with no keywords never shows"
},
"cpcBidUsd": {
"type": "number",
"description": "max CPC for this ad group — omit to inherit the campaign bidding"
},
"campaignId": {
"type": "string",
"description": "the campaign this ad group belongs to"
},
"customerId": {
"type": "string",
"description": "omit to use the brand’s selected default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id when acting through a manager account; omit otherwise"
}
}
},
"annotations": {
"title": "Add an ad group to a Google Ads campaign",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| the landing page(s) — at least one is required |
| headlines | array | SEARCH: 3–15 headlines, each ≤30 characters. DISPLAY: 1–5. Pass a plain string, or {text, pin} to PIN one to a fixed slot (a brand name or legal line). |
| customerId | string | omit to use the brand’s selected default account |
| logoImages | array | DISPLAY only — logo asset resource names |
| businessName | string | DISPLAY only — ≤25 characters |
| descriptions | array | SEARCH: 2–4 descriptions, each ≤90 characters. DISPLAY: 1–5. Pass a plain string, or {text, pin} to pin it. |
| longHeadline | string | DISPLAY only — ≤90 characters |
| loginCustomerId | string | manager (MCC) account id when acting through a manager account; omit otherwise |
| marketingImages | array | DISPLAY only — landscape 1.91:1 asset resource names from upload_google_ads_asset |
| squareMarketingImages | array | DISPLAY only — square 1:1 asset resource names |
{
"name": "create_google_ads_ad",
"title": "Create a Google Ads ad",
"description": "Create the actual AD inside a Google Ads ad group — this is the object that carries the creative; a campaign or ad group alone shows nothing. On a SEARCH campaign it builds a RESPONSIVE SEARCH AD: 3–15 headlines (≤30 chars), 2–4 descriptions (≤90 chars), at least one finalUrl, optional path1/path2. On a DISPLAY campaign it builds a RESPONSIVE DISPLAY AD: headlines, longHeadline, descriptions, businessName plus BOTH a landscape (1.91:1) and a square (1:1) image asset from upload_google_ads_asset. The right format is chosen from the campaign's channel. Created PAUSED and read back from Google. If the parent campaign is already LIVE (ENABLED), creating this ENABLED starts REAL AD SPEND immediately — show the user what would begin serving, get an explicit yes, then pass confirm:true. Leaving it PAUSED never needs confirmation.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adGroupId"
],
"properties": {
"path1": {
"type": "string",
"description": "SEARCH only — display-URL path segment, ≤15 chars"
},
"path2": {
"type": "string",
"description": "SEARCH only — second display-URL path segment, ≤15 chars"
},
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and create nothing"
},
"status": {
"enum": [
"ENABLED",
"PAUSED"
],
"type": "string",
"description": "default PAUSED"
},
"confirm": {
"type": "boolean",
"description": "set true ONLY after the user explicitly approved starting spend — required when the parent campaign is already LIVE (ENABLED) and this object would serve immediately"
},
"adGroupId": {
"type": "string",
"description": "the ad group this ad lives in"
},
"finalUrls": {
"type": "array",
"items": {
"type": "string"
},
"description": "the landing page(s) — at least one is required"
},
"headlines": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"text"
],
"properties": {
"pin": {
"enum": [
"HEADLINE_1",
"HEADLINE_2",
"HEADLINE_3",
"DESCRIPTION_1",
"DESCRIPTION_2"
],
"type": "string"
},
"text": {
"type": "string"
}
}
}
]
},
"description": "SEARCH: 3–15 headlines, each ≤30 characters. DISPLAY: 1–5. Pass a plain string, or {text, pin} to PIN one to a fixed slot (a brand name or legal line)."
},
"customerId": {
"type": "string",
"description": "omit to use the brand’s selected default account"
},
"logoImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "DISPLAY only — logo asset resource names"
},
"businessName": {
"type": "string",
"description": "DISPLAY only — ≤25 characters"
},
"descriptions": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"text"
],
"properties": {
"pin": {
"enum": [
"HEADLINE_1",
"HEADLINE_2",
"HEADLINE_3",
"DESCRIPTION_1",
"DESCRIPTION_2"
],
"type": "string"
},
"text": {
"type": "string"
}
}
}
]
},
"description": "SEARCH: 2–4 descriptions, each ≤90 characters. DISPLAY: 1–5. Pass a plain string, or {text, pin} to pin it."
},
"longHeadline": {
"type": "string",
"description": "DISPLAY only — ≤90 characters"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id when acting through a manager account; omit otherwise"
},
"marketingImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "DISPLAY only — landscape 1.91:1 asset resource names from upload_google_ads_asset"
},
"squareMarketingImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "DISPLAY only — square 1:1 asset resource names"
}
}
},
"annotations": {
"title": "Create a Google Ads ad",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "add_google_ads_keywords",
"title": "Add Google Ads keywords",
"description": "Add keywords — and NEGATIVE keywords — to a Google Ads ad group. A Search ad group with no keywords never shows. Each keyword takes text (≤80 chars, ≤10 words) and matchType EXACT | PHRASE | BROAD (default PHRASE). Set negative:true to BLOCK a term instead of targeting it, which is the cheapest way to stop wasted spend. Read back from Google before you are told they exist. If the parent campaign and ad group are already LIVE, a positive keyword starts bidding real money at once — get an explicit yes and pass confirm:true, or add it with paused:true. Negative keywords only restrict spend and never need confirmation.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adGroupId",
"keywords"
],
"properties": {
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and create nothing"
},
"confirm": {
"type": "boolean",
"description": "set true ONLY after the user explicitly approved starting spend — required when the parent campaign is already LIVE (ENABLED) and this object would serve immediately"
},
"keywords": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "≤80 characters, ≤10 words"
},
"paused": {
"type": "boolean",
"description": "true = create this keyword paused, so it does not bid"
},
"negative": {
"type": "boolean",
"description": "true = BLOCK this term instead of targeting it"
},
"cpcBidUsd": {
"type": "number",
"description": "per-keyword max CPC"
},
"matchType": {
"enum": [
"EXACT",
"PHRASE",
"BROAD"
],
"type": "string",
"description": "default PHRASE"
}
}
},
"description": "the keywords to add"
},
"adGroupId": {
"type": "string",
"description": "the ad group to add them to"
},
"customerId": {
"type": "string",
"description": "omit to use the brand’s selected default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id when acting through a manager account; omit otherwise"
}
}
},
"annotations": {
"title": "Add Google Ads keywords",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| countryCode |
| string |
| 2-letter hint to disambiguate a city name, e.g. CA for "London" |
| loginCustomerId | string | manager (MCC) account id when acting through a manager account; omit otherwise |
| excludedLocations | array | location NAMES to exclude |
{
"name": "set_google_ads_targeting",
"title": "Add Google Ads location & language targeting",
"description": "ADD locations and languages to an existing Google Ads campaign. THIS ADDS; IT DOES NOT REPLACE — Google campaign criteria are a list, this call only ever creates entries, and there is no remove operation here. So a campaign already targeting the United States that you \"change to Canada\" ends up targeting BOTH and still spending in the US; the read-back names every pre-existing location and language it kept, and you MUST relay that rather than reporting the new total as the answer. Removing targeting is done in Google Ads (Campaign > Settings > Locations). Pass locations by NAME (\"United States\", \"California\", \"Toronto\") — they are resolved to Google's geo target ids for you; excludedLocations adds a NEGATIVE criterion (the reliable way to stop serving somewhere from here); languages takes ISO codes (\"en\",\"fr\"). A campaign with NO location targeting runs WORLDWIDE, which is the most expensive default in Google Ads. Changing a LIVE campaign's targeting moves real spend immediately, so that needs confirm:true.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"campaignId"
],
"properties": {
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and change nothing"
},
"confirm": {
"type": "boolean",
"description": "REQUIRED true to change a LIVE (ENABLED) campaign"
},
"languages": {
"type": "array",
"items": {
"type": "string"
},
"description": "ISO language codes, e.g. [\"en\",\"es\"]"
},
"locations": {
"type": "array",
"items": {
"type": "string"
},
"description": "location NAMES to target"
},
"campaignId": {
"type": "string",
"description": "the campaign to target"
},
"customerId": {
"type": "string",
"description": "omit to use the brand’s selected default account"
},
"countryCode": {
"type": "string",
"description": "2-letter hint to disambiguate a city name, e.g. CA for \"London\""
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id when acting through a manager account; omit otherwise"
},
"excludedLocations": {
"type": "array",
"items": {
"type": "string"
},
"description": "location NAMES to exclude"
}
}
},
"annotations": {
"title": "Add Google Ads location & language targeting",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| REQUIRED for TARGET_ROAS — e.g. 4 = $4 revenue per $1 spent |
| enhancedCpc | boolean | DO NOT SET true — Google retired Enhanced CPC for new campaigns and answers OPERATION_NOT_PERMITTED_FOR_CONTEXT (measured live 2026-08-05); Hermoso refuses it up front with the reason. Use MAXIMIZE_CONVERSIONS / TARGET_CPA instead. |
| targetCpaUsd | number | REQUIRED for TARGET_CPA |
| loginCustomerId | string | manager (MCC) account id when acting through a manager account; omit otherwise |
{
"name": "set_google_ads_bidding",
"title": "Set a Google Ads bidding strategy",
"description": "Change how an existing Google Ads campaign bids: MANUAL_CPC (optionally enhanced), MAXIMIZE_CLICKS (needs maxCpcUsd on an existing campaign — Google requires the CPC ceiling on that change), MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, TARGET_CPA (needs targetCpaUsd) or TARGET_ROAS (needs targetRoas, e.g. 4 = $4 revenue per $1 spent). TARGET_CPA and TARGET_ROAS are applied as Google's own v25 equivalents — maximize-conversions with a target CPA, and maximize-conversion-value with a target ROAS — so the read-back reports them as MAXIMIZE_CONVERSIONS / MAXIMIZE_CONVERSION_VALUE; report what the read-back says. The conversion-based strategies only deliver once conversion tracking is configured on the account. Changing a LIVE campaign's bidding changes what it pays immediately, so that needs confirm:true.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"campaignId",
"strategy"
],
"properties": {
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and change nothing"
},
"confirm": {
"type": "boolean",
"description": "REQUIRED true to change a LIVE (ENABLED) campaign"
},
"strategy": {
"enum": [
"MANUAL_CPC",
"MAXIMIZE_CLICKS",
"MAXIMIZE_CONVERSIONS",
"MAXIMIZE_CONVERSION_VALUE",
"TARGET_CPA",
"TARGET_ROAS"
],
"type": "string",
"description": "the bidding strategy"
},
"maxCpcUsd": {
"type": "number",
"description": "MAXIMIZE_CLICKS — the max CPC ceiling; REQUIRED when switching an existing campaign to it"
},
"campaignId": {
"type": "string",
"description": "the campaign to change"
},
"customerId": {
"type": "string",
"description": "omit to use the brand’s selected default account"
},
"targetRoas": {
"type": "number",
"description": "REQUIRED for TARGET_ROAS — e.g. 4 = $4 revenue per $1 spent"
},
"enhancedCpc": {
"type": "boolean",
"description": "DO NOT SET true — Google retired Enhanced CPC for new campaigns and answers OPERATION_NOT_PERMITTED_FOR_CONTEXT (measured live 2026-08-05); Hermoso refuses it up front with the reason. Use MAXIMIZE_CONVERSIONS / TARGET_CPA instead."
},
"targetCpaUsd": {
"type": "number",
"description": "REQUIRED for TARGET_CPA"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id when acting through a manager account; omit otherwise"
}
}
},
"annotations": {
"title": "Set a Google Ads bidding strategy",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| campaign id (level:"campaign") |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| confirmName | string | when archiving or removing: its EXACT name, as the unconfirmed call names it. Required when it has children or is live |
| confirmChildren | number | when archiving or removing: the exact number of children the unconfirmed call reported. Required when it has any |
| loginCustomerId | string | manager id if operating through an MCC |
| campaignResourceName | string | full resource name, e.g. customers/{cid}/campaigns/{id} |
{
"name": "set_google_ads_status",
"title": "Enable, pause or remove a Google Ads campaign / ad group / ad",
"description": "Turn a campaign, AD GROUP, AD or one KEYWORD ON (ENABLED), OFF (PAUSED) or REMOVED. Pass level:\"campaign\" + campaignId, level:\"adGroup\" + adGroupId, level:\"ad\" + BOTH adGroupId and adId (Google keys an ad by adGroupId~adId), or level:\"keyword\" + BOTH adGroupId and keywordId. ENABLING STARTS REAL AD SPEND — you MUST first show the user the campaign name + its daily budget, get an explicit yes, then call with status:\"ENABLED\" and confirm:true. Pausing is always safe. REMOVED is PERMANENT in Google Ads and is handled by the same gate as delete_google_ads_object — call it once WITHOUT confirm to see what goes with it, and expect to echo back the object’s name and child count when it has children, is live, or has spent. The resulting status is READ BACK from Google before you are told it took.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status"
],
"properties": {
"adId": {
"type": "string",
"description": "ad id (level:\"ad\" — pass adGroupId too)"
},
"level": {
"enum": [
"campaign",
"adGroup",
"ad",
"keyword"
],
"type": "string",
"description": "what to change — default campaign"
},
"status": {
"enum": [
"ENABLED",
"PAUSED",
"REMOVED"
],
"type": "string",
"description": "ENABLED = start spending; PAUSED = stop; REMOVED = permanent"
},
"confirm": {
"type": "boolean",
"description": "REQUIRED true to ENABLE (real spend) or to REMOVE (permanent)"
},
"adGroupId": {
"type": "string",
"description": "ad group id (level:\"adGroup\", or with adId for level:\"ad\")"
},
"keywordId": {
"type": "string",
"description": "keyword criterion id (level:\"keyword\", with adGroupId)"
},
"campaignId": {
"type": "string",
"description": "campaign id (level:\"campaign\")"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"confirmName": {
"type": "string",
"description": "when archiving or removing: its EXACT name, as the unconfirmed call names it. Required when it has children or is live"
},
"confirmChildren": {
"type": "number",
"description": "when archiving or removing: the exact number of children the unconfirmed call reported. Required when it has any"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"campaignResourceName": {
"type": "string",
"description": "full resource name, e.g. customers/{cid}/campaigns/{id}"
}
}
},
"annotations": {
"title": "Enable, pause or remove a Google Ads campaign / ad group / ad",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}{
"name": "manage_google_ads_budget_networks",
"title": "Google Ads waterfall priorities and network spend caps",
"description": "Google Ads WATERFALL AND NETWORK CAPS: which network a budget spends on first and how much the others may take. action 'read' (default), 'set' (settings) or 'clear', on the ACCOUNT DEFAULT or, with budgetId, on one campaign budget, which then wins. Every channel a campaign type supports must be in a tier and caps only go on tier2; Google says which if not. A budget's read says whether it can use these and why not. 'set' and 'clear' move real spend on the next auction: show the user, get a yes, then confirm:true; dryRun:true validates without changing anything.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"action": {
"enum": [
"read",
"set",
"clear"
],
"type": "string",
"description": "default 'read'"
},
"dryRun": {
"type": "boolean",
"description": "validate with Google, write nothing"
},
"confirm": {
"type": "boolean",
"description": "REQUIRED true for set and clear, after the user approved"
},
"budgetId": {
"type": "string",
"description": "numeric campaign budget id; omit for the account default"
},
"settings": {
"type": "array",
"items": {
"type": "object",
"required": [
"channelType"
],
"properties": {
"caps": {
"type": "array",
"items": {
"type": "object",
"required": [
"channel",
"percent"
],
"properties": {
"channel": {
"type": "string",
"description": "a channel in tier2"
},
"percent": {
"type": "number",
"description": "most of the budget it may spend, 0-100"
}
}
},
"description": "spend caps on tier2 channels"
},
"tier1": {
"type": "array",
"items": {
"enum": [
"OWNED_AND_OPERATED",
"SEARCH_PARTNER",
"GOOGLE_DISPLAY"
],
"type": "string"
},
"description": "channels that spend first"
},
"tier2": {
"type": "array",
"items": {
"enum": [
"OWNED_AND_OPERATED",
"SEARCH_PARTNER",
"GOOGLE_DISPLAY"
],
"type": "string"
},
"description": "channels that get what is left"
},
"channelType": {
"type": "string",
"description": "campaign type: SEARCH, DISPLAY, SHOPPING, VIDEO, PERFORMANCE_MAX, DEMAND_GEN and so on"
}
}
},
"description": "for set: one entry per campaign type"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok); omit to use the brand’s selected default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Google Ads waterfall priorities and network spend caps",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| serve on Google search partner sites (target_search_network) |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "set_google_ads_networks",
"title": "Change where a Google Ads campaign serves (Search partners / Display)",
"description": "Change WHERE an existing Google Ads campaign serves: Google Search, Search partners (target_search_network) and the Display Network (target_content_network), each true/false. The classic use is turning Search partners OFF on a Search campaign, or Display off. Current settings are read first and a no-op says so. On a LIVE (ENABLED) campaign this moves real spend on the next auction — show the user the before -> after, get an explicit yes, then call again with confirm:true. dryRun:true validates with Google and writes nothing. The result is READ BACK from Google before you are told it took; Google’s own rules (a Display campaign cannot take Google Search on, a Search campaign keeps Google Search on) are relayed by name.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"campaignId"
],
"properties": {
"dryRun": {
"type": "boolean",
"description": "validate with Google, write nothing"
},
"confirm": {
"type": "boolean",
"description": "REQUIRED true to change a LIVE (ENABLED) campaign"
},
"display": {
"type": "boolean",
"description": "serve on the Google Display Network (target_content_network)"
},
"campaignId": {
"type": "string",
"description": "the campaign to change"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"googleSearch": {
"type": "boolean",
"description": "serve on Google Search (target_google_search)"
},
"searchPartners": {
"type": "boolean",
"description": "serve on Google search partner sites (target_search_network)"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Change where a Google Ads campaign serves (Search partners / Display)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| string |
| the campaign |
| customerId | string | omit to use the selected default account |
| scheduleMode | string | replace (default) or add to the current schedule |
| clearSchedule | boolean | remove the schedule so it runs all day |
| adGroupDevices | object | ad-group device multipliers (needs adGroupId) |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "set_google_ads_schedule_and_bids",
"title": "Google Ads ad schedule + device / location / hour bid adjustments",
"description": "WHEN a Google Ads campaign runs and how much more or less it bids by device, location and hour. Pass only campaignId to read the current schedule and adjustments. schedule:[{day: MONDAY…SUNDAY | WEEKDAYS | WEEKENDS | EVERYDAY, start:\"09:00\", end:\"17:00\", bidModifier?}] REPLACES the schedule (scheduleMode:\"add\" appends; clearSchedule:true runs it all day again); account time zone, quarter hours, end may be 24:00. devices {mobile, desktop, tablet, connectedTv} and adGroupDevices (with adGroupId) take MULTIPLIERS: 1.2 = +20%, 0.8 = -20%, 0 = never show on that device. locations:[{geoTargetId, bidModifier}] adjusts locations the campaign already targets. On a LIVE campaign a change that can raise spend (more hours, a higher multiplier) needs confirm:true after the user approves; lowering never does. dryRun:true validates only. Read back from Google.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"campaignId"
],
"properties": {
"dryRun": {
"type": "boolean",
"description": "validate with Google, change nothing"
},
"confirm": {
"type": "boolean",
"description": "true only after the user approved a change to a LIVE campaign or a delete"
},
"devices": {
"type": "object",
"properties": {
"mobile": {
"type": "number",
"description": "campaign bid multiplier for mobile; 1.2 = +20%, 0 = never show on mobile"
},
"tablet": {
"type": "number",
"description": "campaign bid multiplier for tablets; 1.2 = +20%, 0 = never show on tablets"
},
"desktop": {
"type": "number",
"description": "campaign bid multiplier for desktop; 1.2 = +20%, 0 = never show on desktop"
},
"connectedTv": {
"type": "number",
"description": "campaign bid multiplier for connected TV; 1.2 = +20%, 0 = never show there"
}
},
"description": "campaign-level device multipliers"
},
"schedule": {
"type": "array",
"items": {
"type": "object",
"required": [
"day",
"start",
"end"
],
"properties": {
"day": {
"type": "string",
"description": "MONDAY to SUNDAY, WEEKDAYS, WEEKENDS or EVERYDAY"
},
"end": {
"type": "string",
"description": "end time HH:MM in the account time zone; 24:00 allowed"
},
"start": {
"type": "string",
"description": "start time HH:MM in the account time zone, quarter hours, e.g. 09:00"
},
"bidModifier": {
"type": "number",
"description": "bid multiplier for this slot; 1.2 = +20%, 0.8 = -20%"
}
}
},
"description": "ad schedule slots; replaces the current schedule unless scheduleMode is add"
},
"adGroupId": {
"type": "string",
"description": "for adGroupDevices"
},
"locations": {
"type": "array",
"items": {
"type": "object",
"required": [
"geoTargetId",
"bidModifier"
],
"properties": {
"bidModifier": {
"type": "number",
"description": "bid multiplier for this location; 1.2 = +20%, 0.8 = -20%"
},
"geoTargetId": {
"type": "string",
"description": "Google geo target id, from find_google_ads_locations"
}
}
},
"description": "bid adjustments for locations the campaign already targets"
},
"campaignId": {
"type": "string",
"description": "the campaign"
},
"customerId": {
"type": "string",
"description": "omit to use the selected default account"
},
"scheduleMode": {
"enum": [
"replace",
"add"
],
"type": "string",
"description": "replace (default) or add to the current schedule"
},
"clearSchedule": {
"type": "boolean",
"description": "remove the schedule so it runs all day"
},
"adGroupDevices": {
"type": "object",
"properties": {
"mobile": {
"type": "number",
"description": "ad group bid multiplier for mobile; needs adGroupId; 0 = never show"
},
"tablet": {
"type": "number",
"description": "ad group bid multiplier for tablets; needs adGroupId; 0 = never show"
},
"desktop": {
"type": "number",
"description": "ad group bid multiplier for desktop; needs adGroupId; 0 = never show"
},
"connectedTv": {
"type": "number",
"description": "ad group bid multiplier for connected TV; needs adGroupId; 0 = never show"
}
},
"description": "ad-group device multipliers (needs adGroupId)"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Google Ads ad schedule + device / location / hour bid adjustments",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| the list (from action list) |
| accountLevel | boolean | create: apply to every campaign on the account |
| criterionIds | array | remove_keywords by id |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "manage_google_ads_negative_list",
"title": "Google Ads shared negative keyword lists",
"description": "Shared NEGATIVE KEYWORD LISTS: one list of blocked searches reused across Google Ads campaigns, or applied to the whole account. action: list (with sharedSetId shows its keywords) | create (name, keywords, campaignIds or accountLevel:true) | add (keywords) | remove_keywords (keywords or criterionIds) | attach / detach (campaignIds) | delete. keywords are \"text\" or {text, matchType: BROAD|PHRASE|EXACT}. Creating, adding and attaching only block ads, so they never need confirm. Removing keywords, detaching or deleting lets blocked searches show ads again: confirm:true on a live campaign, and always for delete. One ad group's own negatives: add_google_ads_keywords with negative:true.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"description": "create"
},
"action": {
"enum": [
"list",
"create",
"add",
"remove_keywords",
"attach",
"detach",
"delete"
],
"type": "string",
"description": "default list"
},
"dryRun": {
"type": "boolean",
"description": "validate with Google, change nothing"
},
"confirm": {
"type": "boolean",
"description": "true only after the user approved a change to a LIVE campaign or a delete"
},
"keywords": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
},
"matchType": {
"enum": [
"BROAD",
"PHRASE",
"EXACT"
],
"type": "string"
}
}
}
]
},
"description": "keywords to block, as text strings or {text, matchType BROAD, PHRASE or EXACT} objects"
},
"customerId": {
"type": "string",
"description": "omit to use the selected default account"
},
"campaignIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "campaign ids to attach to or detach from the shared list"
},
"sharedSetId": {
"type": "string",
"description": "the list (from action list)"
},
"accountLevel": {
"type": "boolean",
"description": "create: apply to every campaign on the account"
},
"criterionIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "remove_keywords by id"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Google Ads shared negative keyword lists",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| one of ["list","create","update","pause","enable","remove","link","unlink","listing_groups","set_listing_groups"] |
| assets | object | text as text; images and videos as asset resource names |
| dryRun | boolean |
| unlink | array | links to remove, e.g. {asset:"customers/1/assets/2", fieldType:"HEADLINE"} |
| values | array |
| confirm | boolean |
| dimension | string | one of ["brand","itemId","productType","category","condition","channel","customAttribute"] |
| finalUrls | array |
| campaignId | string | the Performance Max campaign (list, create) |
| customerId | string | omit to use the brand’s selected default account |
| confirmName | string | remove: the group name exactly |
| assetGroupId | string | every action except list and create |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "manage_google_ads_asset_groups",
"title": "Manage Performance Max asset groups",
"description": "Performance Max ASSET GROUPS after launch. action: list (campaignId) | create (campaignId, name, finalUrls, assets; a non-retail group needs Google's minimum set in the same call: 3+ headlines, 1+ longHeadlines, 2+ descriptions, businessName + logos unless brand guidelines are on, 1+ marketingImages and squareMarketingImages as asset resource names from upload_google_ads_asset; born PAUSED) | update (assetGroupId; name, finalUrls, path1, path2) | pause | enable | remove (permanent: confirm:true + confirmName; never the last group) | link (assets to add) | unlink (unlink:[{asset, fieldType}], never below the minimum) | listing_groups (which feed products a RETAIL group advertises) | set_listing_groups (all:true, or dimension + values + mode include|exclude). A change to a live group needs confirm:true. Everything is read back. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"action"
],
"properties": {
"all": {
"type": "boolean",
"description": "set_listing_groups: advertise every product"
},
"mode": {
"enum": [
"include",
"exclude"
],
"type": "string",
"description": "include = only these; exclude = all but these"
},
"name": {
"type": "string"
},
"index": {
"type": "number",
"description": "customAttribute index 0-4"
},
"level": {
"type": "number",
"description": "productType / category level 1-5"
},
"path1": {
"type": "string"
},
"path2": {
"type": "string"
},
"action": {
"enum": [
"list",
"create",
"update",
"pause",
"enable",
"remove",
"link",
"unlink",
"listing_groups",
"set_listing_groups"
],
"type": "string"
},
"assets": {
"type": "object",
"properties": {
"logos": {
"type": "array",
"items": {
"type": "string"
}
},
"headlines": {
"type": "array",
"items": {
"type": "string"
}
},
"businessName": {
"type": "string"
},
"descriptions": {
"type": "array",
"items": {
"type": "string"
}
},
"longHeadlines": {
"type": "array",
"items": {
"type": "string"
}
},
"youtubeVideos": {
"type": "array",
"items": {
"type": "string"
}
},
"landscapeLogos": {
"type": "array",
"items": {
"type": "string"
}
},
"marketingImages": {
"type": "array",
"items": {
"type": "string"
}
},
"squareMarketingImages": {
"type": "array",
"items": {
"type": "string"
}
},
"portraitMarketingImages": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "text as text; images and videos as asset resource names"
},
"dryRun": {
"type": "boolean"
},
"unlink": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"fieldType"
],
"properties": {
"asset": {
"type": "string"
},
"fieldType": {
"type": "string"
}
}
},
"description": "links to remove, e.g. {asset:\"customers/1/assets/2\", fieldType:\"HEADLINE\"}"
},
"values": {
"type": "array",
"items": {
"type": "string"
}
},
"confirm": {
"type": "boolean"
},
"dimension": {
"enum": [
"brand",
"itemId",
"productType",
"category",
"condition",
"channel",
"customAttribute"
],
"type": "string"
},
"finalUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"campaignId": {
"type": "string",
"description": "the Performance Max campaign (list, create)"
},
"customerId": {
"type": "string",
"description": "omit to use the brand’s selected default account"
},
"confirmName": {
"type": "string",
"description": "remove: the group name exactly"
},
"assetGroupId": {
"type": "string",
"description": "every action except list and create"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Manage Performance Max asset groups",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| string |
| finalMobileUrls | array |
| loginCustomerId | string |
| trackingUrlTemplate | string |
{
"name": "update_google_ads_ad",
"title": "Edit a Google responsive search ad in place",
"description": "EDIT a responsive search ad IN PLACE so it keeps its history: headlines (3-15, ≤30 characters; {text, pin:\"HEADLINE_1\"} pins one), descriptions (2-4, ≤90), path1 / path2 (≤15), finalUrls, finalMobileUrls, finalUrlSuffix, trackingUrlTemplate. A list you pass REPLACES the ad's list, so send it whole. Over-long text is refused, never cut. A live ad needs confirm:true and Google reviews it again. Read back. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adId"
],
"properties": {
"adId": {
"type": "string",
"description": "the ad id (from google_ads_report)"
},
"path1": {
"type": "string"
},
"path2": {
"type": "string"
},
"dryRun": {
"type": "boolean"
},
"confirm": {
"type": "boolean"
},
"adGroupId": {
"type": "string"
},
"finalUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"headlines": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"text"
],
"properties": {
"pin": {
"type": "string"
},
"text": {
"type": "string"
}
}
}
]
}
},
"customerId": {
"type": "string"
},
"descriptions": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"text"
],
"properties": {
"pin": {
"type": "string"
},
"text": {
"type": "string"
}
}
}
]
}
},
"finalUrlSuffix": {
"type": "string"
},
"finalMobileUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"loginCustomerId": {
"type": "string"
},
"trackingUrlTemplate": {
"type": "string"
}
}
},
"annotations": {
"title": "Edit a Google responsive search ad in place",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| campaignIds |
| array |
| campaign ids to apply or remove the label on |
| description | string | up to 200 characters |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "manage_google_ads_labels",
"title": "Google Ads labels on campaigns, ad groups and ads",
"description": "Google Ads LABELS for organising campaigns, ad groups and ads (\"Made by Hermoso\", \"Q4 test\"). action: list | create (name, color #RRGGBB, description, and targets to label at once) | update (name, color, description) | apply / remove (campaignIds, adGroupIds, ads:[{adGroupId, adId}]) | delete (confirm:true). Labels never change delivery or spend. Report by label with google_ads_report over campaign_label / ad_group_label / ad_group_ad_label.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"ads": {
"type": "array",
"items": {
"type": "object",
"required": [
"adGroupId",
"adId"
],
"properties": {
"adId": {
"type": "string",
"description": "ad id to label"
},
"adGroupId": {
"type": "string",
"description": "ad group the ad belongs to"
}
}
},
"description": "ads to label, as a list of {adGroupId, adId} objects"
},
"name": {
"type": "string",
"description": "label name, for create or update"
},
"color": {
"type": "string",
"description": "#RRGGBB"
},
"action": {
"enum": [
"list",
"create",
"update",
"apply",
"remove",
"delete"
],
"type": "string",
"description": "default list"
},
"dryRun": {
"type": "boolean",
"description": "validate with Google, change nothing"
},
"confirm": {
"type": "boolean",
"description": "true only after the user approved a change to a LIVE campaign or a delete"
},
"labelId": {
"type": "string",
"description": "the label (from action list)"
},
"adGroupIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "ad group ids to apply or remove the label on"
},
"customerId": {
"type": "string",
"description": "omit to use the selected default account"
},
"campaignIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "campaign ids to apply or remove the label on"
},
"description": {
"type": "string",
"description": "up to 200 characters"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Google Ads labels on campaigns, ad groups and ads",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| 4 = 4x revenue per unit spent |
| campaignIds | array | campaign ids to attach to the strategy |
| targetCpaUsd | number | cost per conversion |
| loginCustomerId | string | manager id if operating through an MCC |
| biddingStrategyId | string | the strategy (from action list) |
| impressionSharePercent | number | 1-100 |
| impressionShareLocation | string | where to aim impression share: ANYWHERE_ON_PAGE, TOP_OF_PAGE or ABSOLUTE_TOP_OF_PAGE |
| allowNoConversionTracking | boolean | skip the conversion-tracking check |
{
"name": "manage_google_ads_bid_strategy",
"title": "Google Ads portfolio bid strategies",
"description": "PORTFOLIO bid strategies: one shared Google Ads strategy and target driving several campaigns. action: list | create (name, strategy, its targets, optional campaignIds to attach) | update (targets or name; the type cannot change) | attach (campaignIds) | delete (only once no campaign uses it; confirm:true). Amounts are in the account currency. Changing targets of, or attaching, a LIVE campaign changes how it bids now: confirm:true after the user approves. Performance Max cannot use a portfolio. To move a campaign OFF a portfolio, call set_google_ads_bidding on it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"description": "strategy name, for create or update"
},
"action": {
"enum": [
"list",
"create",
"update",
"attach",
"delete"
],
"type": "string",
"description": "default list"
},
"dryRun": {
"type": "boolean",
"description": "validate with Google, change nothing"
},
"confirm": {
"type": "boolean",
"description": "true only after the user approved a change to a LIVE campaign or a delete"
},
"strategy": {
"enum": [
"MAXIMIZE_CLICKS",
"MAXIMIZE_CONVERSIONS",
"MAXIMIZE_CONVERSION_VALUE",
"TARGET_CPA",
"TARGET_ROAS",
"TARGET_IMPRESSION_SHARE"
],
"type": "string",
"description": "create"
},
"maxCpcUsd": {
"type": "number",
"description": "max CPC ceiling (required for TARGET_IMPRESSION_SHARE)"
},
"minCpcUsd": {
"type": "number",
"description": "min CPC floor"
},
"customerId": {
"type": "string",
"description": "omit to use the selected default account"
},
"targetRoas": {
"type": "number",
"description": "4 = 4x revenue per unit spent"
},
"campaignIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "campaign ids to attach to the strategy"
},
"targetCpaUsd": {
"type": "number",
"description": "cost per conversion"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"biddingStrategyId": {
"type": "string",
"description": "the strategy (from action list)"
},
"impressionSharePercent": {
"type": "number",
"description": "1-100"
},
"impressionShareLocation": {
"enum": [
"ANYWHERE_ON_PAGE",
"TOP_OF_PAGE",
"ABSOLUTE_TOP_OF_PAGE"
],
"type": "string",
"description": "where to aim impression share: ANYWHERE_ON_PAGE, TOP_OF_PAGE or ABSOLUTE_TOP_OF_PAGE"
},
"allowNoConversionTracking": {
"type": "boolean",
"description": "skip the conversion-tracking check"
}
}
},
"annotations": {
"title": "Google Ads portfolio bid strategies",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "set_google_ads_conversion_goals",
"title": "Google Ads conversion goals (what smart bidding optimises for)",
"description": "Which conversion goals Google Ads smart bidding optimises toward, the usual cause of \"it optimises for the wrong thing\". With no goals it reads: the account goals, or with campaignId that campaign's goals and whether it follows the account. goals:[{category (PURCHASE, SIGNUP, SUBMIT_LEAD_FORM, PAGE_VIEW...), origin (default WEBSITE), biddable}] sets them account-wide, or for one campaign with campaignId (it then stops following account changes). useAccountGoals:true puts a campaign back on the account goals. A goal exists only where a conversion action of that category exists. Changing goals of LIVE campaigns needs confirm:true after the user approves. Read back from Google.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"goals": {
"type": "array",
"items": {
"type": "object",
"required": [
"category",
"biddable"
],
"properties": {
"origin": {
"type": "string",
"description": "where the conversion happens, e.g. WEBSITE; default WEBSITE"
},
"biddable": {
"type": "boolean",
"description": "true = smart bidding optimises for this goal"
},
"category": {
"type": "string",
"description": "goal category, e.g. PURCHASE, SIGNUP, SUBMIT_LEAD_FORM or PAGE_VIEW"
}
}
},
"description": "conversion goals to set, as a list of {category, origin, biddable}; omit to read the current goals"
},
"dryRun": {
"type": "boolean",
"description": "validate with Google, change nothing"
},
"confirm": {
"type": "boolean",
"description": "true only after the user approved a change to a LIVE campaign or a delete"
},
"campaignId": {
"type": "string",
"description": "omit for the account goals"
},
"customerId": {
"type": "string",
"description": "omit to use the selected default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"useAccountGoals": {
"type": "boolean",
"description": "put the campaign back on the account goals"
}
}
},
"annotations": {
"title": "Google Ads conversion goals (what smart bidding optimises for)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| string |
| keyword criterion id (level:"keyword", with adGroupId) |
| campaignId | string | campaign id (level:"campaign") |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| confirmName | string | the object’s EXACT name, required when it has children / is live / has spent |
| resourceName | string | full resource name — REQUIRED for campaignAsset / adGroupAsset, accepted for any level |
| confirmChildren | number | the exact number of children reported by the unconfirmed call, required when it has any |
| loginCustomerId | string | manager id if operating through an MCC |
| conversionActionId | string | conversion action id (level:"conversionAction") |
{
"name": "delete_google_ads_object",
"title": "Remove a Google Ads campaign / ad group / ad / keyword / asset link / conversion action",
"description": "PERMANENTLY remove a Google Ads object. Google has no HTTP delete — removal is a `remove` operation that puts the object in the terminal REMOVED state, which cannot be undone or re-enabled, so treat it as a delete. Levels: \"campaign\" + campaignId · \"adGroup\" + adGroupId · \"ad\" + adGroupId AND adId · \"keyword\" + adGroupId AND keywordId · \"conversionAction\" + conversionActionId · \"campaignAsset\"/\"adGroupAsset\" + the LINK’s full resourceName (get it from google_ads_report over campaign_asset / ad_group_asset — an asset id alone does not identify a link). THERE IS DELIBERATELY NO \"asset\" LEVEL: Google publishes no operation that deletes an Asset, only its links, so removing a link unlinks the asset and leaves it in the library. CALL IT WITHOUT confirm FIRST — nothing is removed and you get the object’s real name, status, LIFETIME SPEND and child counts read live from Google; show the user exactly that. A target with children, live delivery or real spend additionally needs confirmName (its exact name) and confirmChildren (the child count from that read-back). Removing a CAMPAIGN also removes its campaign-owned budget, and the note says whether it did. Removing the last ENABLED conversion action makes every smart-bidding campaign on the account undeliverable — the refusal says so. To stop delivery without removing, use set_google_ads_status(status:\"PAUSED\").",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"adId": {
"type": "string",
"description": "ad id (level:\"ad\" — pass adGroupId too)"
},
"level": {
"enum": [
"campaign",
"adGroup",
"ad",
"keyword",
"campaignAsset",
"adGroupAsset",
"conversionAction"
],
"type": "string",
"description": "what to remove — default campaign"
},
"confirm": {
"type": "boolean",
"description": "REQUIRED true — REMOVED is permanent"
},
"adGroupId": {
"type": "string",
"description": "ad group id (level:\"adGroup\"; REQUIRED as the parent for \"ad\" and \"keyword\")"
},
"keywordId": {
"type": "string",
"description": "keyword criterion id (level:\"keyword\", with adGroupId)"
},
"campaignId": {
"type": "string",
"description": "campaign id (level:\"campaign\")"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"confirmName": {
"type": "string",
"description": "the object’s EXACT name, required when it has children / is live / has spent"
},
"resourceName": {
"type": "string",
"description": "full resource name — REQUIRED for campaignAsset / adGroupAsset, accepted for any level"
},
"confirmChildren": {
"type": "number",
"description": "the exact number of children reported by the unconfirmed call, required when it has any"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"conversionActionId": {
"type": "string",
"description": "conversion action id (level:\"conversionAction\")"
}
}
},
"annotations": {
"title": "Remove a Google Ads campaign / ad group / ad / keyword / asset link / conversion action",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| loginCustomerId |
| string |
| manager id if operating through an MCC |
| assetResourceName | string | with appAdId: add a playable already in the asset library instead of uploading one |
{
"name": "upload_google_ads_asset",
"title": "Upload a creative to Google Ads",
"description": "Add a creative to a Google Ads account’s ASSET LIBRARY so it can be used in ads. It does NOT have to be a Hermoso render — the user’s own creative is the normal case; the URL just has to be Hermoso-HOSTED because we fetch the bytes, so run any file of theirs through upload_file and pass the URL it returns. For an IMAGE, pass imageUrl (≤5MB); an arbitrary external/CDN URL is refused. For VIDEO, Google Ads uses YouTube-hosted videos — post the video to YouTube as UNLISTED first, then pass its youtubeVideoId here. For a PLAYABLE (App campaigns), pass playableUrl: an HTML5 zip with <!DOCTYPE html>, an ad.orientation meta tag and no outside files except Google's own (exitapi.js, Google Fonts); add appAdId to put it on an App ad. Returns the asset resource name. Pass customerId (from list_google_ads_campaigns).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"description": "asset name"
},
"appAdId": {
"type": "string",
"description": "also add the playable to this App ad (App campaigns for installs only)"
},
"imageUrl": {
"type": "string",
"description": "a Hermoso-hosted image URL for an IMAGE asset (≤5MB) — a Hermoso render, or the user’s OWN creative put through upload_file first. An arbitrary external/CDN URL is refused."
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"playableUrl": {
"type": "string",
"description": "PLAYABLE: link to an HTML5 zip (any public https URL or upload_file). Checked against Google's rules, then Google's own free validation, then created as a MEDIA_BUNDLE asset"
},
"youtubeVideoId": {
"type": "string",
"description": "A YouTube video id for a VIDEO asset"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"assetResourceName": {
"type": "string",
"description": "with appAdId: add a playable already in the asset library instead of uploading one"
}
}
},
"annotations": {
"title": "Upload a creative to Google Ads",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| countingType | string | ONE_PER_CLICK for leads, MANY_PER_CLICK for sales — defaults by category |
| primaryForGoal | boolean | default true — whether this action is biddable for its category |
| defaultValueUsd | number | what one conversion is worth — required in practice for TARGET_ROAS |
| loginCustomerId | string | manager id if operating through an MCC |
| defaultCurrencyCode | string | 3-letter ISO code, e.g. USD |
| alwaysUseDefaultValue | boolean | ignore any value sent with the conversion and always use the default |
| viewThroughLookbackDays | number | 1–30 days |
| clickThroughLookbackDays | number | 1–90 days |
| includeInConversionsMetric | boolean | default true — false makes smart bidding IGNORE it |
{
"name": "create_google_ads_conversion_action",
"title": "Create a Google Ads conversion action",
"description": "Create a CONVERSION ACTION — the thing that tells Google what counts as a result on this account. This is a PREREQUISITE, not a nicety: MAXIMIZE_CONVERSIONS, MAXIMIZE_CONVERSION_VALUE, TARGET_CPA, TARGET_ROAS and every Performance Max campaign are undeliverable without one, because Google has nothing to optimise toward. type WEBPAGE (a purchase / lead / signup on the site — the normal choice), UPLOAD_CLICKS or UPLOAD_CALLS; every other Google conversion type (Firebase, Google Analytics 4, Floodlight, store visits) is READ-ONLY and is created in those products, not here. Set category to what actually happened (PURCHASE, SUBMIT_LEAD_FORM, SIGNUP, BOOK_APPOINTMENT…) and defaultValueUsd when a conversion has a known worth — TARGET_ROAS has nothing to maximise without a value. Created ENABLED and counted in \"conversions\" by default, because a conversion action that is neither records nothing. It CANNOT SERVE AN AD and cannot spend a cent, so it needs no confirmation. A WEBPAGE action records NOTHING until its Google tag is installed on the site — say that when you report it.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "what the user calls this result, e.g. \"Purchase\", \"Demo request\""
},
"type": {
"enum": [
"WEBPAGE",
"UPLOAD_CLICKS",
"UPLOAD_CALLS"
],
"type": "string",
"description": "default WEBPAGE — a conversion that happens on the website"
},
"dryRun": {
"type": "boolean",
"description": "validate against Google and create NOTHING"
},
"status": {
"enum": [
"ENABLED",
"PAUSED",
"REMOVED",
"HIDDEN"
],
"type": "string",
"description": "default ENABLED — anything else records nothing"
},
"category": {
"enum": [
"DEFAULT",
"PAGE_VIEW",
"PURCHASE",
"SIGNUP",
"DOWNLOAD",
"ADD_TO_CART",
"BEGIN_CHECKOUT",
"SUBSCRIBE_PAID",
"PHONE_CALL_LEAD",
"IMPORTED_LEAD",
"SUBMIT_LEAD_FORM",
"BOOK_APPOINTMENT",
"REQUEST_QUOTE",
"GET_DIRECTIONS",
"OUTBOUND_CLICK",
"CONTACT",
"ENGAGEMENT",
"STORE_VISIT",
"STORE_SALE",
"QUALIFIED_LEAD",
"CONVERTED_LEAD",
"YOUTUBE_FOLLOW_ON_VIEWS"
],
"type": "string",
"description": "what kind of result this is, default DEFAULT. Google Ads v25’s IN_APP_AD_REVENUE is not offered: Google refuses it on every type this tool creates, and it comes only from a linked Firebase app (FIREBASE_ANDROID/IOS_APP_AD_IMPRESSION), which list_google_ads_conversion_actions reads like any other"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"countingType": {
"enum": [
"ONE_PER_CLICK",
"MANY_PER_CLICK"
],
"type": "string",
"description": "ONE_PER_CLICK for leads, MANY_PER_CLICK for sales — defaults by category"
},
"primaryForGoal": {
"type": "boolean",
"description": "default true — whether this action is biddable for its category"
},
"defaultValueUsd": {
"type": "number",
"description": "what one conversion is worth — required in practice for TARGET_ROAS"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"defaultCurrencyCode": {
"type": "string",
"description": "3-letter ISO code, e.g. USD"
},
"alwaysUseDefaultValue": {
"type": "boolean",
"description": "ignore any value sent with the conversion and always use the default"
},
"viewThroughLookbackDays": {
"type": "number",
"description": "1–30 days"
},
"clickThroughLookbackDays": {
"type": "number",
"description": "1–90 days"
},
"includeInConversionsMetric": {
"type": "boolean",
"description": "default true — false makes smart bidding IGNORE it"
}
}
},
"annotations": {
"title": "Create a Google Ads conversion action",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "google_ads_customer_lists",
"title": "Google Ads Customer Match lists",
"description": "Google Ads CUSTOMER MATCH lists on the brand's own Google Ads account, through Google's Data Manager API. action list (every audience list with its Customer Match match rate and sizes), get (one list: status, match rate, search/display/YouTube/Gmail sizes), create (an EMPTY contact-information list: name, description, membershipDays; validateOnly checks it without creating), delete (confirm:true; cannot be undone). Fill a list with upload_google_ads_customer_list, then target or exclude it with set_google_ads_audiences. Sizes take 6 to 48 hours and a list needs 100+ matched people to serve. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"name": {
"type": "string",
"description": "create: unique on the account"
},
"action": {
"enum": [
"list",
"get",
"create",
"delete"
],
"type": "string",
"description": "list (default), get, create or delete"
},
"listId": {
"type": "string",
"description": "get / delete: the list id from action list"
},
"confirm": {
"type": "boolean",
"description": "delete: required true, after the user agreed"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"description": {
"type": "string"
},
"validateOnly": {
"type": "boolean",
"description": "create: check it without creating"
},
"membershipDays": {
"type": "number",
"description": "create: whole days a person stays on the list; omit for Google’s maximum"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Google Ads Customer Match lists",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| acceptTerms | boolean | REQUIRED true to add: the user agreed to Google’s Customer Match policy |
| validateOnly | boolean | check the upload without changing the list |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "upload_google_ads_customer_list",
"title": "Upload customers into a Google Ads Customer Match list",
"description": "Add people to (action add, the default) or remove them from (action remove) a Google Ads Customer Match list, so campaigns can target or exclude them. Pass PLAIN emails, E.164 phones (+15551234567) or members [{email, phone, firstName, lastName, countryCode, postalCode}] (an address needs all four of the last); Hermoso normalizes them to Google's published rules (lowercase and trim; gmail.com dots and +tags removed) and SHA-256 hashes them, so only digests leave Hermoso. Already-hashed 64-hex values pass through. Up to 10,000 people per call. ADD NEEDS acceptTerms:true: show the user Google's Customer Match policy (https://support.google.com/adspolicy/answer/6299717) and get their agreement first. validateOnly:true checks the upload without changing the list. Returns a requestId for google_ads_upload_status. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"listId"
],
"properties": {
"action": {
"enum": [
"add",
"remove"
],
"type": "string",
"description": "add (default) or remove these people"
},
"emails": {
"type": "array",
"items": {
"type": "string"
},
"description": "PLAIN emails, normalized and SHA-256 hashed inside Hermoso"
},
"listId": {
"type": "string",
"description": "the Customer Match list (google_ads_customer_lists)"
},
"phones": {
"type": "array",
"items": {
"type": "string"
},
"description": "E.164 phones (+15551234567), hashed inside Hermoso"
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"lastName": {
"type": "string"
},
"firstName": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"countryCode": {
"type": "string"
}
}
},
"description": "people with several identifiers; an address needs firstName, lastName, countryCode and postalCode together"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"acceptTerms": {
"type": "boolean",
"description": "REQUIRED true to add: the user agreed to Google’s Customer Match policy"
},
"validateOnly": {
"type": "boolean",
"description": "check the upload without changing the list"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Upload customers into a Google Ads Customer Match list",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| set true ONLY after the user approved changing what a LIVE campaign shows |
| adGroupId | string | ad group id (level:"adGroup") |
| assetType * | string | what kind of asset to create and attach |
| campaignId | string | campaign id (level:"campaign") |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| loginCustomerId | string | manager id if operating through an MCC |
| assetResourceNames | array | attach assets that ALREADY exist instead of creating new ones |
{
"name": "add_google_ads_assets",
"title": "Add sitelinks, callouts, call, promotion, price, lead-form and brand assets to Google Ads",
"description": "Add ASSETS (extensions) to a Google Ads campaign, ad group or the whole account (level:\"customer\") — and ATTACH them, which is what makes them show. Pass assetType plus assets[]: SITELINK {linkText ≤25, finalUrl, description1/2}; CALLOUT {calloutText ≤25}; STRUCTURED_SNIPPET {header, values[] ≥3}; CALL {phoneNumber, countryCode}; PROMOTION {promotionTarget ≤20, percentOff OR moneyAmountOff, finalUrl, promotionCode?, occasion?, startDate?, endDate?}; PRICE {priceType, offerings[3–8] of {header ≤25, description ≤25, price, unit?, finalUrl}}; LEAD_FORM {businessName, headline, description, privacyPolicyUrl, callToActionType, callToActionDescription, finalUrl, fields?}; BUSINESS_NAME {businessName ≤25}; BUSINESS_LOGO {image: a square Hermoso image}. Or link existing ones with assetResourceNames[]. Edit, pause or detach later with manage_google_ads_assets. (Google does not let apps attach Search image extensions; images go through Performance Max, Demand Gen and display ads.) Assets and links go up in ONE atomic operation, so a rejected link never strands an orphan asset, and the links are READ BACK from Google before you are told they exist. Attaching a live asset to a LIVE (ENABLED) campaign changes what that ad shows on the very next auction — show the user what would appear, get an explicit yes, then pass confirm:true. On a paused campaign it never needs confirmation.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"assetType"
],
"properties": {
"level": {
"enum": [
"campaign",
"adGroup",
"customer"
],
"type": "string",
"description": "where to attach it — follows the id you pass; customer = every campaign on the account"
},
"assets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "optional asset name in the library"
},
"image": {
"type": "string",
"description": "BUSINESS_LOGO — render id, Library id, attachment://N or Hermoso image link"
},
"fields": {
"type": "array",
"items": {
"type": "string"
},
"description": "LEAD_FORM — default name + email"
},
"header": {
"type": "string",
"description": "STRUCTURED_SNIPPET — e.g. \"Services\", \"Brands\", \"Types\""
},
"values": {
"type": "array",
"items": {
"type": "string"
},
"description": "STRUCTURED_SNIPPET — at least 3 values"
},
"endDate": {
"type": "string",
"description": "end date, YYYY-MM-DD"
},
"finalUrl": {
"type": "string",
"description": "SITELINK — the page it opens"
},
"headline": {
"type": "string",
"description": "LEAD_FORM: headline shown on the form"
},
"linkText": {
"type": "string",
"description": "SITELINK — the clickable label, ≤25 characters"
},
"occasion": {
"type": "string",
"description": "PROMOTION — e.g. BLACK_FRIDAY, SUMMER_SALE"
},
"offerings": {
"type": "array",
"items": {
"type": "object",
"required": [
"header",
"description",
"price",
"finalUrl"
],
"properties": {
"unit": {
"type": "string",
"description": "price unit, e.g. per month; optional"
},
"price": {
"type": "number",
"description": "offering price in major units, in currencyCode"
},
"header": {
"type": "string",
"description": "offering name, up to 25 characters"
},
"finalUrl": {
"type": "string",
"description": "page the offering opens"
},
"description": {
"type": "string",
"description": "offering detail, up to 25 characters"
}
}
},
"description": "PRICE: 3 to 8 offerings, each {header, description, price, unit, finalUrl}"
},
"priceType": {
"type": "string",
"description": "PRICE — SERVICES, PRODUCT_CATEGORIES, PRODUCT_TIERS, BRANDS, EVENTS, LOCATIONS…"
},
"startDate": {
"type": "string",
"description": "start date, YYYY-MM-DD"
},
"percentOff": {
"type": "number",
"description": "PROMOTION: percent off, e.g. 20 for 20%; use this or moneyAmountOff, not both"
},
"calloutText": {
"type": "string",
"description": "CALLOUT — ≤25 characters, e.g. \"Free 2-day shipping\""
},
"countryCode": {
"type": "string",
"description": "CALL — two-letter country of the number"
},
"description": {
"type": "string",
"description": "LEAD_FORM: description text shown on the form"
},
"phoneNumber": {
"type": "string",
"description": "CALL: phone number to show, with country code"
},
"businessName": {
"type": "string",
"description": "business name, up to 25 characters; BUSINESS_NAME and LEAD_FORM"
},
"currencyCode": {
"type": "string",
"description": "ISO 4217 currency for money amounts and offering prices, e.g. USD"
},
"description1": {
"type": "string",
"description": "SITELINK — first description line"
},
"description2": {
"type": "string",
"description": "SITELINK — second description line"
},
"languageCode": {
"type": "string",
"description": "language of the asset, e.g. en"
},
"promotionCode": {
"type": "string",
"description": "PROMOTION: coupon code the customer enters"
},
"finalMobileUrl": {
"type": "string",
"description": "SITELINK — a different page on mobile"
},
"moneyAmountOff": {
"type": "number",
"description": "PROMOTION: money off in currencyCode, e.g. 10 for 10 off; use this or percentOff"
},
"priceQualifier": {
"enum": [
"FROM",
"UP_TO",
"AVERAGE"
],
"type": "string",
"description": "PRICE: FROM, UP_TO or AVERAGE"
},
"promotionTarget": {
"type": "string",
"description": "PROMOTION: what the offer is on, up to 20 characters"
},
"callToActionType": {
"type": "string",
"description": "LEAD_FORM: call-to-action button type, e.g. GET_QUOTE"
},
"ordersOverAmount": {
"type": "number",
"description": "PROMOTION: minimum order value that qualifies, in currencyCode"
},
"privacyPolicyUrl": {
"type": "string",
"description": "LEAD_FORM: https URL of the privacy policy"
},
"callToActionDescription": {
"type": "string",
"description": "LEAD_FORM: text shown beside the call-to-action button"
}
}
},
"description": "the assets to CREATE and attach"
},
"dryRun": {
"type": "boolean",
"description": "validate against Google and create NOTHING"
},
"status": {
"enum": [
"ENABLED",
"PAUSED"
],
"type": "string",
"description": "the LINK status — default ENABLED"
},
"confirm": {
"type": "boolean",
"description": "set true ONLY after the user approved changing what a LIVE campaign shows"
},
"adGroupId": {
"type": "string",
"description": "ad group id (level:\"adGroup\")"
},
"assetType": {
"enum": [
"SITELINK",
"CALLOUT",
"STRUCTURED_SNIPPET",
"CALL",
"PROMOTION",
"PRICE",
"LEAD_FORM",
"BUSINESS_NAME",
"BUSINESS_LOGO"
],
"type": "string",
"description": "what kind of asset to create and attach"
},
"campaignId": {
"type": "string",
"description": "campaign id (level:\"campaign\")"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"assetResourceNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "attach assets that ALREADY exist instead of creating new ones"
}
}
},
"annotations": {
"title": "Add sitelinks, callouts, call, promotion, price, lead-form and brand assets to Google Ads",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| manager id if operating through an MCC |
| recommendationIds | array | apply/dismiss: ids from google_ads_recommendations, max 100; there is no "apply everything" |
{
"name": "manage_google_ads_recommendations",
"title": "Apply / dismiss Google Ads recommendations, or set auto-apply",
"description": "Act on Google Ads recommendations by id. action:\"apply\" makes the change live immediately with no undo. Any spend-type recommendation (budget, bidding, keywords, network or audience expansion, new campaigns) or one touching a LIVE campaign is refused until the user says yes: call once without confirm, show the returned list, then call again with confirm:true and the confirmCount it named. The count is re-checked against a fresh read, and if any id is no longer on offer NOTHING is applied. action:\"dismiss\" only takes advice off the list and needs no confirm. action:\"auto_apply\" with autoApply:{TYPE:true|false} lets Google apply that type by itself; turning one ON needs confirm:true, OFF never does. dryRun validates and changes nothing. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"action"
],
"properties": {
"action": {
"enum": [
"apply",
"dismiss",
"auto_apply"
],
"type": "string",
"description": "apply (live now; spend types need confirm), dismiss (remove from list), or auto_apply (set auto-apply per type)"
},
"dryRun": {
"type": "boolean",
"description": "validate and change nothing"
},
"confirm": {
"type": "boolean",
"description": "the user saw the list and said yes"
},
"autoApply": {
"type": "object",
"description": "auto_apply: {RECOMMENDATION_TYPE: true|false}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
}
},
"customerId": {
"type": "string",
"description": "10-digit account id, omit for the brand’s default account"
},
"confirmCount": {
"type": "number",
"description": "apply: echo the count the unconfirmed call reported"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"recommendationIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "apply/dismiss: ids from google_ads_recommendations, max 100; there is no \"apply everything\""
}
}
},
"annotations": {
"title": "Apply / dismiss Google Ads recommendations, or set auto-apply",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| the link field type from list, e.g. CALL, SITELINK |
| campaignId | string | campaign id, when level is campaign |
| customerId | string | 10-digit account id; omit to use the brand's selected default account |
| loginCustomerId | string | manager (MCC) account id when acting through a manager account; omit otherwise |
{
"name": "manage_google_ads_assets",
"title": "List, edit, pause or detach Google Ads assets",
"description": "The assets on a Google Ads campaign, ad group or the whole account (level:\"customer\"): action \"list\" (every attached asset with its review status and any policy problem), \"update\" (edit a sitelink/callout/snippet/call/promotion/price/lead-form asset — pass assetId, assetType and asset{} in add_google_ads_assets' shape), \"pause\", \"enable\" or \"unlink\" (pass assetId + fieldType from list). Google never deletes an asset; unlink stops it showing. Editing or re-enabling on a LIVE campaign needs confirm:true after the user agrees.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"asset": {
"type": "object",
"description": "update — the new content",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"level": {
"enum": [
"campaign",
"adGroup",
"customer"
],
"type": "string",
"description": "campaign, adGroup or customer; follows the id you pass"
},
"action": {
"enum": [
"list",
"update",
"pause",
"enable",
"unlink"
],
"type": "string",
"description": "default list"
},
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and change nothing"
},
"assetId": {
"type": "string",
"description": "asset id, from the list action"
},
"confirm": {
"type": "boolean",
"description": "true only after the user agreed to change a LIVE campaign's assets"
},
"adGroupId": {
"type": "string",
"description": "ad group id, when level is adGroup"
},
"assetType": {
"type": "string",
"description": "update — the asset kind"
},
"fieldType": {
"type": "string",
"description": "the link field type from list, e.g. CALL, SITELINK"
},
"campaignId": {
"type": "string",
"description": "campaign id, when level is campaign"
},
"customerId": {
"type": "string",
"description": "10-digit account id; omit to use the brand's selected default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id when acting through a manager account; omit otherwise"
}
}
},
"annotations": {
"title": "List, edit, pause or detach Google Ads assets",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| finalUrlSuffix |
| string |
| UTM string appended to every click, e.g. utm_source=google&utm_medium=cpc; empty string clears it |
| loginCustomerId | string | manager (MCC) account id when acting through a manager account; omit otherwise |
| trackingUrlTemplate | string | click-tracking redirect template, e.g. {lpurl}?src=x; empty string clears it |
| urlCustomParameters | object | up to 8 custom URL parameters as a key/value object, used in URLs as {_key} |
{
"name": "set_google_ads_tracking",
"title": "Set UTMs / tracking on a Google Ads campaign, ad group or ad",
"description": "Set the FINAL URL SUFFIX (the UTMs added to every click), tracking template and custom parameters on a Google Ads campaign, ad group or ad; a lower level overrides a higher one. \"\" clears a field; utmDefault:true applies our standard UTMs (utm_source=google, utm_medium, utm_campaign=<name>, utm_id={campaignid}, utm_content={creative}). New campaigns already get those unless you say otherwise. Read back from Google.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"adId": {
"type": "string",
"description": "ad to set tracking on; use with level ad"
},
"level": {
"enum": [
"campaign",
"adGroup",
"ad"
],
"type": "string",
"description": "follows the id you pass"
},
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and change nothing"
},
"confirm": {
"type": "boolean",
"description": "needed to change the tracking redirect on a LIVE campaign"
},
"adGroupId": {
"type": "string",
"description": "ad group to set tracking on; use with level adGroup"
},
"campaignId": {
"type": "string",
"description": "campaign to set tracking on; use with level campaign"
},
"customerId": {
"type": "string",
"description": "10-digit account id; omit to use the brand's selected default account"
},
"utmDefault": {
"type": "boolean",
"description": "true = apply the standard UTMs (utm_source, utm_medium, utm_campaign, utm_id, utm_content)"
},
"finalUrlSuffix": {
"type": "string",
"description": "UTM string appended to every click, e.g. utm_source=google&utm_medium=cpc; empty string clears it"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id when acting through a manager account; omit otherwise"
},
"trackingUrlTemplate": {
"type": "string",
"description": "click-tracking redirect template, e.g. {lpurl}?src=x; empty string clears it"
},
"urlCustomParameters": {
"type": "object",
"description": "up to 8 custom URL parameters as a key/value object, used in URLs as {_key}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Set UTMs / tracking on a Google Ads campaign, ad group or ad",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| search text matched against audience and interest names (action search) |
| action | string | default search |
| dryRun | boolean | true = validate with Google and create or remove nothing |
| confirm | boolean | true to actually remove the list or segment (action remove only) |
| genders | array | genders to include: male, female or unknown |
| keywords | array | search phrases for a custom segment, 10 words or fewer each (create_custom_segment) |
| urlRules | array | visitor rules for create_remarketing_list: [{operator, value}]; visitors to pages matching any rule |
| interests | array | interest ids (affinity or in-market) to include in an audience, from action search |
| userLists | array | user list ids to include in an audience (create_audience), from action search |
| customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's selected default account |
| description | string | optional description (create actions) |
| customSegments | array | custom segment ids to include in an audience, from action search |
| membershipDays | number | 1–540, default 30 |
| excludeUrlRules | array | same shape as urlRules; visitors to matching pages are left out of the list |
| loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
{
"name": "manage_google_ads_audience",
"title": "Find or build Google Ads audiences",
"description": "Audiences for Google Ads. action \"search\" finds affinity + in-market interests, remarketing lists, custom segments and saved audiences (query by name). \"create_remarketing_list\": people who visited pages matching urlRules [{operator CONTAINS|EQUALS|STARTS_WITH|ENDS_WITH, value}] in the last membershipDays (needs the Google tag on the site). \"create_custom_segment\": people searching keywords[] or into sites like urls[] (type AUTO or SEARCH). \"create_audience\": a reusable audience (userLists, interests, customSegments ids + ages like \"25-34\", genders) — what Performance Max signals and Demand Gen targeting take. \"remove\" (userList or customSegment, confirm:true). Attach with set_google_ads_audiences.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string",
"description": "remove"
},
"ages": {
"type": "array",
"items": {
"type": "string"
},
"description": "age ranges to include: 18-24, 25-34, 35-44, 45-54, 55-64, 65+ or unknown"
},
"apps": {
"type": "array",
"items": {
"type": "string"
},
"description": "app identifiers for a custom segment (create_custom_segment)"
},
"kind": {
"enum": [
"userList",
"customSegment"
],
"type": "string",
"description": "remove"
},
"name": {
"type": "string",
"description": "audience or list name, unique on the account (create actions)"
},
"type": {
"enum": [
"AUTO",
"SEARCH"
],
"type": "string",
"description": "custom segment type: AUTO (Google decides, default) or SEARCH (people who searched the keywords)"
},
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "full http(s) URLs of sites like yours for a custom segment (create_custom_segment)"
},
"query": {
"type": "string",
"description": "search text matched against audience and interest names (action search)"
},
"action": {
"enum": [
"search",
"create_remarketing_list",
"create_custom_segment",
"create_audience",
"remove"
],
"type": "string",
"description": "default search"
},
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and create or remove nothing"
},
"confirm": {
"type": "boolean",
"description": "true to actually remove the list or segment (action remove only)"
},
"genders": {
"type": "array",
"items": {
"enum": [
"male",
"female",
"unknown"
],
"type": "string"
},
"description": "genders to include: male, female or unknown"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "search phrases for a custom segment, 10 words or fewer each (create_custom_segment)"
},
"urlRules": {
"type": "array",
"items": {
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "URL fragment to match, e.g. /pricing; no quotes, tabs, newlines or parentheses"
},
"operator": {
"type": "string",
"description": "CONTAINS (default), EQUALS, STARTS_WITH or ENDS_WITH"
}
}
},
"description": "visitor rules for create_remarketing_list: [{operator, value}]; visitors to pages matching any rule"
},
"interests": {
"type": "array",
"items": {
"type": "string"
},
"description": "interest ids (affinity or in-market) to include in an audience, from action search"
},
"userLists": {
"type": "array",
"items": {
"type": "string"
},
"description": "user list ids to include in an audience (create_audience), from action search"
},
"customerId": {
"type": "string",
"description": "Google Ads account id, 10 digits (dashes ok); omit for the brand's selected default account"
},
"description": {
"type": "string",
"description": "optional description (create actions)"
},
"customSegments": {
"type": "array",
"items": {
"type": "string"
},
"description": "custom segment ids to include in an audience, from action search"
},
"membershipDays": {
"type": "number",
"description": "1–540, default 30"
},
"excludeUrlRules": {
"type": "array",
"items": {
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "URL fragment to exclude, same rules as urlRules[].value"
},
"operator": {
"type": "string",
"description": "CONTAINS (default), EQUALS, STARTS_WITH or ENDS_WITH"
}
}
},
"description": "same shape as urlRules; visitors to matching pages are left out of the list"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
}
}
},
"annotations": {
"title": "Find or build Google Ads audiences",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| audience ids from manage_google_ads_audience (create_audience) for Demand Gen or Performance Max |
| interests | array | interest ids (affinity or in-market) to target on the ad group |
| userLists | array | user list ids to target on the ad group |
| campaignId | string | campaign id; exclusions only |
| customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's default account |
| excludeAges | array | age ranges to exclude: 18-24, 25-34, 35-44, 45-54, 55-64, 65+ or unknown |
| assetGroupId | string | Performance Max asset group id; audiences become signals there |
| searchThemes | array | search theme phrases for a Performance Max asset group, up to 50, 10 words or fewer each |
| customSegments | array | custom segment ids to target; Display ad groups only, Search refuses them |
| excludeGenders | array | genders to exclude: male, female or unknown |
| excludeIncomes | array | household income bands to exclude: top10 (the highest-income 10% of households), 11-20, 21-30, 31-40, 41-50, lower50 (the lower half) or unknown |
| loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
{
"name": "set_google_ads_audiences",
"title": "Target or exclude audiences on Google Ads",
"description": "Who a Google Ads campaign reaches. adGroupId (Search/Display): userLists, interests (affinity/in-market ids), customSegments (Display only), mode \"observation\" (report, do not narrow — default on Search) or \"targeting\" (narrow to them); Demand Gen ad groups take audiences[] ids. assetGroupId (Performance Max): audiences[] as signals and searchThemes[]. campaignId: exclusions only. exclude{userLists, interests, customSegments}, excludeAges [\"18-24\"…\"65+\",\"unknown\"], excludeGenders, excludeIncomes (household income bands; with campaignId this is how a Performance Max campaign excludes them). remove[] takes criterion resource names from a call with no changes (which lists what is set). Narrowing a LIVE ad group needs confirm:true.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"mode": {
"enum": [
"observation",
"targeting"
],
"type": "string",
"description": "observation (report only, default on Search) or targeting (narrow delivery to these audiences)"
},
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and change nothing"
},
"remove": {
"type": "array",
"items": {
"type": "string"
},
"description": "criterion resource names to remove; a call with no other changes lists the current ones"
},
"confirm": {
"type": "boolean",
"description": "true to approve a change that alters who a live ad group reaches"
},
"exclude": {
"type": "object",
"properties": {
"interests": {
"type": "array",
"items": {
"type": "string"
},
"description": "interest ids to exclude"
},
"userLists": {
"type": "array",
"items": {
"type": "string"
},
"description": "user list ids to exclude"
},
"customSegments": {
"type": "array",
"items": {
"type": "string"
},
"description": "custom segment ids to exclude"
}
},
"description": "audiences to exclude from the ad group or campaign: {userLists, interests, customSegments} ids"
},
"adGroupId": {
"type": "string",
"description": "ad group to target (Search, Display or Demand Gen); one of adGroupId, assetGroupId, campaignId"
},
"audiences": {
"type": "array",
"items": {
"type": "string"
},
"description": "audience ids from manage_google_ads_audience (create_audience) for Demand Gen or Performance Max"
},
"interests": {
"type": "array",
"items": {
"type": "string"
},
"description": "interest ids (affinity or in-market) to target on the ad group"
},
"userLists": {
"type": "array",
"items": {
"type": "string"
},
"description": "user list ids to target on the ad group"
},
"campaignId": {
"type": "string",
"description": "campaign id; exclusions only"
},
"customerId": {
"type": "string",
"description": "Google Ads account id, 10 digits (dashes ok); omit for the brand's default account"
},
"excludeAges": {
"type": "array",
"items": {
"type": "string"
},
"description": "age ranges to exclude: 18-24, 25-34, 35-44, 45-54, 55-64, 65+ or unknown"
},
"assetGroupId": {
"type": "string",
"description": "Performance Max asset group id; audiences become signals there"
},
"searchThemes": {
"type": "array",
"items": {
"type": "string"
},
"description": "search theme phrases for a Performance Max asset group, up to 50, 10 words or fewer each"
},
"customSegments": {
"type": "array",
"items": {
"type": "string"
},
"description": "custom segment ids to target; Display ad groups only, Search refuses them"
},
"excludeGenders": {
"type": "array",
"items": {
"type": "string"
},
"description": "genders to exclude: male, female or unknown"
},
"excludeIncomes": {
"type": "array",
"items": {
"type": "string"
},
"description": "household income bands to exclude: top10 (the highest-income 10% of households), 11-20, 21-30, 31-40, 41-50, lower50 (the lower half) or unknown"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
}
}
},
"annotations": {
"title": "Target or exclude audiences on Google Ads",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's default account |
| aiGenerated | boolean | Google Ads generative-content disclosure. OMIT IT and Hermoso decides from provenance: a Hermoso render is declared, a video that came through upload_file (the user’s own footage) is NOT. true/false overrides |
| description | string | YouTube description for the uploaded video (optional) |
| waitSeconds | number | seconds to wait for YouTube to finish processing, max 240; default 90 on upload, 0 on status |
| loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
{
"name": "upload_google_ads_video",
"title": "Upload a video straight into Google Ads",
"description": "Upload a Hermoso video (render id, Library id, attachment://N or Hermoso link) straight into Google Ads — no YouTube channel needed: it goes UNLISTED to the Google-managed channel of the ad account (or to your own brand channel with channelId, where PUBLIC is allowed). Waits for YouTube to process it, then returns the video asset ready for create_google_ads_demand_gen_campaign or Performance Max. AI-generated renders are disclosed as such. action \"status\" finishes a slow one (uploadId), \"list\" shows uploads, \"remove\" deletes one (confirm:true). Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"title": {
"type": "string",
"description": "required, ≤100 chars"
},
"video": {
"type": "string",
"description": "Hermoso render id, Library id, attachment://N or Hermoso video link"
},
"action": {
"enum": [
"upload",
"status",
"list",
"remove"
],
"type": "string",
"description": "default upload"
},
"dryRun": {
"type": "boolean",
"description": "true = build and return the request without uploading any bytes"
},
"confirm": {
"type": "boolean",
"description": "true to remove the upload (action remove); every ad using the video stops showing it"
},
"privacy": {
"enum": [
"UNLISTED",
"PUBLIC"
],
"type": "string",
"description": "UNLISTED (default, the only option on Google's channel) or PUBLIC (own channel only, with channelId)"
},
"uploadId": {
"type": "string",
"description": "upload id from the upload reply or action list; required for status and remove"
},
"channelId": {
"type": "string",
"description": "your own YouTube channel (UC…), else Google's"
},
"customerId": {
"type": "string",
"description": "Google Ads account id, 10 digits (dashes ok); omit for the brand's default account"
},
"aiGenerated": {
"type": "boolean",
"description": "Google Ads generative-content disclosure. OMIT IT and Hermoso decides from provenance: a Hermoso render is declared, a video that came through upload_file (the user’s own footage) is NOT. true/false overrides"
},
"description": {
"type": "string",
"description": "YouTube description for the uploaded video (optional)"
},
"waitSeconds": {
"type": "number",
"description": "seconds to wait for YouTube to finish processing, max 240; default 90 on upload, 0 on status"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
}
}
},
"annotations": {
"title": "Upload a video straight into Google Ads",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| languages | array | ISO language codes to target, e.g. ["en"] |
| locations | array | place names to target, resolved by Google, e.g. United States |
| startDate | string | campaign start date, YYYY-MM-DD |
| customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's default account |
| countryCode | string | 2-letter country code that disambiguates a place name, e.g. CA for Toronto |
| dailyBudgetUsd | number | daily budget in the ACCOUNT’s currency (historical name, not necessarily USD), 1 to 100000; required unless budgetResourceName is given |
| finalUrlSuffix | string | UTM suffix appended to clicks; omit for Hermoso's default, empty string for none |
| loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
| excludedLocations | array | place names to exclude, resolved by Google |
| budgetResourceName | string | existing campaign budget resource name to reuse instead of creating a new budget |
| trackingUrlTemplate | string | click-tracking redirect template, e.g. {lpurl}?src=x; only if you use a tracker |
| urlCustomParameters | object | up to 8 custom URL parameters, used in URLs as {_key} |
| containsEuPoliticalAds | boolean | true only for genuine EU political advertising |
{
"name": "create_google_ads_demand_gen_campaign",
"title": "Create a Google Demand Gen video campaign (YouTube Shorts, in-feed, in-stream)",
"description": "Build a Google DEMAND GEN campaign — video ads on YouTube Shorts, in-feed and in-stream (plus Discover, Gmail, Display, Maps if you pick them) — as ONE atomic, PAUSED build: budget, campaign, ad group with channel controls, locations/languages, optional audiences, and a video ad. ad needs videoAssets (from upload_google_ads_video) or youtubeVideoIds, a square logo (logoImage or logoAssets), finalUrl, businessName ≤25, 1–5 headlines, longHeadlines, descriptions. Google sets a minimum daily budget (it names it if you go under). Read back; turn it on with set_google_ads_status(confirm:true) only after the user approves.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"ad"
],
"properties": {
"ad": {
"type": "object",
"required": [
"finalUrl",
"businessName",
"headlines",
"longHeadlines",
"descriptions"
],
"properties": {
"name": {
"type": "string",
"description": "name of the ad inside Google Ads (optional)"
},
"finalUrl": {
"type": "string",
"description": "landing page the ad opens, full http or https URL"
},
"headlines": {
"type": "array",
"items": {
"type": "string"
},
"description": "short headlines, 1 to 5"
},
"logoImage": {
"type": "string",
"description": "square (1:1) logo image URL or Hermoso asset; used when logoAssets is empty"
},
"logoAssets": {
"type": "array",
"items": {
"type": "string"
},
"description": "square (1:1) logo asset resource names from upload_google_ads_asset; alternative to logoImage"
},
"videoAssets": {
"type": "array",
"items": {
"type": "string"
},
"description": "video asset resource names from upload_google_ads_video; one of this or youtubeVideoIds is required"
},
"businessName": {
"type": "string",
"description": "business name shown with the ad, 25 characters maximum"
},
"descriptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "ad descriptions, 1 to 5"
},
"longHeadlines": {
"type": "array",
"items": {
"type": "string"
},
"description": "long headlines, 1 to 5"
},
"assetAutomation": {
"type": "object",
"description": "what Google may generate from this ad, {TYPE: true|false}: OVERLAY_TEXT_ON_VIDEOS (headlines laid over the video), GENERATE_VERTICAL_YOUTUBE_VIDEOS, GENERATE_SHORTER_YOUTUBE_VIDEOS, GENERATE_LANDING_PAGE_TEXT. Google turns these ON by default; pass false to keep the video exactly as made. Change it later with set_google_ads_asset_automation",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
}
},
"youtubeVideoIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "YouTube video ids of existing videos; alternative to videoAssets"
}
},
"description": "video ad: {videoAssets or youtubeVideoIds, logo, finalUrl, businessName, headlines, longHeadlines, descriptions, assetAutomation}"
},
"name": {
"type": "string",
"description": "campaign name"
},
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and create nothing"
},
"bidding": {
"type": "object",
"required": [
"strategy"
],
"properties": {
"strategy": {
"enum": [
"MAXIMIZE_CONVERSIONS",
"TARGET_CPA",
"MAXIMIZE_CONVERSION_VALUE",
"TARGET_ROAS",
"MAXIMIZE_CLICKS"
],
"type": "string",
"description": "bidding strategy; defaults to MAXIMIZE_CONVERSIONS when omitted"
},
"maxCpcUsd": {
"type": "number",
"description": "maximum cost per click in the ACCOUNT’s currency"
},
"targetRoas": {
"type": "number",
"description": "target return as a ratio, e.g. 4 = $4 of revenue per $1 spent, for TARGET_ROAS"
},
"targetCpaUsd": {
"type": "number",
"description": "target cost per conversion in the ACCOUNT’s currency, for TARGET_CPA"
}
},
"description": "bidding object {strategy, targetCpaUsd, targetRoas, maxCpcUsd}; strategy defaults to MAXIMIZE_CONVERSIONS"
},
"endDate": {
"type": "string",
"description": "campaign end date, YYYY-MM-DD"
},
"channels": {
"type": "array",
"items": {
"enum": [
"youtubeShorts",
"youtubeInFeed",
"youtubeInStream",
"discover",
"gmail",
"display",
"maps"
],
"type": "string"
},
"description": "omit for all of Google's channels"
},
"audiences": {
"type": "array",
"items": {
"type": "string"
},
"description": "audience ids from manage_google_ads_audience"
},
"languages": {
"type": "array",
"items": {
"type": "string"
},
"description": "ISO language codes to target, e.g. [\"en\"]"
},
"locations": {
"type": "array",
"items": {
"type": "string"
},
"description": "place names to target, resolved by Google, e.g. United States"
},
"startDate": {
"type": "string",
"description": "campaign start date, YYYY-MM-DD"
},
"customerId": {
"type": "string",
"description": "Google Ads account id, 10 digits (dashes ok); omit for the brand's default account"
},
"countryCode": {
"type": "string",
"description": "2-letter country code that disambiguates a place name, e.g. CA for Toronto"
},
"dailyBudgetUsd": {
"type": "number",
"description": "daily budget in the ACCOUNT’s currency (historical name, not necessarily USD), 1 to 100000; required unless budgetResourceName is given"
},
"finalUrlSuffix": {
"type": "string",
"description": "UTM suffix appended to clicks; omit for Hermoso's default, empty string for none"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
},
"excludedLocations": {
"type": "array",
"items": {
"type": "string"
},
"description": "place names to exclude, resolved by Google"
},
"budgetResourceName": {
"type": "string",
"description": "existing campaign budget resource name to reuse instead of creating a new budget"
},
"trackingUrlTemplate": {
"type": "string",
"description": "click-tracking redirect template, e.g. {lpurl}?src=x; only if you use a tracker"
},
"urlCustomParameters": {
"type": "object",
"description": "up to 8 custom URL parameters, used in URLs as {_key}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"containsEuPoliticalAds": {
"type": "boolean",
"description": "true only for genuine EU political advertising"
}
}
},
"annotations": {
"title": "Create a Google Demand Gen video campaign (YouTube Shorts, in-feed, in-stream)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| campaignId | string | campaign id, for campaign-level automation; or pass adGroupId + adId for one ad |
| customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's default account |
| loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
| videoCrawlSources | array | only with settings.AUTOMATED_VIDEO_CRAWL: where Google may find videos |
{
"name": "set_google_ads_asset_automation",
"title": "Read or change what Google may make from the creative (text on videos, video cuts, written text)",
"description": "What Google Ads is allowed to generate from the user’s own creative: text laid over videos (OVERLAY_TEXT_ON_VIDEOS), vertical and shorter video cuts, generated videos and animated images, image crops and enhancements, written headlines and landing-page text. Pass campaignId for campaign-level automation (Performance Max, Search), or adGroupId + adId for one ad: a Demand Gen video ad keeps OVERLAY_TEXT_ON_VIDEOS, GENERATE_VERTICAL_YOUTUBE_VIDEOS and GENERATE_SHORTER_YOUTUBE_VIDEOS there, and Google turns them ON by default. With no settings it READS what is set. settings is {TYPE: true|false}; a type you do not name keeps its current value, and one that was never set follows Google’s default. Turning a type OFF needs nothing more; turning one ON for something live needs confirm:true, because Google then serves versions it generated. The reply is what Google stored, read back. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"adId": {
"type": "string",
"description": "ad id (google_ads_report FROM ad_group_ad lists ad_group.id and ad_group_ad.ad.id)"
},
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and change nothing"
},
"confirm": {
"type": "boolean",
"description": "true to turn an automation ON for a campaign or ad that is live"
},
"settings": {
"type": "object",
"description": "{TYPE: true to opt in, false to opt out}. Types: TEXT_ASSET_AUTOMATION, GENERATE_VERTICAL_YOUTUBE_VIDEOS, GENERATE_SHORTER_YOUTUBE_VIDEOS, GENERATE_LANDING_PAGE_PREVIEW, GENERATE_LANDING_PAGE_TEXT, GENERATE_ENHANCED_YOUTUBE_VIDEOS, GENERATE_IMAGE_ENHANCEMENT, GENERATE_IMAGE_EXTRACTION, GENERATE_DESIGN_VERSIONS_FOR_IMAGES, FINAL_URL_EXPANSION_TEXT_ASSET_AUTOMATION, GENERATE_VIDEOS_FROM_OTHER_ASSETS, GENERATE_ANIMATED_IMAGES_FROM_OTHER_ASSETS, AUTOMATED_VIDEO_CRAWL, OVERLAY_TEXT_ON_VIDEOS. Omit to read.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
}
},
"adGroupId": {
"type": "string",
"description": "ad group id of the ad (with adId)"
},
"campaignId": {
"type": "string",
"description": "campaign id, for campaign-level automation; or pass adGroupId + adId for one ad"
},
"customerId": {
"type": "string",
"description": "Google Ads account id, 10 digits (dashes ok); omit for the brand's default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
},
"videoCrawlSources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"platform"
],
"properties": {
"url": {
"type": "string",
"description": "full http(s) URL Google may look for videos at"
},
"enabled": {
"type": "boolean",
"description": "default true"
},
"platform": {
"enum": [
"LANDING_PAGE",
"SOCIAL",
"YOUTUBE"
],
"type": "string",
"description": "what kind of source the URL is"
}
}
},
"description": "only with settings.AUTOMATED_VIDEO_CRAWL: where Google may find videos"
}
}
},
"annotations": {
"title": "Read or change what Google may make from the creative (text on videos, video cuts, written text)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| boolean |
| true after the user agreed to the dates, modifier and coverage (create, update, remove) |
| devices | array | limit it to these devices; omit for all |
| channels | array | every campaign of these channel types; not together with campaignIds |
| customerId | string | Google Ads account id, 10 digits (dashes ok); omit for the brand's default account |
| campaignIds | array | campaign ids it covers (up to 2,000); not together with channels |
| description | string | optional note, up to 2,048 characters |
| includeRemoved | boolean | action list: also show removed ones |
| loginCustomerId | string | manager (MCC) account id, when the account is managed through one |
| conversionRateModifier | number | expected conversion rate change, 0.1 to 10 (1.5 = +50%, 0.8 = -20%) |
{
"name": "manage_google_ads_seasonality",
"title": "Google Ads seasonality adjustments (tell Smart Bidding about a sale or launch)",
"description": "Seasonality adjustments tell Google’s Smart Bidding that conversion rate will move for a short event (a sale, a launch, a holiday weekend), so it bids for the event instead of learning it late. action \"list\" shows them; \"create\" needs name, start and end (\"YYYY-MM-DD HH:mm:ss\", the end is exclusive, at most 14 days apart, and Google expects a future event), conversionRateModifier (0.1 to 10: 1.5 means 50% more conversions per click than usual, 0.8 means 20% fewer) and what it covers: campaignIds (up to 2,000 campaigns) OR channels (SEARCH, DISPLAY, SHOPPING, DEMAND_GEN), never both; optional devices. \"update\" changes the named fields of one (id); \"remove\" deletes one (id). It moves real bids on every campaign it covers, so create, update and remove need confirm:true after the user agrees; dryRun:true has Google validate it and changes nothing. Google’s API cannot create an account-wide adjustment and does not allow them on manager accounts. The reply is read back from Google. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string",
"description": "seasonality adjustment id (update, remove), from action list"
},
"end": {
"type": "string",
"description": "when it stops, \"YYYY-MM-DD HH:mm:ss\" (exclusive); at most 14 days after start"
},
"name": {
"type": "string",
"description": "name, up to 255 characters (create)"
},
"start": {
"type": "string",
"description": "when the event begins, \"YYYY-MM-DD HH:mm:ss\" (inclusive)"
},
"action": {
"enum": [
"list",
"create",
"update",
"remove"
],
"type": "string",
"description": "default list"
},
"dryRun": {
"type": "boolean",
"description": "true = validate with Google and change nothing"
},
"confirm": {
"type": "boolean",
"description": "true after the user agreed to the dates, modifier and coverage (create, update, remove)"
},
"devices": {
"type": "array",
"items": {
"enum": [
"MOBILE",
"TABLET",
"DESKTOP",
"CONNECTED_TV",
"OTHER"
],
"type": "string"
},
"description": "limit it to these devices; omit for all"
},
"channels": {
"type": "array",
"items": {
"enum": [
"SEARCH",
"DISPLAY",
"SHOPPING",
"DEMAND_GEN"
],
"type": "string"
},
"description": "every campaign of these channel types; not together with campaignIds"
},
"customerId": {
"type": "string",
"description": "Google Ads account id, 10 digits (dashes ok); omit for the brand's default account"
},
"campaignIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "campaign ids it covers (up to 2,000); not together with channels"
},
"description": {
"type": "string",
"description": "optional note, up to 2,048 characters"
},
"includeRemoved": {
"type": "boolean",
"description": "action list: also show removed ones"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
},
"conversionRateModifier": {
"type": "number",
"description": "expected conversion rate change, 0.1 to 10 (1.5 = +50%, 0.8 = -20%)"
}
}
},
"annotations": {
"title": "Google Ads seasonality adjustments (tell Smart Bidding about a sale or launch)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| manager (MCC) account id, when the account is managed through one |
{
"name": "list_google_ads_lead_submissions",
"title": "Read Google Ads lead form submissions",
"description": "The people who filled in a Google Ads lead form: each submission’s time, the answers (name, email, phone and any custom questions), the Google click id, and the campaign, ad group and lead form it came from, newest first. Filter by campaignId, adGroupId, assetId (the lead form asset) and since / until (YYYY-MM-DD); limit up to 1,000 (default 100). An empty answer means none that Google still holds for this account and filter, not proof that no form was ever submitted. These are the advertiser’s own leads and contain personal details: show them to the user who asked and do not copy them anywhere else unless asked. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "how many, 1 to 1,000 (default 100)"
},
"since": {
"type": "string",
"description": "YYYY-MM-DD, submissions on or after this day"
},
"until": {
"type": "string",
"description": "YYYY-MM-DD, submissions on or before this day"
},
"assetId": {
"type": "string",
"description": "only submissions to this lead form asset"
},
"adGroupId": {
"type": "string",
"description": "only submissions from this ad group"
},
"campaignId": {
"type": "string",
"description": "only submissions from this campaign"
},
"customerId": {
"type": "string",
"description": "Google Ads account id, 10 digits (dashes ok); omit for the brand's default account"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
}
}
},
"annotations": {
"title": "Read Google Ads lead form submissions",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| the manager (MCC) account id |
{
"name": "manage_google_ads_manager_links",
"title": "Google Ads manager (MCC) links",
"description": "Agency setup on Google Ads: the manager (MCC) and client account tree, and the links between them. action hierarchy (default) shows each shared account's clients and managers with link status and managerLinkId, pending invitations included. invite: managerCustomerId sends clientCustomerId an invitation (PENDING until the client accepts). accept / decline: answer an invitation as the client. cancel: withdraw a pending invitation, as the manager. unlink: end an active link, as the manager. accept and unlink change who controls the account, so they need confirm:true after the user agrees; validateOnly:true has Google check any write first. Read back from Google. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"action": {
"enum": [
"hierarchy",
"invite",
"accept",
"decline",
"cancel",
"unlink"
],
"type": "string",
"description": "hierarchy (default), invite, accept, decline, cancel or unlink"
},
"confirm": {
"type": "boolean",
"description": "true after the user agreed (accept, unlink)"
},
"customerId": {
"type": "string",
"description": "hierarchy: only the tree of this shared account; omit for every shared account"
},
"validateOnly": {
"type": "boolean",
"description": "true = Google checks it, nothing changes"
},
"managerLinkId": {
"type": "string",
"description": "from action hierarchy (accept, decline, cancel, unlink)"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
},
"clientCustomerId": {
"type": "string",
"description": "the client account id"
},
"managerCustomerId": {
"type": "string",
"description": "the manager (MCC) account id"
}
}
},
"annotations": {
"title": "Google Ads manager (MCC) links",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "manage_google_ads_user_access",
"title": "Google Ads account users and invitations",
"description": "Who can use a Google Ads account. action list (default): users with their role and user id, and email invitations with their status. invite: emailAddress + accessRole (ADMIN, STANDARD, READ_ONLY, EMAIL_ONLY); Google emails them; ADMIN needs confirm:true. revoke: withdraw a pending invitation (invitationId). set_role: change a user's accessRole (userId). remove: take a user's access away (userId). set_role and remove need confirm:true after the user agrees. Read back from Google. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"action": {
"enum": [
"list",
"invite",
"revoke",
"set_role",
"remove"
],
"type": "string",
"description": "list (default), invite, revoke, set_role or remove"
},
"userId": {
"type": "string",
"description": "from action list (set_role, remove)"
},
"confirm": {
"type": "boolean",
"description": "true after the user agreed"
},
"accessRole": {
"enum": [
"ADMIN",
"STANDARD",
"READ_ONLY",
"EMAIL_ONLY"
],
"type": "string",
"description": "ADMIN, STANDARD, READ_ONLY or EMAIL_ONLY"
},
"customerId": {
"type": "string",
"description": "Google Ads account id, 10 digits (dashes ok); omit for the brand's default account"
},
"emailAddress": {
"type": "string",
"description": "who to invite"
},
"invitationId": {
"type": "string",
"description": "from action list (revoke)"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
}
}
},
"annotations": {
"title": "Google Ads account users and invitations",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| purchaseOrderNumber | string | purchase order number on the invoice |
{
"name": "google_ads_billing",
"title": "Google Ads billing (monthly invoicing)",
"description": "Billing on a Google Ads account. action get (default): the manager's monthly-invoicing payments accounts the account can be billed to, its billing setups and its account budgets, read live. action setup: bill the account to one of those payments accounts (paymentsAccountId) and propose an account budget (spendingLimit in the account currency, or none for no limit; budgetName, purchaseOrderNumber). Google's API cannot add a card: an account without monthly invoicing is billed in Google Ads itself. setup lets the account spend, so it needs confirm:true after the user agrees. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"action": {
"enum": [
"get",
"setup"
],
"type": "string",
"description": "get (default) or setup"
},
"confirm": {
"type": "boolean",
"description": "true after the user agreed (setup)"
},
"budgetName": {
"type": "string",
"description": "name of the account budget"
},
"customerId": {
"type": "string",
"description": "Google Ads account id, 10 digits (dashes ok); omit for the brand's default account"
},
"validateOnly": {
"type": "boolean",
"description": "true = check the budget proposal only"
},
"spendingLimit": {
"type": "number",
"description": "account budget limit in the account currency; omit for no limit"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
},
"paymentsAccountId": {
"type": "string",
"description": "16-digit payments account id from action get"
},
"purchaseOrderNumber": {
"type": "string",
"description": "purchase order number on the invoice"
}
}
},
"annotations": {
"title": "Google Ads billing (monthly invoicing)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| string |
| the manager (MCC) account it goes under |
{
"name": "create_google_ads_account",
"title": "Create a Google Ads client account under a manager",
"description": "Create a new Google Ads client account under a manager (MCC) account shared with this brand: name, currency (ISO, permanent) and timeZone (IANA, permanent); optionally emailAddress + accessRole to invite its owner. Google accounts cannot be deleted, only cancelled, and Google decides which managers may create accounts. Needs confirm:true after the user agrees; dryRun:true has Google validate it. The new account has no billing (google_ads_billing). To build on it here, add it with set_connector_accounts. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"managerCustomerId",
"name",
"currency",
"timeZone"
],
"properties": {
"name": {
"type": "string",
"description": "account name"
},
"dryRun": {
"type": "boolean",
"description": "true = Google validates it, nothing is created"
},
"confirm": {
"type": "boolean",
"description": "true after the user agreed"
},
"currency": {
"type": "string",
"description": "ISO 4217, e.g. USD; permanent"
},
"timeZone": {
"type": "string",
"description": "IANA time zone, e.g. America/New_York; permanent"
},
"accessRole": {
"enum": [
"ADMIN",
"STANDARD",
"READ_ONLY",
"EMAIL_ONLY"
],
"type": "string",
"description": "their role, default ADMIN"
},
"emailAddress": {
"type": "string",
"description": "invite this person onto it"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
},
"managerCustomerId": {
"type": "string",
"description": "the manager (MCC) account it goes under"
}
}
},
"annotations": {
"title": "Create a Google Ads client account under a manager",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| manager (MCC) account id, when the account is managed through one |
{
"name": "list_google_ads_local_services_leads",
"title": "Read Google Local Services Ads leads",
"description": "The calls, messages and bookings a Google Local Services campaign produced, newest first: type, status, whether Google charged for it, the consumer's name and phone, category. Filter by fromDate / toDate (YYYY-MM-DD), leadType, leadStatus, chargedOnly. Pass leadId for that lead's conversation (calls with duration and recording link, messages with text). Read-only, free. These are the advertiser's own leads and contain personal details: show them to the user who asked.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "1 to 1,000, default 100"
},
"leadId": {
"type": "string",
"description": "one lead's conversation"
},
"toDate": {
"type": "string",
"description": "YYYY-MM-DD"
},
"fromDate": {
"type": "string",
"description": "YYYY-MM-DD"
},
"leadType": {
"enum": [
"PHONE_CALL",
"MESSAGE",
"BOOKING",
"COUPON"
],
"type": "string",
"description": "PHONE_CALL, MESSAGE, BOOKING or COUPON"
},
"customerId": {
"type": "string",
"description": "Google Ads account id, 10 digits (dashes ok); omit for the brand's default account"
},
"leadStatus": {
"type": "string",
"description": "NEW, ACTIVE, BOOKED, DECLINED, EXPIRED, DISABLED, CONSUMER_DECLINED or WIPED_OUT"
},
"chargedOnly": {
"type": "boolean",
"description": "only leads Google charged for"
},
"loginCustomerId": {
"type": "string",
"description": "manager (MCC) account id, when the account is managed through one"
}
}
},
"annotations": {
"title": "Read Google Local Services Ads leads",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| business portfolio id from list_businesses |
| adAccountId | string | ad account the business owns or was shared |
| invitationId | string | pending invitation id from list_people |
{
"name": "manage_meta_business",
"title": "Meta business portfolio people and asset access",
"description": "Agency setup on Meta Business Manager, for the person who connected Meta. action list_businesses (default): the business portfolios on this login. list_people: a business's people, system users and pending invitations, with the user ids the assign actions take. invite (email, role) / cancel_invite (invitationId) / remove_person (userId). person_assets: the ad accounts and Pages one person can reach, with tasks. list_ad_account_people, assign_ad_account, unassign_ad_account (adAccountId, userId, tasks MANAGE / ADVERTISE / ANALYZE / DRAFT). list_page_people, assign_page, unassign_page (pageId, userId, tasks MANAGE / CREATE_CONTENT / MODERATE / MESSAGING / ADVERTISE / ANALYZE). An assignment replaces the person's tasks on that asset. Removing access, narrowing tasks and inviting an ADMIN need confirm:true after the user agrees. Read back from Meta. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"role": {
"enum": [
"ADMIN",
"EMPLOYEE",
"FINANCE_EDITOR",
"FINANCE_ANALYST",
"DEVELOPER",
"ADS_RIGHTS_REVIEWER"
],
"type": "string",
"description": "business role, default EMPLOYEE"
},
"email": {
"type": "string",
"description": "who to invite"
},
"tasks": {
"type": "array",
"items": {
"type": "string"
},
"description": "tasks to give on that asset"
},
"action": {
"enum": [
"list_businesses",
"list_people",
"invite",
"cancel_invite",
"remove_person",
"person_assets",
"list_ad_account_people",
"assign_ad_account",
"unassign_ad_account",
"list_page_people",
"assign_page",
"unassign_page"
],
"type": "string",
"description": "what to do"
},
"pageId": {
"type": "string",
"description": "Page the business owns or was shared"
},
"userId": {
"type": "string",
"description": "business-scoped user id from list_people"
},
"confirm": {
"type": "boolean",
"description": "true after the user agreed"
},
"businessId": {
"type": "string",
"description": "business portfolio id from list_businesses"
},
"adAccountId": {
"type": "string",
"description": "ad account the business owns or was shared"
},
"invitationId": {
"type": "string",
"description": "pending invitation id from list_people"
}
}
},
"annotations": {
"title": "Meta business portfolio people and asset access",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| business portfolio id |
| timezoneId * | number | Meta's numeric time zone id; permanent |
| mediaAgency | string | agency Page or app id, or NONE |
| endAdvertiser | string | Page or app id the ads are for, or NONE |
| invoiceGroupId | string | invoice group id |
| invoicingEmails | array | who receives invoices |
{
"name": "create_meta_ad_account",
"title": "Create a Meta ad account in a business portfolio",
"description": "Create a new Meta ad account inside one of this login's business portfolios: businessId, name, currency (ISO, permanent), timezoneId (Meta's numeric id, 1 = America/Los_Angeles; permanent). Optional endAdvertiser / mediaAgency / partner (a Page or app id, default NONE), fundingId, invoice, invoiceGroupId, invoicingEmails, io, poNumber. Meta ad accounts cannot be deleted, only closed, and Meta caps how many a business may create. Needs confirm:true after the user agrees. The account starts with no payment method; to build on it here, add it with set_connector_accounts. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"businessId",
"name",
"currency",
"timezoneId"
],
"properties": {
"io": {
"type": "boolean",
"description": "direct-sales insertion order"
},
"name": {
"type": "string",
"description": "ad account name"
},
"confirm": {
"type": "boolean",
"description": "true after the user agreed"
},
"invoice": {
"type": "boolean",
"description": "attach to the business credit line"
},
"partner": {
"type": "string",
"description": "partner Page or app id, or NONE"
},
"currency": {
"type": "string",
"description": "ISO 4217, e.g. USD; permanent"
},
"poNumber": {
"type": "string",
"description": "purchase order number"
},
"fundingId": {
"type": "string",
"description": "payment method id"
},
"businessId": {
"type": "string",
"description": "business portfolio id"
},
"timezoneId": {
"type": "number",
"description": "Meta's numeric time zone id; permanent"
},
"mediaAgency": {
"type": "string",
"description": "agency Page or app id, or NONE"
},
"endAdvertiser": {
"type": "string",
"description": "Page or app id the ads are for, or NONE"
},
"invoiceGroupId": {
"type": "string",
"description": "invoice group id"
},
"invoicingEmails": {
"type": "array",
"items": {
"type": "string"
},
"description": "who receives invoices"
}
}
},
"annotations": {
"title": "Create a Meta ad account in a business portfolio",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| string |
| Meta ad account id (act_123 or the bare number); it must be one this brand has shared |
| budgetAmount | number | lifetime budget in the account currency |
| frequencyCap | number | impressions per person |
| predictionId | string | from predict or list |
| intervalFrequencyCapResetPeriod | number | hours (multiple of 24) the cap resets over |
{
"name": "manage_meta_reach_frequency",
"title": "Meta reach and frequency predictions and reservations",
"description": "Reach and frequency buying on Meta. action list (default) / get (predictionId). predict: a QUOTE, nothing is bought: startDate, endDate (at most 8 weeks ahead, ending at midnight or after 06:00 account time) and exactly one of budgetAmount (Meta predicts reach) or reach (Meta predicts the budget); optional frequencyCap, targeting (one country), pageId, objective. reserve locks the quoted price and inventory and returns a NEW prediction id for the campaign; cancel releases a reservation. reserve and cancel need confirm:true after the user agrees. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"reach": {
"type": "number",
"description": "people to reach"
},
"action": {
"enum": [
"list",
"predict",
"get",
"reserve",
"cancel"
],
"type": "string",
"description": "list (default), predict, get, reserve or cancel"
},
"pageId": {
"type": "string",
"description": "the Page promoted"
},
"confirm": {
"type": "boolean",
"description": "true after the user agreed (reserve, cancel)"
},
"endDate": {
"type": "string",
"description": "ISO date-time"
},
"objective": {
"type": "string",
"description": "REACH (default), BRAND_AWARENESS, VIDEO_VIEWS, LINK_CLICKS, POST_ENGAGEMENT"
},
"startDate": {
"type": "string",
"description": "ISO date-time"
},
"targeting": {
"type": "object",
"description": "Meta targeting spec, one country",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"adAccountId": {
"type": "string",
"description": "Meta ad account id (act_123 or the bare number); it must be one this brand has shared"
},
"budgetAmount": {
"type": "number",
"description": "lifetime budget in the account currency"
},
"frequencyCap": {
"type": "number",
"description": "impressions per person"
},
"predictionId": {
"type": "string",
"description": "from predict or list"
},
"intervalFrequencyCapResetPeriod": {
"type": "number",
"description": "hours (multiple of 24) the cap resets over"
}
}
},
"annotations": {
"title": "Meta reach and frequency predictions and reservations",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| budgetValue |
| number |
| amount or percent |
| recurrenceType | string | ONE_TIME (default), WEEKLY or MONTHLY |
| budgetValueType | string | ABSOLUTE or MULTIPLIER |
{
"name": "manage_meta_budget_schedules",
"title": "Meta scheduled budget increases",
"description": "Scheduled budget increases (high-demand periods) on a Meta campaign or ad set, for a sale or launch. action list (default) / create / delete, with exactly one of campaignId or adSetId (the one holding the budget). create: budgetValueType ABSOLUTE (budgetValue added to the daily budget, in the account currency) or MULTIPLIER (budgetValue = percent increase), timeStart and timeEnd on 15-minute boundaries, optional recurrenceType. A campaign cannot mix ABSOLUTE and MULTIPLIER. To change one, delete and create. create and delete need confirm:true after the user agrees. Read back. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"action": {
"enum": [
"list",
"create",
"delete"
],
"type": "string",
"description": "list (default), create or delete"
},
"adSetId": {
"type": "string",
"description": "ad set holding the budget"
},
"confirm": {
"type": "boolean",
"description": "true after the user agreed"
},
"timeEnd": {
"type": "string",
"description": "ISO date-time, 15-minute boundary"
},
"timeStart": {
"type": "string",
"description": "ISO date-time, 15-minute boundary"
},
"campaignId": {
"type": "string",
"description": "campaign with an Advantage+ campaign budget"
},
"scheduleId": {
"type": "string",
"description": "from list (delete)"
},
"adAccountId": {
"type": "string",
"description": "Meta ad account id (act_123 or the bare number); it must be one this brand has shared"
},
"budgetValue": {
"type": "number",
"description": "amount or percent"
},
"recurrenceType": {
"type": "string",
"description": "ONE_TIME (default), WEEKLY or MONTHLY"
},
"budgetValueType": {
"enum": [
"ABSOLUTE",
"MULTIPLIER"
],
"type": "string",
"description": "ABSOLUTE or MULTIPLIER"
}
}
},
"annotations": {
"title": "Meta scheduled budget increases",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "manage_meta_value_rules",
"title": "Meta value rule sets (bid by audience segment)",
"description": "Value rules raise or lower Meta bids for audience segments worth more or less to the advertiser. action list (default) / get / create / replace / delete. rules: [{name, adjustSign INCREASE (1-1000%) or DECREASE (1-90%), adjustValue, criteria: [{criteriaType AGE, GENDER, OS_TYPE, DEVICE_PLATFORM, LOCATION, PLACEMENT, OMNI_CHANNEL or AUDIENCE_LABEL, criteriaValues, criteriaValueTypes (LOCATION only: LOCATION_COUNTRY / REGION / CITY / COMSCORE_MARKET)}]}]; rule order matters, the first match adjusts. Up to 6 sets, 10 rules, 4 criteria. replace sends the WHOLE set (get first; keep ids to keep rules); dropping rules and delete need confirm:true. Attach with update_meta_object on an ad set (value_rule_set_id, value_rules_applied:true). Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"name": {
"type": "string",
"description": "rule set name"
},
"rules": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "the rules, in order"
},
"action": {
"enum": [
"list",
"get",
"create",
"replace",
"delete"
],
"type": "string",
"description": "list (default), get, create, replace or delete"
},
"confirm": {
"type": "boolean",
"description": "true after the user agreed"
},
"adAccountId": {
"type": "string",
"description": "Meta ad account id (act_123 or the bare number); it must be one this brand has shared"
},
"valueRuleSetId": {
"type": "string",
"description": "from list"
}
}
},
"annotations": {
"title": "Meta value rule sets (bid by audience segment)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| bidding | object | bidding {strategy, targetCpaUsd, targetRoas}; no manual bidding, strategy defaults to MAXIMIZE_CONVERSIONS |
| endDate | string | YYYY-MM-DD |
| feedLabel | string | optional, retail only: narrow to ONE Merchant Center feed by its feed label. Omit to use products from all feeds |
| languages | array | ISO codes, e.g. ["en"] |
| locations | array | place NAMES ("United States", "Toronto") — resolved for you |
| startDate | string | YYYY-MM-DD |
| assetGroup * | object | the creative — Google requires every field above before a PMax campaign can serve |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| countryCode | string | 2-letter hint to disambiguate a city name |
| dailyBudgetUsd | number | daily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000) — or pass budgetResourceName |
| finalUrlSuffix | string | UTMs appended to every click, e.g. "utm_source=google&utm_medium=cpc". Omit for our default (utm_source/medium/campaign + {campaignid}/{creative}); "" for none |
| imageExtraction | boolean | default FALSE: Google may NOT take images from your landing pages and serve them as ad creative. Sent explicitly, because Google switches image extraction ON by default for new Performance Max campaigns from 2026-12-04. Pass true to allow it; the reply reads the setting back from Google |
| loginCustomerId | string | manager id if operating through an MCC |
| merchantCenterId | string | makes this a RETAIL (Shopping-feed) Performance Max — the Merchant Center account whose products it advertises, from list_merchant_accounts. It advertises the WHOLE feed; partitioning by brand/category is not built and is refused by name |
| excludedLocations | array | places to block |
| budgetResourceName | string | an existing budget to reuse |
| trackingUrlTemplate | string | click-tracking redirect, e.g. "{lpurl}?src=x" — only if you use a tracker |
| urlCustomParameters | object | up to 8 custom parameters, used in URLs as {_key} |
| brandGuidelinesEnabled | boolean | default TRUE, matching Google’s own default since v21: businessName + logos are linked to the CAMPAIGN. Pass false only for the pre-v21 layout, where they sit on the asset group instead |
| containsEuPoliticalAds | boolean | true ONLY for genuine EU political advertising |
{
"name": "create_google_ads_performance_max_campaign",
"title": "Create a Google Ads Performance Max campaign",
"description": "Build a PERFORMANCE MAX campaign — Google’s cross-surface campaign type (Search, YouTube, Display, Discover, Gmail, Maps). ALWAYS created PAUSED; it spends NOTHING until you enable it with set_google_ads_status(confirm:true). PMax has NO manual bidding and NO keywords: it bids only on conversions, so the account MUST already have a conversion action — check with list_google_ads_conversion_actions, because this REFUSES rather than build a campaign that cannot optimise. Creative lives in an ASSET GROUP, and Google’s minimums are enforced before anything is sent: 3–15 headlines (≤30 chars), 1–5 longHeadlines (≤90), 2–5 descriptions (≤90), one businessName (≤25), at least one LOGO (1:1), one MARKETING_IMAGE (1.91:1) and one SQUARE_MARKETING_IMAGE (1:1) — upload the images with upload_google_ads_asset first and pass their asset resource names. A YouTube video is optional (Google generates one from the asset group if you omit it). Brand guidelines: since Google Ads API v21 they are ON by default for new PMax campaigns, which means the businessName and LOGO assets are linked to the CAMPAIGN (CampaignAsset), not to the asset group — Hermoso does that for you. Leave brandGuidelinesEnabled alone unless the user wants the older asset-group layout, and pass false for that. Budget, campaign, location/language targeting, the asset group and every asset link go up in ONE ATOMIC operation — if any part is rejected, nothing at all is created — and the whole tree is READ BACK from Google before you are told it exists. Print the returned note verbatim; if it says the campaign cannot serve, say that instead of calling it finished. RETAIL/SHOPPING: pass merchantCenterId (from list_merchant_accounts) to make it a Shopping-feed Performance Max — it then advertises the WHOLE feed (one root listing group); feedLabel narrows it to a single feed. Partitioning the feed by brand/category/custom label is NOT built and is refused by name, so a caller can never believe they narrowed it when they did not.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"assetGroup"
],
"properties": {
"name": {
"type": "string",
"description": "campaign name"
},
"dryRun": {
"type": "boolean",
"description": "validate the whole tree against Google and create NOTHING"
},
"bidding": {
"type": "object",
"properties": {
"strategy": {
"enum": [
"MAXIMIZE_CONVERSIONS",
"MAXIMIZE_CONVERSION_VALUE",
"TARGET_CPA",
"TARGET_ROAS"
],
"type": "string",
"description": "default MAXIMIZE_CONVERSIONS — PMax has no manual bidding"
},
"targetRoas": {
"type": "number",
"description": "required for TARGET_ROAS, e.g. 4 = $4 revenue per $1 spent"
},
"targetCpaUsd": {
"type": "number",
"description": "required for TARGET_CPA"
}
},
"description": "bidding {strategy, targetCpaUsd, targetRoas}; no manual bidding, strategy defaults to MAXIMIZE_CONVERSIONS"
},
"endDate": {
"type": "string",
"description": "YYYY-MM-DD"
},
"feedLabel": {
"type": "string",
"description": "optional, retail only: narrow to ONE Merchant Center feed by its feed label. Omit to use products from all feeds"
},
"languages": {
"type": "array",
"items": {
"type": "string"
},
"description": "ISO codes, e.g. [\"en\"]"
},
"locations": {
"type": "array",
"items": {
"type": "string"
},
"description": "place NAMES (\"United States\", \"Toronto\") — resolved for you"
},
"startDate": {
"type": "string",
"description": "YYYY-MM-DD"
},
"assetGroup": {
"type": "object",
"required": [
"name",
"finalUrls",
"headlines",
"longHeadlines",
"descriptions",
"businessName",
"logoAssets",
"marketingImages",
"squareMarketingImages"
],
"properties": {
"name": {
"type": "string",
"description": "asset group name"
},
"path1": {
"type": "string",
"description": "display-URL path, ≤15 characters"
},
"path2": {
"type": "string",
"description": "second display-URL path, ≤15 characters"
},
"audiences": {
"type": "array",
"items": {
"type": "string"
},
"description": "signals: audience ids from manage_google_ads_audience(create_audience)"
},
"finalUrls": {
"type": "array",
"items": {
"type": "string"
},
"description": "the landing page(s) — at least one"
},
"headlines": {
"type": "array",
"items": {
"type": "string"
},
"description": "3–15, each ≤30 characters"
},
"logoAssets": {
"type": "array",
"items": {
"type": "string"
},
"description": "at least one 1:1 LOGO asset resource name from upload_google_ads_asset"
},
"businessName": {
"type": "string",
"description": "≤25 characters"
},
"descriptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "2–5, each ≤90 characters"
},
"searchThemes": {
"type": "array",
"items": {
"type": "string"
},
"description": "signals: up to 50 search themes (keyword-like hints, ≤10 words each)"
},
"longHeadlines": {
"type": "array",
"items": {
"type": "string"
},
"description": "1–5, each ≤90 characters"
},
"youtubeVideos": {
"type": "array",
"items": {
"type": "string"
},
"description": "optional YOUTUBE_VIDEO asset resource names"
},
"landscapeLogos": {
"type": "array",
"items": {
"type": "string"
},
"description": "optional 4:1 LANDSCAPE_LOGO asset resource names — LOGO + LANDSCAPE_LOGO may total at most 5"
},
"marketingImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "at least one 1.91:1 asset resource name"
},
"squareMarketingImages": {
"type": "array",
"items": {
"type": "string"
},
"description": "at least one 1:1 asset resource name"
}
},
"description": "the creative — Google requires every field above before a PMax campaign can serve"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"countryCode": {
"type": "string",
"description": "2-letter hint to disambiguate a city name"
},
"dailyBudgetUsd": {
"type": "number",
"description": "daily budget in the ACCOUNT’s currency (historical name — not necessarily USD; 1–100000) — or pass budgetResourceName"
},
"finalUrlSuffix": {
"type": "string",
"description": "UTMs appended to every click, e.g. \"utm_source=google&utm_medium=cpc\". Omit for our default (utm_source/medium/campaign + {campaignid}/{creative}); \"\" for none"
},
"imageExtraction": {
"type": "boolean",
"description": "default FALSE: Google may NOT take images from your landing pages and serve them as ad creative. Sent explicitly, because Google switches image extraction ON by default for new Performance Max campaigns from 2026-12-04. Pass true to allow it; the reply reads the setting back from Google"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
},
"merchantCenterId": {
"type": "string",
"description": "makes this a RETAIL (Shopping-feed) Performance Max — the Merchant Center account whose products it advertises, from list_merchant_accounts. It advertises the WHOLE feed; partitioning by brand/category is not built and is refused by name"
},
"excludedLocations": {
"type": "array",
"items": {
"type": "string"
},
"description": "places to block"
},
"budgetResourceName": {
"type": "string",
"description": "an existing budget to reuse"
},
"trackingUrlTemplate": {
"type": "string",
"description": "click-tracking redirect, e.g. \"{lpurl}?src=x\" — only if you use a tracker"
},
"urlCustomParameters": {
"type": "object",
"description": "up to 8 custom parameters, used in URLs as {_key}",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"brandGuidelinesEnabled": {
"type": "boolean",
"description": "default TRUE, matching Google’s own default since v21: businessName + logos are linked to the CAMPAIGN. Pass false only for the pre-v21 layout, where they sit on the asset group instead"
},
"containsEuPoliticalAds": {
"type": "boolean",
"description": "true ONLY for genuine EU political advertising"
}
}
},
"annotations": {
"title": "Create a Google Ads Performance Max campaign",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| locations | array | place NAMES, e.g. ["United States"] |
| customerId | string | 10-digit account id (dashes ok) — omit to use the brand’s selected default account |
| startMonth | string | historical only: YYYY-MM, with endMonth; default the past 12 months |
| countryCode | string | 2-letter hint to disambiguate a city name |
| loginCustomerId | string | manager id if operating through an MCC |
{
"name": "google_ads_keyword_ideas",
"title": "Keyword ideas with real Google search volume",
"description": "Google’s own KEYWORD PLANNER: real keyword ideas with average monthly search volume, competition level and top-of-page bid estimates, so keyword choices are measured instead of guessed. Seed it with keywords[] (terms you already have), url (one landing page to mine) or site (a whole domain — the fastest way to size a competitor). Narrow by locations (place NAMES, resolved for you) and language. Results come back sorted by monthly volume. Use this BEFORE add_google_ads_keywords or create_google_ads_campaign so the ad group targets terms people actually search, and quote the volumes when you propose them. Read-only, free, spends nothing and creates nothing.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"url": {
"type": "string",
"description": "one page to mine for ideas"
},
"mode": {
"enum": [
"ideas",
"historical"
],
"type": "string",
"description": "historical = volume, competition, bids and month-by-month searches of the keywords you pass (up to 10,000), not new ideas"
},
"site": {
"type": "string",
"description": "a whole domain to mine, e.g. example.com"
},
"limit": {
"type": "number",
"description": "how many ideas to return (1–200, default 50)"
},
"network": {
"enum": [
"GOOGLE_SEARCH",
"GOOGLE_SEARCH_AND_PARTNERS"
],
"type": "string",
"description": "default GOOGLE_SEARCH"
},
"endMonth": {
"type": "string",
"description": "historical only: YYYY-MM"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "up to 20 seed terms"
},
"language": {
"type": "string",
"description": "ISO code, e.g. \"en\""
},
"locations": {
"type": "array",
"items": {
"type": "string"
},
"description": "place NAMES, e.g. [\"United States\"]"
},
"customerId": {
"type": "string",
"description": "10-digit account id (dashes ok) — omit to use the brand’s selected default account"
},
"startMonth": {
"type": "string",
"description": "historical only: YYYY-MM, with endMonth; default the past 12 months"
},
"countryCode": {
"type": "string",
"description": "2-letter hint to disambiguate a city name"
},
"loginCustomerId": {
"type": "string",
"description": "manager id if operating through an MCC"
}
}
},
"annotations": {
"title": "Keyword ideas with real Google search volume",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| one of ["spf","dmarc"] |
| adkim | string | one of ["r","s"] |
| domain | string | the domain the record is for; fills in the host name |
| policy | string | DMARC policy, default none |
| include | array | SPF: extra include domains |
| providers | array | SPF: sending services by id, e.g. ["google", "mailgun"] |
| subdomainPolicy | string | one of ["none","quarantine","reject"] |
{
"name": "generate_dns_record",
"title": "Write an SPF or DMARC record",
"description": "Write an SPF or DMARC TXT record from plain choices, ready to paste at the DNS host. SPF: `providers` by id (google, microsoft, zoho, fastmail, proton, icloud, godaddy, namecheap, mailgun, zendesk, salesforce, freshdesk; amazonses, sendgrid, postmark, mailchimp, brevo, hubspot, klaviyo, shopify and intercom answer with what they need instead), extra `include` domains, `ip4`/`ip6` addresses and the ending (~all by default); with a `domain`, the includes are read and counted against the 10-lookup limit. DMARC: `policy` none, quarantine or reject, `rua` report addresses and alignment. It writes the record; publishing it at the DNS host is the user’s step. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"type"
],
"properties": {
"a": {
"type": "boolean",
"description": "SPF: let the domain’s own address send"
},
"mx": {
"type": "boolean",
"description": "SPF: let the domain’s own MX servers send"
},
"all": {
"enum": [
"~all",
"-all",
"?all"
],
"type": "string",
"description": "SPF ending, default ~all"
},
"ip4": {
"type": "array",
"items": {
"type": "string"
},
"description": "SPF: IPv4 addresses or ranges"
},
"ip6": {
"type": "array",
"items": {
"type": "string"
},
"description": "SPF: IPv6 addresses or ranges"
},
"rua": {
"type": "array",
"items": {
"type": "string"
},
"description": "DMARC: addresses for the daily aggregate reports"
},
"ruf": {
"type": "array",
"items": {
"type": "string"
},
"description": "DMARC: addresses for failure reports"
},
"aspf": {
"enum": [
"r",
"s"
],
"type": "string"
},
"type": {
"enum": [
"spf",
"dmarc"
],
"type": "string"
},
"adkim": {
"enum": [
"r",
"s"
],
"type": "string"
},
"domain": {
"type": "string",
"description": "the domain the record is for; fills in the host name"
},
"policy": {
"enum": [
"none",
"quarantine",
"reject"
],
"type": "string",
"description": "DMARC policy, default none"
},
"include": {
"type": "array",
"items": {
"type": "string"
},
"description": "SPF: extra include domains"
},
"providers": {
"type": "array",
"items": {
"type": "string"
},
"description": "SPF: sending services by id, e.g. [\"google\", \"mailgun\"]"
},
"subdomainPolicy": {
"enum": [
"none",
"quarantine",
"reject"
],
"type": "string"
}
}
},
"annotations": {
"title": "Write an SPF or DMARC record",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| also read the period before startDate–endDate (or the same dates a year earlier) and return `change` |
| endDate | string | YYYY-MM-DD or "today" (default today) |
| metrics | array | GA4 metric names — default ["activeUsers","sessions","screenPageViews"] |
| orderBy | array | [{dimension:"date"}] or [{metric:"sessions", desc:true}] |
| property * | string | the NUMERIC GA4 property id from list_analytics_properties (e.g. "123456789") — never the G-XXXXXXX Measurement ID, and it must be one SHARED with this profile |
| orderDesc | boolean | default true (largest first) when orderByMetric is set |
| startDate | string | YYYY-MM-DD or a GA4 relative date like "28daysAgo" (default 28daysAgo) |
| dateRanges | array | up to 4 periods instead of startDate/endDate; rows gain a dateRange column; with two, change = the FIRST relative to the SECOND |
| dimensions | array | GA4 dimension names to break the metrics down by — omit for a single total row |
| comparisons | array | segments side by side: [{name, dimensionFilter}] or [{comparison:"comparisons/123"}]; adds a comparison column |
| aggregations | array | extra summary rows over the result: TOTAL, MINIMUM, MAXIMUM or COUNT |
| currencyCode | string | ISO 4217, e.g. EUR — default the property currency |
| metricFilter | object | Filter the AGGREGATED rows, GA4's having-clause — same FilterExpression shape. Example: {"filter":{"fieldName":"sessions","numericFilter":{"operation":"GREATER_THAN","value":{"int64Value":"30"}}}}. DIMENSIONS CANNOT BE USED HERE — use dimensionFilter. |
| keepEmptyRows | boolean | true = keep rows whose metrics are all zero |
| orderByMetric | string | sort by this metric — must be one of the metrics requested |
| dimensionFilter | object | NARROW THE REPORT — a GA4 FilterExpression, exactly one of andGroup | orGroup | notExpression | filter. Without it a report is the WHOLE property. Example: {"filter":{"fieldName":"sessionSource","stringFilter":{"matchType":"EXACT","value":"google"}}}; combine with {"andGroup":{"expressions":[…]}}. M… |
{
"name": "analytics_report",
"title": "Run a GA4 report",
"description": "WHAT HAPPENED ON THE SITE — the GA4 Data API report, and the tool that answers \"where is our traffic coming from\", \"which campaign converted\", \"which landing page is working\". Pass metrics by name (activeUsers, sessions, screenPageViews, conversions, totalRevenue, engagementRate, bounceRate, averageSessionDuration …) and dimensions to break them down by (sessionDefaultChannelGroup, sessionSource / sessionMedium / sessionCampaignName, landingPage, pagePath, country, deviceCategory, date, eventName …). GA4 publishes hundreds of both and each property ships its OWN custom dimensions, so names are forwarded as given rather than validated against a copied list — use list_analytics_definitions to see a property's custom ones. THE PROPERTY IS A NUMERIC ID (e.g. 123456789), NOT the G-XXXXXXX Measurement ID — run list_analytics_properties to resolve it. Dates default to the last 28 days and accept either YYYY-MM-DD or GA4's relative forms (\"28daysAgo\", \"yesterday\", \"today\"). PERIOD OVER PERIOD IN ONE CALL: compare:\"previous_period\" (or \"previous_year\") adds the earlier period and returns per-period totals plus `change` (absolute + %) computed from GA4's own totals — quote it, never redo the maths; or pass up to 4 named dateRanges. comparisons put segments side by side; totals:true adds a total row. Rows come back as flat named objects. When GA4 says the data is SAMPLED, TRUNCATED, rolled into an \"(other)\" row or thresholded, completenessNotes says so in words; repeat those when reporting. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"limit": {
"type": "number",
"description": "rows to return, 1–250000 (default 50). 250,000 is GOOGLE's per-request maximum, not ours — asking for more is silently capped there."
},
"offset": {
"type": "number",
"description": "skip this many rows — how you page past `limit`. Use the nextOffset the previous call returns."
},
"totals": {
"type": "boolean",
"description": "add TOTAL rows"
},
"compare": {
"enum": [
"previous_period",
"previous_year"
],
"type": "string",
"description": "also read the period before startDate–endDate (or the same dates a year earlier) and return `change`"
},
"endDate": {
"type": "string",
"description": "YYYY-MM-DD or \"today\" (default today)"
},
"metrics": {
"type": "array",
"items": {
"type": "string"
},
"description": "GA4 metric names — default [\"activeUsers\",\"sessions\",\"screenPageViews\"]"
},
"orderBy": {
"type": "array",
"items": {
"type": "object",
"properties": {
"desc": {
"type": "boolean",
"description": "true = largest or latest first"
},
"metric": {
"type": "string",
"description": "metric to sort by; use instead of dimension"
},
"dimension": {
"type": "string",
"description": "dimension to sort by; use instead of metric"
},
"orderType": {
"enum": [
"ALPHANUMERIC",
"CASE_INSENSITIVE_ALPHANUMERIC",
"NUMERIC"
],
"type": "string",
"description": "dimension sort order: ALPHANUMERIC, CASE_INSENSITIVE_ALPHANUMERIC or NUMERIC"
}
}
},
"description": "[{dimension:\"date\"}] or [{metric:\"sessions\", desc:true}]"
},
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id from list_analytics_properties (e.g. \"123456789\") — never the G-XXXXXXX Measurement ID, and it must be one SHARED with this profile"
},
"orderDesc": {
"type": "boolean",
"description": "default true (largest first) when orderByMetric is set"
},
"startDate": {
"type": "string",
"description": "YYYY-MM-DD or a GA4 relative date like \"28daysAgo\" (default 28daysAgo)"
},
"dateRanges": {
"type": "array",
"items": {
"type": "object",
"required": [
"startDate",
"endDate"
],
"properties": {
"name": {
"type": "string",
"description": "label for this period, shown in the dateRange column"
},
"endDate": {
"type": "string",
"description": "period end, YYYY-MM-DD or today"
},
"startDate": {
"type": "string",
"description": "period start, YYYY-MM-DD or a GA4 relative date such as 28daysAgo"
}
}
},
"maxItems": 4,
"description": "up to 4 periods instead of startDate/endDate; rows gain a dateRange column; with two, change = the FIRST relative to the SECOND"
},
"dimensions": {
"type": "array",
"items": {
"type": "string"
},
"description": "GA4 dimension names to break the metrics down by — omit for a single total row"
},
"comparisons": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "label for this segment; becomes the value of the comparison column"
},
"comparison": {
"type": "string",
"description": "saved GA4 comparison id such as comparisons/1234; use instead of name and dimensionFilter"
},
"dimensionFilter": {
"type": "object",
"description": "FilterExpression selecting this segment, same shape as dimensionFilter",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"description": "segments side by side: [{name, dimensionFilter}] or [{comparison:\"comparisons/123\"}]; adds a comparison column"
},
"aggregations": {
"type": "array",
"items": {
"enum": [
"TOTAL",
"MINIMUM",
"MAXIMUM",
"COUNT"
],
"type": "string"
},
"description": "extra summary rows over the result: TOTAL, MINIMUM, MAXIMUM or COUNT"
},
"currencyCode": {
"type": "string",
"description": "ISO 4217, e.g. EUR — default the property currency"
},
"metricFilter": {
"type": "object",
"description": "Filter the AGGREGATED rows, GA4's having-clause — same FilterExpression shape. Example: {\"filter\":{\"fieldName\":\"sessions\",\"numericFilter\":{\"operation\":\"GREATER_THAN\",\"value\":{\"int64Value\":\"30\"}}}}. DIMENSIONS CANNOT BE USED HERE — use dimensionFilter.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"keepEmptyRows": {
"type": "boolean",
"description": "true = keep rows whose metrics are all zero"
},
"orderByMetric": {
"type": "string",
"description": "sort by this metric — must be one of the metrics requested"
},
"dimensionFilter": {
"type": "object",
"description": "NARROW THE REPORT — a GA4 FilterExpression, exactly one of andGroup | orGroup | notExpression | filter. Without it a report is the WHOLE property. Example: {\"filter\":{\"fieldName\":\"sessionSource\",\"stringFilter\":{\"matchType\":\"EXACT\",\"value\":\"google\"}}}; combine with {\"andGroup\":{\"expressions\":[…]}}. METRICS CANNOT BE USED HERE — use metricFilter.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"annotations": {
"title": "Run a GA4 report",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "create_analytics_custom_dimension",
"title": "Create a GA4 custom dimension",
"description": "Register an event parameter the site ALREADY SENDS as a custom dimension, so reports can break down by it (plan tier, content category, logged-in state…). TWO THINGS TO TELL THE USER BEFORE CALLING: a GA4 custom dimension CANNOT BE DELETED — only archived — and a property is capped at 50 EVENT-scoped dimensions, so a duplicate or a typo permanently burns one of them. Call list_analytics_definitions first to see what already exists. GET THE TWO NAMES THE RIGHT WAY ROUND: parameterName is the event parameter GA4 is already collecting (e.g. \"customer_tier\") and displayName is only the label shown in reports — swapping them silently produces a dimension that always reads \"(not set)\". Registering a dimension is NOT retroactive: it only collects from the moment it is created. The property is the NUMERIC id from list_analytics_properties. Needs the Google Analytics connection to have edit access on the property.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property",
"parameterName"
],
"properties": {
"scope": {
"enum": [
"EVENT",
"USER",
"ITEM"
],
"type": "string",
"description": "default EVENT. The 50-dimension cap applies to EVENT scope"
},
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id from list_analytics_properties — it must be one SHARED with this profile, and any other is refused by name"
},
"description": {
"type": "string",
"description": "optional description, ≤150 characters"
},
"displayName": {
"type": "string",
"description": "the label shown in GA4 reports — defaults to parameterName"
},
"parameterName": {
"type": "string",
"description": "the event parameter GA4 already collects, e.g. \"customer_tier\" — NOT the report label"
}
}
},
"annotations": {
"title": "Create a GA4 custom dimension",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| the event parameter GA4 already collects, e.g. 'order_value' — NOT the report label. Letters, digits and underscores, starting with a letter, max 40 characters |
| measurementUnit * | string | REQUIRED — Google marks it Required and there is no safe default |
| restrictedMetricType | array | REQUIRED when measurementUnit is CURRENCY, and refused for every other unit |
{
"name": "create_analytics_custom_metric",
"title": "Register a GA4 custom metric",
"description": "Register an event parameter the site ALREADY SENDS as a GA4 custom METRIC, so reports can SUM or AVERAGE it. This is the other half of the pair: a custom DIMENSION makes a value something you can group BY, a custom METRIC makes it something you can TOTAL — 'order_value' as a dimension gives you a list of prices, as a metric it gives you revenue. TELL THE USER TWO THINGS BEFORE CALLING: a GA4 custom metric CANNOT be deleted, only archived, and a property is capped at 50 (125 on Analytics 360) — a duplicate or a typo permanently burns a slot, so run list_analytics_definitions first, which lists metrics beside dimensions. measurementUnit IS REQUIRED and is never guessed for you: STANDARD for a plain count or quantity, CURRENCY for money, SECONDS/MINUTES/HOURS for durations. CURRENCY additionally REQUIRES restrictedMetricType (REVENUE_DATA for money coming in, COST_DATA for money going out) and every other unit REFUSES it — both directions are refused before the call is made, because Google's own error names neither field. METRICS ARE EVENT-SCOPED ONLY, unlike dimensions, which take EVENT | USER | ITEM. Not retroactive: it collects from creation onward. The result is READ BACK from Google, never echoed from the request. Needs edit access on the property. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property",
"parameterName",
"measurementUnit"
],
"properties": {
"scope": {
"enum": [
"EVENT"
],
"type": "string",
"description": "EVENT is the only scope GA4 accepts for a metric, and it is immutable"
},
"property": {
"type": "string",
"description": "NUMERIC GA4 property id from list_analytics_properties — never the G-XXXXXXX Measurement ID"
},
"description": {
"type": "string",
"description": "≤150 characters"
},
"displayName": {
"type": "string",
"description": "the label shown in reports; defaults to parameterName, max 82 characters"
},
"parameterName": {
"type": "string",
"description": "the event parameter GA4 already collects, e.g. 'order_value' — NOT the report label. Letters, digits and underscores, starting with a letter, max 40 characters"
},
"measurementUnit": {
"enum": [
"STANDARD",
"CURRENCY",
"FEET",
"METERS",
"KILOMETERS",
"MILES",
"MILLISECONDS",
"SECONDS",
"MINUTES",
"HOURS"
],
"type": "string",
"description": "REQUIRED — Google marks it Required and there is no safe default"
},
"restrictedMetricType": {
"type": "array",
"items": {
"enum": [
"COST_DATA",
"REVENUE_DATA"
],
"type": "string"
},
"description": "REQUIRED when measurementUnit is CURRENCY, and refused for every other unit"
}
}
},
"annotations": {
"title": "Register a GA4 custom metric",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| string |
| narrow the answer — COMPATIBLE returns only the fields that CAN be added |
{
"name": "check_analytics_compatibility",
"title": "Check a GA4 report will work, before running it",
"description": "FREE PRE-FLIGHT FOR analytics_report — ask Google whether these dimensions and metrics can appear in ONE report together, BEFORE running the report that would fail. Use it whenever a report combines fields you have not combined before, and especially when one of them is a custom dimension: GA4 has real pairs that are each perfectly valid alone and cannot be queried together, and `analytics_report` deliberately forwards names AS GIVEN (GA4 publishes hundreds of dimensions and every property ships its own custom ones, so validating against a copied list would go stale and start REFUSING names Google accepts). Pass EXACTLY what you would pass to analytics_report — same metrics, same dimensions, same filters — and it returns which fields are INCOMPATIBLE so you can drop one and run the real report once. IT DOES NOT CHECK THAT A NAME EXISTS: an unknown api name is refused by Google outright, and list_analytics_metadata is what resolves names. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"metrics": {
"type": "array",
"items": {
"type": "string"
},
"description": "the same metrics you would send to analytics_report (defaults to the same three it defaults to)"
},
"property": {
"type": "string",
"description": "NUMERIC GA4 property id"
},
"dimensions": {
"type": "array",
"items": {
"type": "string"
},
"description": "the same dimensions you would send to analytics_report"
},
"metricFilter": {
"type": "object",
"description": "the same GA4 FilterExpression you would send to analytics_report",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"dimensionFilter": {
"type": "object",
"description": "the same GA4 FilterExpression you would send to analytics_report",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"compatibilityFilter": {
"enum": [
"COMPATIBILITY_UNSPECIFIED",
"COMPATIBLE",
"INCOMPATIBLE"
],
"type": "string",
"description": "narrow the answer — COMPATIBLE returns only the fields that CAN be added"
}
}
},
"annotations": {
"title": "Check a GA4 report will work, before running it",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| exclusionDurationMode | string | IMMUTABLE, and it applies to EVERY exclude clause on the audience |
| membershipDurationDays * | number | REQUIRED and IMMUTABLE, 1-540. 30 is the usual remarketing window; 540 is GA4's maximum |
{
"name": "create_analytics_audience",
"title": "Build a GA4 audience (remarketing list)",
"description": "BUILD A GA4 AUDIENCE — a remarketing list defined by what people did on the site, which flows into Google Ads across the property's Google Ads link. TELL THE USER TWO THINGS BEFORE CALLING: GA4 marks the DEFINITION, the MEMBERSHIP DURATION and every filter SCOPE immutable, so a wrong audience is archived and rebuilt rather than edited; and it is NOT retroactive — it starts collecting members from creation onward, and Google takes 24-48 hours to populate it. `filterClauses` is GA4's own nested shape and the TOP level of each filterExpression MUST be a single `andGroup` (Google's schema says so and its rejection names no field). Worked example, 'everyone who fired purchase': [{\"clauseType\":\"INCLUDE\",\"simpleFilter\":{\"scope\":\"AUDIENCE_FILTER_SCOPE_ACROSS_ALL_SESSIONS\",\"filterExpression\":{\"andGroup\":{\"filterExpressions\":[{\"orGroup\":{\"filterExpressions\":[{\"eventFilter\":{\"eventName\":\"purchase\"}}]}}]}}}}]. The result says whether the property is linked to Google Ads, because an audience nobody can remarket to is not a finished job. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property",
"displayName",
"description",
"membershipDurationDays",
"filterClauses"
],
"properties": {
"property": {
"type": "string",
"description": "the NUMERIC GA4 property id"
},
"description": {
"type": "string",
"description": "REQUIRED by Google on the Audience resource — one line saying who is in it"
},
"displayName": {
"type": "string",
"description": "the audience name shown in GA4 and in Google Ads"
},
"eventTrigger": {
"type": "object",
"description": "optional {eventName, logCondition} event GA4 logs when a user joins the audience",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"filterClauses": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "GA4 AudienceFilterClause list — each {clauseType:INCLUDE|EXCLUDE, simpleFilter|sequenceFilter}. See the worked example in the description"
},
"exclusionDurationMode": {
"enum": [
"EXCLUDE_TEMPORARILY",
"EXCLUDE_PERMANENTLY"
],
"type": "string",
"description": "IMMUTABLE, and it applies to EVERY exclude clause on the audience"
},
"membershipDurationDays": {
"type": "number",
"description": "REQUIRED and IMMUTABLE, 1-540. 30 is the usual remarketing window; 540 is GA4's maximum"
}
}
},
"annotations": {
"title": "Build a GA4 audience (remarketing list)",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| string |
| REQUIRED for action:'create' — what will be sending with this secret, e.g. "Shopify webhook". It is the only label a secret ever gets. May also be used to name one for delete |
{
"name": "manage_analytics_measurement_protocol_secret",
"title": "GA4 Measurement Protocol secrets",
"description": "THE SERVER-SIDE EVENT CHANNEL FOR GA4, the Google twin of the conversions APIs Hermoso already ships for Reddit, Snapchat and OpenAI Ads. A Measurement Protocol secret is the api_secret half of https://www.google-analytics.com/mp/collect; the other half is the stream's measurementId for a web stream or its firebaseAppId for an app stream, and this tool reports whichever applies. action:\"list\" shows every secret with its value, action:\"create\" mints one (displayName is required, and it is the ONLY label a secret ever gets because the values are opaque), action:\"delete\" revokes one and NEEDS confirm:true. TELL THE USER THIS BEFORE THEY DELETE: there is no rotation anywhere in the API, because the value is output-only and patch reaches only the display name. A delete takes effect at once, and anything still sending with the old value stops being recorded SILENTLY, since the Measurement Protocol answers a bad api_secret with a 2xx and drops the hit. Rotating safely means create the new one, move every sender across, then delete the old one. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"action": {
"enum": [
"list",
"create",
"delete"
],
"type": "string",
"description": "defaults to 'list'"
},
"confirm": {
"type": "boolean",
"description": "must be true to actually delete"
},
"property": {
"type": "string",
"description": "NUMERIC GA4 property id"
},
"secretId": {
"type": "string",
"description": "for action:'delete', from action:'list' — preferred over displayName because it is unambiguous"
},
"dataStream": {
"type": "string",
"description": "stream id, measurement id or display name. Optional when the property has exactly one stream; required when it has several, and an ambiguous name is refused rather than first-matched"
},
"displayName": {
"type": "string",
"description": "REQUIRED for action:'create' — what will be sending with this secret, e.g. \"Shopify webhook\". It is the only label a secret ever gets. May also be used to name one for delete"
}
}
},
"annotations": {
"title": "GA4 Measurement Protocol secrets",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| property * | string | NUMERIC GA4 property id, from list_analytics_properties |
| description | string | max 256 characters |
| displayName | string | the group name shown in GA4, max 80 characters. Required to create; may also name an existing group for update/delete |
| channelGroupId | string | for update and delete — from action:'list', and unambiguous where a name is not |
{
"name": "manage_analytics_channel_group",
"title": "GA4 channel groups",
"description": "HOW GA4 DECIDES WHICH BUCKET A CLICK LANDS IN, which is the number an ad studio is judged on and the answer to \"why is my campaign showing as Unassigned\". action:'list' reads every group with its channels in the order GA4 tests them, including Google's own Default channel group — read that first, because a campaign landing in the wrong channel is a rule that does not match rather than missing data. 'create' authors your own group, 'update' changes one, 'delete' removes one (confirm-gated). AUTHORING: `channels` is an ordered list, each with a name and its conditions, and GA4 STOPS AT THE FIRST RULE THAT MATCHES — so a broad rule above a narrow one silently swallows it. A condition is {fieldName, matchType, value} or {fieldName, values:[…]} for a list, plus not:true to invert; an entry that is itself an ARRAY of conditions is OR'ed, and separate entries are AND'ed. THE FIELD NAMES ARE NOT THE REPORT DIMENSIONS: use eachScopeSource, eachScopeMedium, eachScopeCampaignName, eachScopeCampaignId, eachScopeSourcePlatform or eachScopeDefaultChannelGroup — sessionSource, medium and the rest are real GA4 dimensions that Google REFUSES here, and its refusal does not say what to use instead. `primary:true` makes the group the one every report is bucketed by AND unsets whichever group was primary before. Google's own Default channel group cannot be edited and is refused by name. An update REPLACES the whole rule set. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"action": {
"enum": [
"list",
"create",
"update",
"delete"
],
"type": "string",
"description": "defaults to 'list'"
},
"confirm": {
"type": "boolean",
"description": "must be true to actually delete"
},
"primary": {
"type": "boolean",
"description": "make this the group reports are bucketed by. It unsets the previous primary group, changing what every report in the property shows"
},
"channels": {
"type": "array",
"items": {},
"description": "ordered list of {name, conditions:[…]}. Required to create. On update it REPLACES every channel, so send the ones you want to keep"
},
"property": {
"type": "string",
"description": "NUMERIC GA4 property id, from list_analytics_properties"
},
"description": {
"type": "string",
"description": "max 256 characters"
},
"displayName": {
"type": "string",
"description": "the group name shown in GA4, max 80 characters. Required to create; may also name an existing group for update/delete"
},
"channelGroupId": {
"type": "string",
"description": "for update and delete — from action:'list', and unambiguous where a name is not"
}
}
},
"annotations": {
"title": "GA4 channel groups",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| displayName | string | the name shown in GA4, max 82 characters. Required to create |
| calculatedMetricId | string | the API name, e.g. "cost_per_purchase". Required to create and PERMANENT; for update/delete it names the metric |
{
"name": "manage_analytics_calculated_metric",
"title": "GA4 calculated metrics",
"description": "THE DERIVED NUMBER A MARKETER ACTUALLY REPORTS — cost per purchase, revenue per session, a margin — built from metrics GA4 already collects and then available to analytics_report like any other metric. action:'list' reads them, 'create' adds one, 'update' changes the formula, name, unit or description, 'delete' removes one (confirm-gated). THE ID IS CHOSEN ONCE AND IS PERMANENT: calculatedMetricId becomes the API name reports ask for (calcMetric:your_id), Google marks it output-only afterwards, and renaming is refused by name rather than silently ignored — so pick it deliberately. The formula takes + - * / and parentheses over metric names and plain numbers, referencing at most 5 unique custom metrics; Google answers a syntax error with the exact position. WATCH invalidMetricReference ON THE WAY BACK: a formula naming a metric this property does not collect is created happily and flagged invalid, and any report using it may fail or return unexpected numbers — report that rather than a clean success. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"action": {
"enum": [
"list",
"create",
"update",
"delete"
],
"type": "string",
"description": "defaults to 'list'"
},
"confirm": {
"type": "boolean",
"description": "must be true to actually delete"
},
"formula": {
"type": "string",
"description": "e.g. \"advertiserAdCost / conversions\". Required to create"
},
"property": {
"type": "string",
"description": "NUMERIC GA4 property id, from list_analytics_properties"
},
"metricUnit": {
"type": "string",
"description": "STANDARD | CURRENCY | FEET | MILES | METERS | KILOMETERS | MILLISECONDS | SECONDS | MINUTES | HOURS. Required to create"
},
"description": {
"type": "string",
"description": "max 4096 characters"
},
"displayName": {
"type": "string",
"description": "the name shown in GA4, max 82 characters. Required to create"
},
"calculatedMetricId": {
"type": "string",
"description": "the API name, e.g. \"cost_per_purchase\". Required to create and PERMANENT; for update/delete it names the metric"
}
}
},
"annotations": {
"title": "GA4 calculated metrics",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| longer note shown with the annotation (create or update) |
| annotationId | string | for update/delete — from action:'list' |
{
"name": "manage_analytics_annotations",
"title": "GA4 chart annotations",
"description": "MARK WHAT YOU DID ON THE CUSTOMER'S OWN GA4 CHARTS — \"ad launched\", \"post went out\", \"price change\" — so the traffic it moved is visible where they already look. action:'list' reads them (Google's own system annotations included, which cannot be edited or deleted), 'create' adds one on a single date or a startDate–endDate range, 'update' changes one, 'delete' removes one (confirm-gated). color: PURPLE BROWN BLUE GREEN RED CYAN ORANGE (default BLUE). Every write is read back. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"date": {
"type": "string",
"description": "YYYY-MM-DD — one day"
},
"color": {
"enum": [
"PURPLE",
"BROWN",
"BLUE",
"GREEN",
"RED",
"CYAN",
"ORANGE"
],
"type": "string",
"description": "chart colour; default BLUE"
},
"title": {
"type": "string",
"description": "the label on the chart. Required to create"
},
"action": {
"enum": [
"list",
"create",
"update",
"delete"
],
"type": "string",
"description": "defaults to 'list'"
},
"confirm": {
"type": "boolean",
"description": "must be true to actually delete"
},
"endDate": {
"type": "string",
"description": "last day of a range, YYYY-MM-DD; use with startDate instead of date"
},
"property": {
"type": "string",
"description": "NUMERIC GA4 property id, from list_analytics_properties"
},
"startDate": {
"type": "string",
"description": "YYYY-MM-DD — a range, with endDate"
},
"description": {
"type": "string",
"description": "longer note shown with the annotation (create or update)"
},
"annotationId": {
"type": "string",
"description": "for update/delete — from action:'list'"
}
}
},
"annotations": {
"title": "GA4 chart annotations",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "analytics_data_retention",
"title": "GA4 data retention",
"description": "HOW LONG GA4 KEEPS EVENT- AND USER-LEVEL DATA. The default is 2 months, which silently caps every exploration and funnel at the last two months; standard reports are unaffected. action:'get' reads it; 'set' changes eventDataRetention / userDataRetention (2 or 14 months on a standard property; 26, 38, 50 for event data on Analytics 360 only) and resetUserDataOnNewActivity. RAISING applies to data already collected. LOWERING DELETES the older data at Google's next monthly run and cannot be undone, so it answers needsConfirm first — show the user, get a yes, then confirm:true. Read back. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"property"
],
"properties": {
"action": {
"enum": [
"get",
"set"
],
"type": "string",
"description": "defaults to 'get'"
},
"confirm": {
"type": "boolean",
"description": "required when the change SHORTENS retention, which deletes data"
},
"property": {
"type": "string",
"description": "NUMERIC GA4 property id, from list_analytics_properties"
},
"userDataRetention": {
"type": "string",
"description": "months: 2 or 14"
},
"eventDataRetention": {
"type": "string",
"description": "months: 2 or 14 (26/38/50 Analytics 360 only), or the enum e.g. FOURTEEN_MONTHS"
},
"resetUserDataOnNewActivity": {
"type": "boolean",
"description": "true = a user's data retention window restarts each time that user shows new activity"
}
}
},
"annotations": {
"title": "GA4 data retention",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| parameter |
| array |
| Tag Manager parameters, each { type, key, value }. type defaults to "template", which is Tag Manager's string type. |
| workspace | string | older name for gtmWorkspace (MCP only) |
| gtmWorkspace | string | Tag Manager workspace id or name. Defaults to the Default Workspace. |
| containerPath * | string | the "accounts/<id>/containers/<id>" path from list_tag_manager_containers |
| firingTriggerId * | array | REQUIRED, at least one real trigger id from list_tag_manager_tags. A tag with no trigger is installed and never runs. |
| tagFiringOption | string | unlimited, oncePerEvent or oncePerLoad |
| blockingTriggerId | array | trigger ids that stop this tag firing when they match |
{
"name": "create_tag_manager_tag",
"title": "Install a tag in the container draft",
"description": "INSTALL A TAG in the container's draft workspace: a Google Ads conversion tag, a GA4 event, or a third-party pixel. IT DOES NOT GO LIVE. Everything written here lands in a WORKSPACE, which is a draft, and it does not run on the website until a human opens Tag Manager and publishes the container. Staging NEVER publishes: making a tag live is a separate, explicitly confirmed call (publish_tag_manager_container), because publishing changes what executes for every visitor on the live site. Always tell the user the change is staged, and that it does nothing until it is published. TWO THINGS YOU MUST GET FROM THE CONTAINER RATHER THAN INVENT. (1) type is a Tag Manager type string and Google publishes no machine-readable list of them, so Hermoso forwards whatever you pass rather than validating against a list that would go stale and start refusing real types. Get the right one by calling list_tag_manager_tags and copying the type off a tag of the same kind that already exists, or read it in Tag Manager. (2) firingTriggerId is required and must name at least one real trigger id from list_tag_manager_tags, because a tag with no trigger is installed and never runs, which is worse than not installing it. Use create_tag_manager_trigger if the container has no suitable trigger. 0 credits. Needs Google Tag Manager connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"containerPath",
"name",
"type",
"firingTriggerId"
],
"properties": {
"name": {
"type": "string",
"description": "what a human will look for in the Tag Manager UI"
},
"type": {
"type": "string",
"description": "the Tag Manager tag type string. Copy it off a tag of the same kind already in the container (list_tag_manager_tags) rather than guessing: Google publishes no machine-readable list of these."
},
"notes": {
"type": "string",
"description": "internal note stored on the tag; not shown on the website"
},
"paused": {
"type": "boolean",
"description": "true = create the tag paused, so it does not fire"
},
"parameter": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "Tag Manager parameters, each { type, key, value }. type defaults to \"template\", which is Tag Manager's string type."
},
"workspace": {
"type": "string",
"description": "older name for gtmWorkspace (MCP only)"
},
"gtmWorkspace": {
"type": "string",
"description": "Tag Manager workspace id or name. Defaults to the Default Workspace."
},
"containerPath": {
"type": "string",
"description": "the \"accounts/<id>/containers/<id>\" path from list_tag_manager_containers"
},
"firingTriggerId": {
"type": "array",
"items": {
"type": "string"
},
"description": "REQUIRED, at least one real trigger id from list_tag_manager_tags. A tag with no trigger is installed and never runs."
},
"tagFiringOption": {
"type": "string",
"description": "unlimited, oncePerEvent or oncePerLoad"
},
"blockingTriggerId": {
"type": "array",
"items": {
"type": "string"
},
"description": "trigger ids that stop this tag firing when they match"
}
}
},
"annotations": {
"title": "Install a tag in the container draft",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| containerPath * | string | container path accounts/<id>/containers/<id>, from list_tag_manager_containers |
| firingTriggerId | array | replaces the firing trigger ids, from list_tag_manager_tags |
| tagFiringOption | string | unlimited, oncePerEvent or oncePerLoad |
| blockingTriggerId | array | replaces the blocking trigger ids |
{
"name": "update_tag_manager_tag",
"title": "Change a tag in the container draft",
"description": "CHANGE AN EXISTING TAG in the draft workspace: rename it, fix a wrong conversion id or label, move it onto a different trigger, or pause it. Like create_tag_manager_tag this lands in a DRAFT and does not reach the website until a human publishes the container. Hermoso reads the tag first and merges your change on top of it, because Tag Manager's update replaces the whole tag and sending only the changed field would silently strip its parameters and triggers. A tag's type cannot be changed: that is deleting one tag and creating another. If somebody edited the tag in Tag Manager after Hermoso read it the change is REFUSED rather than overwriting their edit, and the fix is to read it again and reapply. To stop a tag running, pause it rather than removing its trigger. 0 credits. Needs Google Tag Manager connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"containerPath",
"tagId"
],
"properties": {
"name": {
"type": "string",
"description": "new tag name"
},
"notes": {
"type": "string",
"description": "replaces the internal note on the tag"
},
"tagId": {
"type": "string",
"description": "the tagId from list_tag_manager_tags"
},
"paused": {
"type": "boolean",
"description": "pause the tag rather than removing its trigger, which is how you stop one running"
},
"parameter": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "replaces the tag parameters: [{type, key, value}]"
},
"workspace": {
"type": "string",
"description": "older name for gtmWorkspace (MCP only)"
},
"gtmWorkspace": {
"type": "string",
"description": "Tag Manager workspace id or name; defaults to the Default Workspace"
},
"containerPath": {
"type": "string",
"description": "container path accounts/<id>/containers/<id>, from list_tag_manager_containers"
},
"firingTriggerId": {
"type": "array",
"items": {
"type": "string"
},
"description": "replaces the firing trigger ids, from list_tag_manager_tags"
},
"tagFiringOption": {
"type": "string",
"description": "unlimited, oncePerEvent or oncePerLoad"
},
"blockingTriggerId": {
"type": "array",
"items": {
"type": "string"
},
"description": "replaces the blocking trigger ids"
}
}
},
"annotations": {
"title": "Change a tag in the container draft",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| containerPath * | string | container path accounts/<id>/containers/<id>, from list_tag_manager_containers |
| customEventFilter | array | REQUIRED for a customEvent trigger, or it would fire on every dataLayer event in the container |
{
"name": "create_tag_manager_trigger",
"title": "Create a trigger in the container draft",
"description": "CREATE A TRIGGER, the rule that decides when a tag fires, in the container's draft workspace. Use it when list_tag_manager_tags shows no trigger matching what a conversion needs, for example a purchase confirmation page or a dataLayer purchase event. A trigger on its own fires nothing: it has to be named in a tag's firingTriggerId, so create the trigger, then create or update the tag that uses it. Like every other write here it lands in a DRAFT and does not reach the website until a human publishes the container. type must be one of Tag Manager's own trigger types, and an unrecognised one is refused by name with the accepted list, for free, before any request. A customEvent trigger with no customEventFilter fires on EVERY dataLayer event in the container rather than the one you meant, so that is refused too. 0 credits. Needs Google Tag Manager connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"containerPath",
"name",
"type"
],
"properties": {
"name": {
"type": "string",
"description": "trigger name, as it appears in Tag Manager"
},
"type": {
"type": "string",
"description": "one of Tag Manager's own trigger types, e.g. pageview, domReady, windowLoaded, customEvent, formSubmission, linkClick, click, historyChange, scrollDepth, elementVisibility, timer. An unknown one is refused by name with the full list."
},
"notes": {
"type": "string",
"description": "internal note stored on the trigger"
},
"filter": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "Tag Manager Condition objects, each { type, parameter: [...] }"
},
"workspace": {
"type": "string",
"description": "older name for gtmWorkspace (MCP only)"
},
"gtmWorkspace": {
"type": "string",
"description": "Tag Manager workspace id or name; defaults to the Default Workspace"
},
"containerPath": {
"type": "string",
"description": "container path accounts/<id>/containers/<id>, from list_tag_manager_containers"
},
"customEventFilter": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "REQUIRED for a customEvent trigger, or it would fire on every dataLayer event in the container"
}
}
},
"annotations": {
"title": "Create a trigger in the container draft",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| older name for gtmWorkspace (MCP only) |
| versionName | string | name for the version being created; defaults to a timestamped Hermoso name |
| versionPath | string | ROLLBACK / RE-PUBLISH: publish this EXISTING version instead of the workspace. From list_tag_manager_versions. Must be a version inside the same container. |
| gtmWorkspace | string | Tag Manager workspace id or name; defaults to the Default Workspace |
| versionNotes | string | notes stored on the version, visible in Tag Manager |
| containerPath * | string | the "accounts/<id>/containers/<id>" path from list_tag_manager_containers |
| confirmPublicId | string | the container's GTM-XXXXXXX public id, REQUIRED when the container already has a live version. Read it from the preview; it cannot be guessed. |
{
"name": "publish_tag_manager_container",
"title": "Publish the container to the live site",
"description": "PUBLISH THE CONTAINER — the ONE call in Hermoso that changes what runs on the customer's live website for every visitor, immediately. Tag Manager publishes a VERSION, so the draft workspace becomes a version, then that is published. CALLING IT WITHOUT confirm PUBLISHES NOTHING and is the correct first move: it returns what is live right now, its tag/trigger/variable counts, and exactly what would change, read back from Google. Show the user, get a yes, then call again. THE GATE SCALES WITH THE DAMAGE. A NEVER-published container needs only confirm:true. A container that ALREADY has a live version is replacing something that works, so it additionally needs confirmPublicId set to that container's GTM-XXXXXXX public id. It cannot be guessed; read it from list_tag_manager_containers or from the preview. IT REFUSES, FOR FREE AND WITHOUT PUBLISHING, in four cases you should relay rather than retry: merge conflicts in the workspace (somebody changed the same thing in the container — resolve in Tag Manager first), a workspace with no changes at all, a version Google reports a COMPILER ERROR in, and a container whose public id could not be read. TO UNDO: publish the previous version again (versionPath from list_tag_manager_versions, no workspace involved); rolledBackTo names it. READ verified BEFORE YOU TELL ANYONE IT IS LIVE. It is three-valued: true means the container's live version was re-read and IS the one just published; false means Google accepted it but something else is live, which can be Tag Manager's own read lag and must be reported as unconfirmed; null means the read-back could not run, so it is not known — never report false or null as published. Creating the version DELETES the draft workspace and opens a fresh empty one (id in the reply), so any workspace id you hold is stale. Publishing needs the PUBLISH right on the container (Admin, User Management), separate from Edit; a refusal there is a permission, not a broken connection. 0 credits. Needs Google Tag Manager connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"containerPath"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "REQUIRED to publish. Without it nothing is published and you get the blast-radius report instead."
},
"workspace": {
"type": "string",
"description": "older name for gtmWorkspace (MCP only)"
},
"versionName": {
"type": "string",
"description": "name for the version being created; defaults to a timestamped Hermoso name"
},
"versionPath": {
"type": "string",
"description": "ROLLBACK / RE-PUBLISH: publish this EXISTING version instead of the workspace. From list_tag_manager_versions. Must be a version inside the same container."
},
"gtmWorkspace": {
"type": "string",
"description": "Tag Manager workspace id or name; defaults to the Default Workspace"
},
"versionNotes": {
"type": "string",
"description": "notes stored on the version, visible in Tag Manager"
},
"containerPath": {
"type": "string",
"description": "the \"accounts/<id>/containers/<id>\" path from list_tag_manager_containers"
},
"confirmPublicId": {
"type": "string",
"description": "the container's GTM-XXXXXXX public id, REQUIRED when the container already has a live version. Read it from the preview; it cannot be guessed."
}
}
},
"annotations": {
"title": "Publish the container to the live site",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| confirm | boolean | true to make the change; without it nothing is written and the reply says what would change |
| pixelId | string | the pixel's id (Meta pixel id, TikTok pixel code, G-/AW-/GT- id, LinkedIn partner id, …). Leave out to use the brand's only pixel on its connected ad account. |
| publish | boolean | Tag Manager only: also publish the container so the tag goes live |
| snippet | string | the platform's base code, copied from its events manager. Required for TikTok, LinkedIn, Reddit, X and Snap through Tag Manager or a manual install; it must contain pixelId. |
| platform * | string | which pixel: meta, tiktok, google, linkedin, reddit, pinterest, x or snapchat |
| adAccountId | string | the ad account (or TikTok advertiser) to read the pixel from, when the brand has several |
| gtmWorkspace | string | Tag Manager only: workspace id or name; default the Default Workspace |
| containerPath | string | Tag Manager only: accounts/<id>/containers/<id> from list_tag_manager_containers, when several are shared with the brand |
| confirmPublicId | string | Tag Manager only, with publish: the container's GTM-XXXXXXX id, required when it already has a live version |
| replaceExisting | string | Wix only: the id of the site's current pixel of this type, typed back, when installing a different one replaces it |
{
"name": "install_tracking_tag",
"title": "Install a pixel on the website",
"description": "PUT A PIXEL ON THE BRAND'S WEBSITE: a Meta Pixel, TikTok Pixel, Google tag, LinkedIn Insight Tag, Reddit Pixel, Pinterest Tag, X Pixel or Snap Pixel. It goes through the site connection the brand has. GOOGLE TAG MANAGER (any pixel): a Custom HTML tag with the platform's base code on every page, staged as a draft, and live only with publish:true, through the same confirmation publish_tag_manager_container asks for (a container already live needs confirmPublicId). WIX (Meta, TikTok, Google Ads AW-, Google Analytics G-): a Wix marketing tag, live at once; Wix keeps one per type, so replacing a different pixel needs replaceExisting set to the one being replaced. WEBFLOW, WORDPRESS, SHOPIFY or no site connection: those give an app no way to add code, so the reply is the base code and exactly where to paste it. THE PIXEL ID IS NEVER INVENTED: leave pixelId out and the brand's only pixel on its connected ad account is used (several are listed for you to pick); a given id is checked against that account when it is connected, and refused if it is not the brand's. The code is the platform's own: Meta and Pinterest from the connected account or their published base code, the Google tag from Google's published snippet; for TikTok, LinkedIn, Reddit, X and Snap pass snippet, the base code copied from the platform's events manager (it must contain the id). WITHOUT confirm:true NOTHING IS WRITTEN: the reply says exactly what would change; show the user, get a yes, call again with confirm:true. After a change reaches the site, Hermoso reads the live page (url, default the brand's website) and verify.found says whether the pixel is there: true, false, or null when the page could not be read (never report null as missing). A Tag Manager publish can take a few minutes to reach visitors. For Hermoso's OWN first-party tag (visits, attribution and server-side conversions) use install_hermoso_tag instead. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"platform"
],
"properties": {
"url": {
"type": "string",
"description": "the page to check afterwards; default the brand's website"
},
"site": {
"enum": [
"google_tag_manager",
"wix",
"webflow",
"wordpress",
"shopify",
"manual"
],
"type": "string",
"description": "which site connection to use; leave out to use the one the brand has (asked when it has both Tag Manager and Wix)"
},
"confirm": {
"type": "boolean",
"description": "true to make the change; without it nothing is written and the reply says what would change"
},
"pixelId": {
"type": "string",
"description": "the pixel's id (Meta pixel id, TikTok pixel code, G-/AW-/GT- id, LinkedIn partner id, …). Leave out to use the brand's only pixel on its connected ad account."
},
"publish": {
"type": "boolean",
"description": "Tag Manager only: also publish the container so the tag goes live"
},
"snippet": {
"type": "string",
"description": "the platform's base code, copied from its events manager. Required for TikTok, LinkedIn, Reddit, X and Snap through Tag Manager or a manual install; it must contain pixelId."
},
"platform": {
"enum": [
"meta",
"tiktok",
"google",
"linkedin",
"reddit",
"pinterest",
"x",
"snapchat"
],
"type": "string",
"description": "which pixel: meta, tiktok, google, linkedin, reddit, pinterest, x or snapchat"
},
"adAccountId": {
"type": "string",
"description": "the ad account (or TikTok advertiser) to read the pixel from, when the brand has several"
},
"gtmWorkspace": {
"type": "string",
"description": "Tag Manager only: workspace id or name; default the Default Workspace"
},
"containerPath": {
"type": "string",
"description": "Tag Manager only: accounts/<id>/containers/<id> from list_tag_manager_containers, when several are shared with the brand"
},
"confirmPublicId": {
"type": "string",
"description": "Tag Manager only, with publish: the container's GTM-XXXXXXX id, required when it already has a live version"
},
"replaceExisting": {
"type": "string",
"description": "Wix only: the id of the site's current pixel of this type, typed back, when installing a different one replaces it"
}
}
},
"annotations": {
"title": "Install a pixel on the website",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| string |
| Tag Manager only, with publish: the container's GTM-XXXXXXX id |
{
"name": "remove_tracking_tag",
"title": "Remove a pixel from the website",
"description": "TAKE A PIXEL OFF THE BRAND'S WEBSITE. Tag Manager: deletes the tag Hermoso installed for that pixel (only Hermoso's own, never somebody else's), as a draft, live only with publish:true through the usual publish confirmation. Wix: removes the site's marketing tag of that type only when it IS this pixel. Other sites: says where to delete the code by hand. The site stops sending that platform data once it is gone, so WITHOUT confirm:true NOTHING CHANGES and the reply names exactly what would be removed: show the user, get a yes, then call again with confirm:true. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"platform",
"pixelId"
],
"properties": {
"site": {
"enum": [
"google_tag_manager",
"wix",
"webflow",
"wordpress",
"shopify",
"manual"
],
"type": "string",
"description": "which site connection; default the one the brand has"
},
"confirm": {
"type": "boolean",
"description": "true to remove; without it nothing changes"
},
"pixelId": {
"type": "string",
"description": "the id of the pixel to remove (list_tracking_tags shows them)"
},
"publish": {
"type": "boolean",
"description": "Tag Manager only: also publish so the removal goes live"
},
"platform": {
"enum": [
"meta",
"tiktok",
"google",
"linkedin",
"reddit",
"pinterest",
"x",
"snapchat"
],
"type": "string",
"description": "which pixel"
},
"gtmWorkspace": {
"type": "string",
"description": "Tag Manager only: workspace id or name"
},
"containerPath": {
"type": "string",
"description": "Tag Manager only: the container, when several are shared"
},
"confirmPublicId": {
"type": "string",
"description": "Tag Manager only, with publish: the container's GTM-XXXXXXX id"
}
}
},
"annotations": {
"title": "Remove a pixel from the website",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| 1-25000, default 1000 |
| startRow | number | zero-based, for paging past rowLimit |
| dataState | string | final (default, lags 2-3 days), all (includes fresh partial data that WILL change), or hourlyAll |
| startDate * | string | YYYY-MM-DD, required, Pacific time, inclusive |
| dimensions | array | group by any of query, page, country, device, searchAppearance, brandedClassification (branded vs non-branded queries), date, hour. Omit for one total row. An unknown name is refused by name rather than dropped. |
| aggregationType | string | auto (default), byPage, byProperty or byNewsShowcasePanel |
| dimensionFilterGroups | array | narrow the report, e.g. [{"filters":[{"dimension":"query","operator":"contains","expression":"buy"}]}]. dimension is one of query/page/country/device/searchAppearance/brandedClassification (expression BRANDED or NON_BRANDED) — date and hour are NOT filterable, they are the date range. operator is eq… |
{
"name": "search_console_performance",
"title": "What people searched for on Google, and what they clicked",
"description": "THE REAL SEARCH TERMS — Google Search Console's performance report, and the most useful research tool here for writing copy. `dimensions:[\"query\"]` returns the literal words people typed to reach this brand, with impressions, clicks, CTR and average position; `dimensions:[\"page\",\"query\"]` answers \"which landing page already wins this demand\", i.e. Where paid traffic should point. Every other dimension is available too: country, device, searchAppearance, date, hour. This is first-party MEASURED demand language, not a competitor's guess (an ad library) and not a model (a keyword planner), and it exists nowhere else: organic search terms left Google Analytics with \"not provided\" years ago. StartDate and endDate are REQUIRED and are exact YYYY-MM-DD in Pacific time — Google Analytics' relative forms like \"28daysAgo\" are NOT accepted anywhere in Search Console. THREE THINGS TO REPEAT WHENEVER YOU REPORT THESE NUMBERS: (1) rows are the TOP ones, not all of them, by Google's own statement; (2) anonymised queries are WITHHELD, so clicks summed per query will not equal the property total and that gap is not an error; (3) the default dataState \"final\" lags roughly 2-3 days, and \"all\" returns fresh partial data that will still change. Search Console keeps 16 months of history. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl",
"startDate",
"endDate"
],
"properties": {
"type": {
"type": "string",
"description": "web (default), image, video, news, discover, googleNews or webMultimodal"
},
"endDate": {
"type": "string",
"description": "YYYY-MM-DD, required, Pacific time, inclusive"
},
"siteUrl": {
"type": "string",
"description": "the exact property string from list_search_console_sites — \"sc-domain:example.com\" or \"https://example.com/\", never a bare domain, and it must be one SHARED with this profile"
},
"rowLimit": {
"type": "number",
"description": "1-25000, default 1000"
},
"startRow": {
"type": "number",
"description": "zero-based, for paging past rowLimit"
},
"dataState": {
"type": "string",
"description": "final (default, lags 2-3 days), all (includes fresh partial data that WILL change), or hourlyAll"
},
"startDate": {
"type": "string",
"description": "YYYY-MM-DD, required, Pacific time, inclusive"
},
"dimensions": {
"type": "array",
"items": {
"type": "string"
},
"description": "group by any of query, page, country, device, searchAppearance, brandedClassification (branded vs non-branded queries), date, hour. Omit for one total row. An unknown name is refused by name rather than dropped."
},
"aggregationType": {
"type": "string",
"description": "auto (default), byPage, byProperty or byNewsShowcasePanel"
},
"dimensionFilterGroups": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "narrow the report, e.g. [{\"filters\":[{\"dimension\":\"query\",\"operator\":\"contains\",\"expression\":\"buy\"}]}]. dimension is one of query/page/country/device/searchAppearance/brandedClassification (expression BRANDED or NON_BRANDED) — date and hour are NOT filterable, they are the date range. operator is equals/notEquals/contains/notContains/includingRegex/excludingRegex. An empty expression is refused: Google matches it literally, so it would silently return nothing."
}
}
},
"annotations": {
"title": "What people searched for on Google, and what they clicked",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "bing_webmaster_keywords",
"title": "Keyword research with real impression volumes, no ad spend",
"description": "Bing search impressions for any term. Modes: \"keyword\" (impressions for exactly this term over a date range), \"related\" (the same for terms Bing considers related — the one to use for expanding a seed into a list), \"history\" (the term's historical series). NOT SITE-SCOPED — these are Microsoft's signatures and they take no site, so it works for ANY term including a competitor's brand, and no property tick list applies. `country` AND `language` are BOTH REQUIRED and are deliberately never defaulted: a search volume with no market is unactionable, and picking one for you would answer confidently about the wrong country. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"q",
"country",
"language"
],
"properties": {
"q": {
"type": "string",
"description": "the keyword to look up, e.g. \"running shoes\""
},
"mode": {
"type": "string",
"description": "keyword (default) | related | history"
},
"country": {
"type": "string",
"description": "REQUIRED, e.g. \"us\" — there is no default and one will not be guessed"
},
"endDate": {
"type": "string",
"description": "YYYY-MM-DD — required for keyword and related modes"
},
"language": {
"type": "string",
"description": "REQUIRED, e.g. \"en-US\""
},
"startDate": {
"type": "string",
"description": "YYYY-MM-DD — required for keyword and related modes"
}
}
},
"annotations": {
"title": "Keyword research with real impression volumes, no ad spend",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| none (default) | pc-laptop | mobile | amp | tablet | non-visual-browser |
| structuredData | string | optional JSON-LD, for non-HTML content types |
{
"name": "submit_bing_webmaster_content",
"title": "Hand Bing a page's content directly",
"description": "Give Bing a page's content DIRECTLY instead of waiting for it to crawl — for a page Bingbot renders badly or cannot reach. YOU PASS THE HTML AND NOTHING ELSE: Microsoft's httpMessage parameter is a base64 raw HTTP response whose status line and every header must end CRLF with exactly two CRLFs before the body, and an LF-only message is accepted with a 200 while indexing nothing useful — a silent wrong answer — so Hermoso builds that framing and computes Content-Length itself. Optional `structuredData` carries JSON-LD for non-HTML content such as images or PDFs; `dynamicServing` is left at \"none\" unless the site really does serve different content per device, because declaring otherwise is a claim about the customer's infrastructure. This spends the CONTENT submission budget, which is separate from the URL one and is read first — check both with bing_webmaster_submission_quota. Max 10MB per submission. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"siteUrl",
"url",
"html"
],
"properties": {
"url": {
"type": "string",
"description": "the full URL on this site that this content belongs to"
},
"html": {
"type": "string",
"description": "the page content Bing should index for that URL"
},
"status": {
"type": "number",
"description": "HTTP status for the message, default 200"
},
"headers": {
"type": "object",
"description": "extra response headers. Content-Length is always computed and never taken from you.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"siteUrl": {
"type": "string",
"description": "the exact site string from list_bing_webmaster_sites"
},
"contentType": {
"type": "string",
"description": "default text/html"
},
"dynamicServing": {
"type": "string",
"description": "none (default) | pc-laptop | mobile | amp | tablet | non-visual-browser"
},
"structuredData": {
"type": "string",
"description": "optional JSON-LD, for non-HTML content types"
}
}
},
"annotations": {
"title": "Hand Bing a page's content directly",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "submit_indexnow",
"title": "Tell the IndexNow search engines a page changed",
"description": "Ping the IndexNow search engines that pages were added, updated or deleted — Bing, Yandex, Naver, Seznam.cz and Yep, all reached by ONE submission. Important: GOOGLE DOES NOT PARTICIPATE IN INDEXNOW and never has, so say that plainly rather than letting anyone expect a Google effect; for Google use submit_search_console_sitemap and search_console_url_inspection. NO CONNECTION IS NEEDED, because the credential belongs to the USER: they generate a key, host it as a plain text file on their own web server, and any engine fetching that file is the whole ownership check. HERMOSO VERIFIES THAT FILE BEFORE SUBMITTING — that it is reachable and that its contents are exactly the key — and refuses with an explanation if not, because we have no write access to a customer's web root and cannot place it for them. If the key file is moved off the site root with `keyLocation`, it authorises ONLY URLs under that directory, and URLs outside it are refused before anything is sent (IndexNow rejects the whole batch for one out-of-scope URL). Up to 10,000 URLs per submission, all on the one host. HTTP 202 is a SUCCESS (\"received, validation pending\"), not a reason to retry. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"host",
"key",
"urls"
],
"properties": {
"key": {
"type": "string",
"description": "the IndexNow key — 8-128 letters, numbers and dashes — ALREADY hosted as <key>.txt on that site"
},
"host": {
"type": "string",
"description": "the bare hostname that owns these URLs, e.g. \"example.com\""
},
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "the full URLs that were added, updated or deleted, all on `host`"
},
"keyLocation": {
"type": "string",
"description": "the full URL of the key file if it is NOT at the site root. Moving it NARROWS the key to that directory only."
}
}
},
"annotations": {
"title": "Tell the IndexNow search engines a page changed",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| toDate | string | YYYY-MM-DD (default today) |
| fromDate | string | YYYY-MM-DD (default 30 days ago) |
| interval | number | the WIDTH of each bucket, in DAYS. Mixpanel cannot take this together with "unit" — it answers HTTP 500 to the pair, so pass one or the other (default: interval 1 day) |
| bornEvent | string | the event that puts someone into the cohort — REQUIRED by Mixpanel when retentionType is "birth", which is the default |
| bornWhere | string | a Mixpanel segmentation expression filtering who ENTERS the cohort (the born event) |
| intervalCount | number | HOW MANY buckets to return (default 1). A "0th" bucket is always included for events inside the first interval |
| retentionType | string | "birth" = cohort by first occurrence of bornEvent; "compounded" = anyone active |
| unboundedRetention | boolean | accumulate right-to-left, so day N means "retained on day N or any day after" |
{
"name": "mixpanel_retention",
"title": "Mixpanel retention cohorts",
"description": "MIXPANEL RETENTION — how many of the people who did a first thing came back and did another, cohorted by day / week / month. This endpoint is FULLY SUPPORTED, unlike segmentation and funnels, which Mixpanel has put in maintenance mode — so it is the one typed Mixpanel report to reach for first. retentionType \"birth\" cohorts people by their FIRST occurrence of bornEvent (new-user retention, and Mixpanel's DEFAULT); \"compounded\" counts anyone active. Warning: MIXPANEL REQUIRES bornEvent WHENEVER retentionType IS \"birth\", AND BIRTH IS THE DEFAULT — so a call with neither is refused HERE, for free, rather than spending one of the sixty hourly queries on their 400; use list_mixpanel_events first to name a real event. TWO FILTERS, NOT ONE: bornWhere filters who ENTERS the cohort, where filters the RETURNING event. And interval is the WIDTH of each bucket while intervalCount is HOW MANY of them — different knobs. Dates are YYYY-MM-DD and BOTH ENDS ARE INCLUSIVE, resolved in the PROJECT's timezone (UTC unless its owner changed it) rather than in yours. 60 queries/hour across the whole Query API (5 concurrent) — the tightest budget of any connector here, so widen a range rather than looping over days. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"on": {
"type": "string",
"description": "a property expression to segment the returning event on — this is what breaks a retention curve down by e.g. plan or platform"
},
"unit": {
"enum": [
"day",
"week",
"month"
],
"type": "string",
"description": "the interval unit (default day)"
},
"event": {
"type": "string",
"description": "the returning event; omitted means any event"
},
"limit": {
"type": "number",
"description": "top N segmentation values; does nothing unless \"on\" is set"
},
"where": {
"type": "string",
"description": "a Mixpanel segmentation expression filtering the RETURNING event"
},
"toDate": {
"type": "string",
"description": "YYYY-MM-DD (default today)"
},
"fromDate": {
"type": "string",
"description": "YYYY-MM-DD (default 30 days ago)"
},
"interval": {
"type": "number",
"description": "the WIDTH of each bucket, in DAYS. Mixpanel cannot take this together with \"unit\" — it answers HTTP 500 to the pair, so pass one or the other (default: interval 1 day)"
},
"bornEvent": {
"type": "string",
"description": "the event that puts someone into the cohort — REQUIRED by Mixpanel when retentionType is \"birth\", which is the default"
},
"bornWhere": {
"type": "string",
"description": "a Mixpanel segmentation expression filtering who ENTERS the cohort (the born event)"
},
"intervalCount": {
"type": "number",
"description": "HOW MANY buckets to return (default 1). A \"0th\" bucket is always included for events inside the first interval"
},
"retentionType": {
"enum": [
"birth",
"compounded"
],
"type": "string",
"description": "\"birth\" = cohort by first occurrence of bornEvent; \"compounded\" = anyone active"
},
"unboundedRetention": {
"type": "boolean",
"description": "accumulate right-to-left, so day N means \"retained on day N or any day after\""
}
}
},
"annotations": {
"title": "Mixpanel retention cohorts",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| fromDate | string | YYYY-MM-DD (default 30 days ago) |
| interval | number | the number of days each bucket covers — Mixpanel offers this in lieu of "unit" when "type" is not "general" |
{
"name": "mixpanel_segmentation",
"title": "Mixpanel event segmentation (maintenance mode)",
"description": "One Mixpanel event over time, optionally broken down by a property (`on`) and filtered (`where`). Warning: MIXPANEL HAS PUT THIS ENDPOINT IN MAINTENANCE MODE — their words: \"We recommend discontinuing new use of this endpoint. To break down and filter event data, build an Insights report in-app and query it programmatically with the Insights Query API.\" It still answers today, which is why it is offered rather than withheld, but SAY SO when you use it and prefer mixpanel_insights whenever the user can build the report. It takes ONE event name and not an array (the /events endpoints take an array; this one does not — an easy and silent mistake). 60 queries/hour across the whole Query API. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"event"
],
"properties": {
"on": {
"type": "string",
"description": "a segmentation expression to break down by, e.g. properties[\"$browser\"]"
},
"type": {
"enum": [
"general",
"unique",
"average"
],
"type": "string",
"description": "count type: general (event count, default), unique (distinct users) or average"
},
"unit": {
"enum": [
"minute",
"hour",
"day",
"month"
],
"type": "string",
"description": "NOTE: Mixpanel offers no \"week\" on segmentation, unlike retention"
},
"event": {
"type": "string",
"description": "a SINGLE event name — not an array"
},
"limit": {
"type": "number",
"description": "top N property values; Mixpanel defaults to 60, max 10000, and it does nothing unless \"on\" is set"
},
"where": {
"type": "string",
"description": "a segmentation expression to filter by"
},
"toDate": {
"type": "string",
"description": "YYYY-MM-DD (default today)"
},
"fromDate": {
"type": "string",
"description": "YYYY-MM-DD (default 30 days ago)"
},
"interval": {
"type": "number",
"description": "the number of days each bucket covers — Mixpanel offers this in lieu of \"unit\" when \"type\" is not \"general\""
}
}
},
"annotations": {
"title": "Mixpanel event segmentation (maintenance mode)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| toDate | string | YYYY-MM-DD (default today) |
| fromDate | string | YYYY-MM-DD (default 30 days ago) |
| funnelId | string | omit to list the saved funnels and their ids |
| interval | number | the number of days each bucket covers — an alternative to "unit" (default 1) |
| lengthUnit | string | the unit "length" is counted in (Mixpanel offers no week or month here). Omit to use the funnel own saved value |
{
"name": "mixpanel_funnel",
"title": "Read a saved Mixpanel funnel (maintenance mode)",
"description": "A saved Mixpanel funnel. Call with NO id to LIST the saved funnels and their ids; call with funnelId to read its conversion data. Warning: MIXPANEL HAS PUT THE FUNNELS QUERY API IN MAINTENANCE MODE — their words: \"We recommend discontinuing new use of this endpoint. To get funnel data, build a Funnels report in-app and query it programmatically with the Insights Query API.\" So prefer mixpanel_insights with that report's bookmark id; this is offered because it still answers and because it is the only way to LIST a project's funnels. `length` IS BOUNDED AT 90 DAYS, WHICH IS NOT THE NUMBER 90: it counts lengthUnits, so 90 days is 2160 hours or 129600 minutes, and an over-long window is REFUSED BY NAME rather than trimmed — silently shortening it would answer a different question with nothing to show that it had happened. Omit both and Mixpanel uses whatever the funnel was saved with in its own UI, which is usually what you want. Dates are YYYY-MM-DD and BOTH ENDS ARE INCLUSIVE, resolved in the PROJECT's timezone (UTC unless its owner changed it) rather than in yours. 60 queries/hour across the whole Query API (5 concurrent) — the tightest budget of any connector here, so widen a range rather than looping over days. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"on": {
"type": "string",
"description": "a property expression to break the funnel down by"
},
"unit": {
"enum": [
"day",
"week",
"month"
],
"type": "string",
"description": "the bucket the results are grouped into"
},
"limit": {
"type": "number",
"description": "top N property values; Mixpanel defaults to 255, max 10000, and it does nothing unless \"on\" is set"
},
"where": {
"type": "string",
"description": "a segmentation expression to filter by"
},
"length": {
"type": "number",
"description": "the conversion window, counted in lengthUnits — the TOTAL may not exceed 90 days. Omit to use the funnel own saved value"
},
"toDate": {
"type": "string",
"description": "YYYY-MM-DD (default today)"
},
"fromDate": {
"type": "string",
"description": "YYYY-MM-DD (default 30 days ago)"
},
"funnelId": {
"type": "string",
"description": "omit to list the saved funnels and their ids"
},
"interval": {
"type": "number",
"description": "the number of days each bucket covers — an alternative to \"unit\" (default 1)"
},
"lengthUnit": {
"enum": [
"second",
"minute",
"hour",
"day"
],
"type": "string",
"description": "the unit \"length\" is counted in (Mixpanel offers no week or month here). Omit to use the funnel own saved value"
}
}
},
"annotations": {
"title": "Read a saved Mixpanel funnel (maintenance mode)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "list_mixpanel_events",
"title": "List Mixpanel events (or one event’s properties)",
"description": "The EVENT VOCABULARY of the Mixpanel project — the most common event names over THE LAST 31 DAYS, so a query names something the project actually records rather than a guess. Start here before any other Mixpanel call. Pass `event` to list THAT event's top property names instead; the two are different questions with different answers, and a failure to read properties is reported AS a failure and never as \"this event has no properties\". Pass window \"today\" for Mixpanel's separate today-only endpoint, which carries counts and the percent change from yesterday — that is a DIFFERENT and far narrower question, and on a quiet project (or simply early in the project's own timezone day) it legitimately returns nothing while the project still records dozens of event types, so NEVER read an empty today answer as \"this project has no events\". 60 queries/hour across the whole Query API (5 concurrent) — the tightest budget of any connector here, so widen a range rather than looping over days. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"type": {
"enum": [
"general",
"unique",
"average"
],
"type": "string",
"description": "count type for the event amounts: general (default), unique or average"
},
"event": {
"type": "string",
"description": "pass an event name to list ITS properties instead of listing events"
},
"limit": {
"type": "number",
"description": "Mixpanel own defaults are 255 for the vocabulary, 100 for today and 10 for properties"
},
"window": {
"enum": [
"vocabulary",
"today"
],
"type": "string",
"description": "\"vocabulary\" (default) = the most common events over the last 31 days, names only. \"today\" = today only, with counts and the change from yesterday — a much narrower question"
}
}
},
"annotations": {
"title": "List Mixpanel events (or one event’s properties)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| user property or event property to break the series down by, e.g. gp:utm_campaign or country |
| groupBy2 | string | a SECOND group-by (Amplitude's g2), e.g. groupBy gp:utm_campaign + groupBy2 country |
| interval | number | -300000 realtime, -3600000 hourly, 1 daily, 7 weekly, 30 monthly |
| segments | array | FILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp:<name>; built-ins are country, city, re… |
{
"name": "amplitude_segmentation",
"title": "Amplitude event segmentation",
"description": "AMPLITUDE EVENT SEGMENTATION — an event over time, with filters and group-bys. metric is uniques / totals / pct_dau / average / histogram / sums / value_avg / formula (and \"formula\" additionally REQUIRES `formula`, or Amplitude refuses it). Dates take YYYY-MM-DD or YYYYMMDD. AMPLITUDE'S RATE LIMIT IS COST-BASED, not per-request: cost = days × conditions × query type, 1000 per 5-minute window, so one very wide query can exhaust the budget on its own — the fix for a 429 here is to NARROW the range or the conditions, not to retry. AN EMPTY RESULT IS A VALID ANSWER, not a failure: a new or low-traffic Amplitude project genuinely has no data, and reporting that as a broken connection sends the user to fix something that is working. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"end": {
"type": "string",
"description": "YYYYMMDD or YYYY-MM-DD (default today)"
},
"event": {
"type": "string",
"description": "shorthand for a single event name"
},
"limit": {
"type": "number",
"description": "≤1000"
},
"start": {
"type": "string",
"description": "YYYYMMDD or YYYY-MM-DD (default 30 days ago)"
},
"events": {
"type": "array",
"items": {},
"description": "one or two event specs: a plain name, or {eventType, filters:[{subprop_type,subprop_key,subprop_op,subprop_value}], groupBy:[…]}"
},
"metric": {
"enum": [
"uniques",
"totals",
"pct_dau",
"average",
"histogram",
"sums",
"value_avg",
"formula"
],
"type": "string",
"description": "default uniques"
},
"formula": {
"type": "string",
"description": "required when metric is \"formula\""
},
"groupBy": {
"type": "string",
"description": "user property or event property to break the series down by, e.g. gp:utm_campaign or country"
},
"groupBy2": {
"type": "string",
"description": "a SECOND group-by (Amplitude's g2), e.g. groupBy gp:utm_campaign + groupBy2 country"
},
"interval": {
"type": "number",
"description": "-300000 realtime, -3600000 hourly, 1 daily, 7 weekly, 30 monthly"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"description": "property operator, e.g. is, is not, contains; symbol (>=) on a who-performed condition"
},
"prop": {
"type": "string",
"description": "user property to filter on: built-in (country, platform), gp:<name> for custom, or userdata_cohort"
},
"type": {
"type": "string",
"description": "'event' for a who-performed condition; omit for a property filter"
},
"value": {
"type": "number",
"description": "who-performed count threshold; default 1 (at least once)"
},
"values": {
"type": "array",
"items": {
"type": "string"
},
"description": "values the property must match, e.g. [\"summer\"]"
},
"time_type": {
"type": "string",
"description": "rolling (the only accepted value; default)"
},
"event_type": {
"type": "string",
"description": "event name for a who-performed condition"
},
"time_value": {
"type": "number",
"description": "who-performed look-back in days; default 30"
}
},
"additionalProperties": {}
},
"description": "FILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp:<name>; built-ins are country, city, region, platform, os, device_type, version, language, paying; prop userdata_cohort + a cohort id filters to a behavioural cohort. A \"who performed\" condition is {type:'event', event_type, op:'>=', value:1, time_type:'rolling', time_value:30} (did it at least once in the last 30 days); symbol operators only."
}
}
},
"annotations": {
"title": "Amplitude event segmentation",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| conversionWindowSeconds | number | Amplitude default is 2592000 (30 days) — say which window you used |
{
"name": "amplitude_funnel",
"title": "Amplitude funnel (conversion + drop-off)",
"description": "AMPLITUDE FUNNELS: conversion and drop-off across ordered steps. Pass `events` as an ORDERED array of at least two steps. mode is ordered / unordered / sequential. conversionWindowSeconds is how long a user has to complete the funnel and DEFAULTS TO 2,592,000 SECONDS (30 DAYS) — ALWAYS state which window a conversion rate was measured over, because a 30-day window makes a funnel look dramatically healthier than a same-session one and the difference is invisible in the number itself. At most ONE group-by: segmentation allows two, funnels do not, and a second is refused by name rather than silently dropped. Returns step-by-step and cumulative conversion plus median and average transition times. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"events"
],
"properties": {
"end": {
"type": "string",
"description": "YYYYMMDD or YYYY-MM-DD (default today)"
},
"mode": {
"enum": [
"ordered",
"unordered",
"sequential"
],
"type": "string",
"description": "default ordered"
},
"start": {
"type": "string",
"description": "YYYYMMDD or YYYY-MM-DD (default 30 days ago)"
},
"users": {
"enum": [
"active",
"new"
],
"type": "string",
"description": "'new' = first-time users only (the acquisition funnel); Amplitude's default is active"
},
"events": {
"type": "array",
"items": {},
"description": "ordered steps — plain event names, or {eventType, filters:[…]} objects"
},
"groupBy": {
"type": "string",
"description": "at most ONE — a second is refused"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"description": "property operator, e.g. is, is not, contains; symbol (>=) on a who-performed condition"
},
"prop": {
"type": "string",
"description": "user property to filter on: built-in (country, platform), gp:<name> for custom, or userdata_cohort"
},
"type": {
"type": "string",
"description": "'event' for a who-performed condition; omit for a property filter"
},
"value": {
"type": "number",
"description": "who-performed count threshold; default 1 (at least once)"
},
"values": {
"type": "array",
"items": {
"type": "string"
},
"description": "values the property must match, e.g. [\"summer\"]"
},
"time_type": {
"type": "string",
"description": "rolling (the only accepted value; default)"
},
"event_type": {
"type": "string",
"description": "event name for a who-performed condition"
},
"time_value": {
"type": "number",
"description": "who-performed look-back in days; default 30"
}
},
"additionalProperties": {}
},
"description": "FILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp:<name>; built-ins are country, city, region, platform, os, device_type, version, language, paying; prop userdata_cohort + a cohort id filters to a behavioural cohort. A \"who performed\" condition is {type:'event', event_type, op:'>=', value:1, time_type:'rolling', time_value:30} (did it at least once in the last 30 days); symbol operators only."
},
"conversionWindowSeconds": {
"type": "number",
"description": "Amplitude default is 2592000 (30 days) — say which window you used"
}
}
},
"annotations": {
"title": "Amplitude funnel (conversion + drop-off)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| "_active" (default) or an event name |
| retentionMode | string | n-day, bracket (needs brackets) or rolling |
{
"name": "amplitude_retention",
"title": "Amplitude retention",
"description": "AMPLITUDE RETENTION — of the people who did startEvent, how many came back and did returnEvent. The two magic values are \"_new\" (first-time users) and \"_active\" (any active user), which is what makes \"new-user retention\" a single call. retentionMode is n-day / bracket / rolling, and \"bracket\" additionally REQUIRES `brackets` — it is refused without them rather than silently switched to another mode, because a retention curve computed under a different definition than the one asked for is a wrong answer that looks right. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"end": {
"type": "string",
"description": "YYYYMMDD or YYYY-MM-DD (default today)"
},
"start": {
"type": "string",
"description": "YYYYMMDD or YYYY-MM-DD (default 30 days ago)"
},
"groupBy": {
"type": "string",
"description": "ONE property to group by"
},
"brackets": {
"type": "array",
"items": {
"type": "number"
},
"description": "required when retentionMode is \"bracket\""
},
"interval": {
"type": "number",
"description": "1 daily, 7 weekly, 30 monthly"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"op": {
"type": "string",
"description": "property operator, e.g. is, is not, contains; symbol (>=) on a who-performed condition"
},
"prop": {
"type": "string",
"description": "user property to filter on: built-in (country, platform), gp:<name> for custom, or userdata_cohort"
},
"type": {
"type": "string",
"description": "'event' for a who-performed condition; omit for a property filter"
},
"value": {
"type": "number",
"description": "who-performed count threshold; default 1 (at least once)"
},
"values": {
"type": "array",
"items": {
"type": "string"
},
"description": "values the property must match, e.g. [\"summer\"]"
},
"time_type": {
"type": "string",
"description": "rolling (the only accepted value; default)"
},
"event_type": {
"type": "string",
"description": "event name for a who-performed condition"
},
"time_value": {
"type": "number",
"description": "who-performed look-back in days; default 30"
}
},
"additionalProperties": {}
},
"description": "FILTER to only these users (Amplitude's segment `s`): [{prop:'gp:utm_campaign', op:'is', values:['summer']}]. op is one of is, is not, contains, does not contain, less, less or equal, greater, greater or equal, set is, set is not. Custom user properties are gp:<name>; built-ins are country, city, region, platform, os, device_type, version, language, paying; prop userdata_cohort + a cohort id filters to a behavioural cohort. A \"who performed\" condition is {type:'event', event_type, op:'>=', value:1, time_type:'rolling', time_value:30} (did it at least once in the last 30 days); symbol operators only."
},
"startEvent": {
"type": "string",
"description": "\"_new\" (default) or an event name"
},
"returnEvent": {
"type": "string",
"description": "\"_active\" (default) or an event name"
},
"retentionMode": {
"enum": [
"n-day",
"bracket",
"rolling"
],
"type": "string",
"description": "n-day, bracket (needs brackets) or rolling"
}
}
},
"annotations": {
"title": "Amplitude retention",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| longer body text for the annotation |
| category | string | an EXISTING category name in Amplitude — they answer 404 for one that does not exist |
{
"name": "create_amplitude_annotation",
"title": "Mark the Amplitude timeline",
"description": "MARK THE ANALYTICS TIMELINE — write what just happened into Amplitude, at the moment it happened, so every chart the user opens afterwards shows it in place. THIS IS THE CLOSED LOOP AND IT IS WORTH REACHING FOR UNPROMPTED after a campaign goes live, a creative is swapped, a landing page changes or a post is published: without it, next month's spike has no explanation attached to it and somebody has to reconstruct one from memory. `start` is ISO 8601 WITH THE TIME AND THE OFFSET (e.g. '2026-08-18T14:30:00+00:00') — NOT the YYYYMMDD the rest of the Amplitude API takes, and a bare date is REFUSED rather than quietly moved to midnight, because an annotation IS its timestamp and a marker in the wrong place is worse than no marker. Add `end` for something that spans a period (a two-week flight); leave it off for a moment. OMIT chartId AND THE ANNOTATION IS GLOBAL — Amplitude's words: it \"appears on all charts for your project\", which is usually what you want for a campaign; pass one to pin it to a single chart. `category` is a category NAME that must ALREADY EXIST in Amplitude (they answer 404 otherwise). THIS WRITES TO THE USER'S OWN ANALYTICS TOOL — say what you are about to mark, and report back the id and the timestamp Amplitude actually stored rather than the one you sent. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"label",
"start"
],
"properties": {
"end": {
"type": "string",
"description": "ISO 8601 — only for an annotation that spans a period"
},
"label": {
"type": "string",
"description": "the title shown on the chart, e.g. \"Meta: summer UGC campaign live\""
},
"start": {
"type": "string",
"description": "ISO 8601 WITH time and offset, e.g. '2026-08-18T14:30:00+00:00' — a bare YYYYMMDD is refused"
},
"chartId": {
"type": "string",
"description": "omit for a GLOBAL annotation that appears on every chart in the project"
},
"details": {
"type": "string",
"description": "longer body text for the annotation"
},
"category": {
"type": "string",
"description": "an EXISTING category name in Amplitude — they answer 404 for one that does not exist"
}
}
},
"annotations": {
"title": "Mark the Amplitude timeline",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| creationType | string | USR = a person wrote it, GIT = a bot or deployment did |
{
"name": "create_posthog_annotation",
"title": "Mark the PostHog timeline",
"description": "MARK THE POSTHOG TIMELINE — write what just happened into PostHog at the moment it happened, so every chart afterwards shows it in place. The same closed loop as create_amplitude_annotation, and worth reaching for unprompted after a campaign goes live, a creative is swapped or a landing page changes. `dateMarker` is what POSITIONS the marker on the x-axis (ISO 8601); omit it and NOW is used, which is right for \"this just went live\" — and the timestamp PostHog actually STORED is reported back rather than the one sent. `scope` is project (the default — shows on everything) / organization / dashboard / dashboard_item, and `dashboard` and `dashboard_item` each need their id or the annotation attaches to nothing and appears nowhere. PostHog also publishes a `recording` scope which THEY THEMSELVES REJECT, so it is refused by name here rather than sent. `creationType` USR means a person wrote it, GIT means a bot or a deployment did. NEEDS THE `annotation:write` SCOPE on the personal API key — a key made before Hermoso supported annotations will not have it; PostHog names it in their refusal, and it is added in PostHog > Settings > Personal API keys without reconnecting. THIS WRITES TO THE USER'S OWN ANALYTICS TOOL. 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"content"
],
"properties": {
"scope": {
"enum": [
"project",
"organization",
"dashboard",
"dashboard_item"
],
"type": "string",
"description": "default project. PostHog's `recording` scope is deprecated and rejected by PostHog"
},
"content": {
"type": "string",
"description": "the text shown on the chart, ≤8192 characters"
},
"insightId": {
"type": "number",
"description": "REQUIRED when scope is \"dashboard_item\" — the numeric id of the insight"
},
"dateMarker": {
"type": "string",
"description": "ISO 8601 — defaults to now, which is right for \"this just went live\""
},
"dashboardId": {
"type": "number",
"description": "REQUIRED when scope is \"dashboard\""
},
"creationType": {
"enum": [
"USR",
"GIT"
],
"type": "string",
"description": "USR = a person wrote it, GIT = a bot or deployment did"
}
}
},
"annotations": {
"title": "Mark the PostHog timeline",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "list_posthog_surveys",
"title": "PostHog surveys",
"description": "PostHog SURVEYS. Without surveyId: the project's surveys (name, type, running / complete / draft / archived, dates, questions); filter by status or search. With surveyId: that survey's questions (with their ids, for posthog_survey_responses) plus its stats: shown / dismissed / sent counts, response and dismissal rates, and per-question distributions and rating averages. NEEDS THE OPTIONAL survey:read SCOPE on the PostHog personal API key: a key without it connects fine and works for everything else, and this tool then says exactly which box to tick in PostHog > Settings > Personal API keys. That is never a reconnect. Read-only, 0 credits. Needs PostHog connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "1-100, default 25"
},
"dateTo": {
"type": "string",
"description": "stats window end, ISO"
},
"offset": {
"type": "number",
"description": "skip this many surveys; use the nextOffset from the previous reply"
},
"search": {
"type": "string",
"description": "match survey names containing this text"
},
"status": {
"enum": [
"running",
"complete",
"draft"
],
"type": "string",
"description": "only surveys in this state"
},
"archived": {
"type": "boolean",
"description": "PostHog archived filter: true or false; omit to leave it unfiltered"
},
"dateFrom": {
"type": "string",
"description": "stats window start, ISO"
},
"surveyId": {
"type": "string",
"description": "one survey: its questions and stats"
}
}
},
"annotations": {
"title": "PostHog surveys",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| one question id from the survey (see list_posthog_surveys with surveyId) |
| excludeArchived | boolean | true = leave out responses to archived questions |
{
"name": "posthog_survey_responses",
"title": "PostHog survey responses",
"description": "THE ANSWERS people gave a PostHog survey, with the QUESTION TEXT resolved beside each answer: who (distinct_id), when, country, device and the page they were on. The customers' own words: the best raw input for ad hooks, angles and objections. questionId narrows to one question; with scoreLte / scoreGte on a rating question it pulls e.g. NPS detractors (scoreLte 6) or promoters (scoreGte 9). since / until are ISO timestamps. One page (limit 1-500, default 100) and the next offset when there is more. NEEDS THE OPTIONAL survey:read SCOPE on the PostHog personal API key (plus query:read, which every connection already has); without it this tool names the box to tick in PostHog, never a reconnect. Read-only, 0 credits. Needs PostHog connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"surveyId"
],
"properties": {
"limit": {
"type": "number",
"description": "1-500, default 100"
},
"since": {
"type": "string",
"description": "ISO timestamp"
},
"until": {
"type": "string",
"description": "ISO timestamp"
},
"offset": {
"type": "number",
"description": "skip this many responses; use the nextOffset from the previous reply"
},
"scoreGte": {
"type": "number",
"description": "needs questionId; e.g. 9 for NPS promoters"
},
"scoreLte": {
"type": "number",
"description": "needs questionId; e.g. 6 for NPS detractors"
},
"surveyId": {
"type": "string",
"description": "from list_posthog_surveys"
},
"questionId": {
"type": "string",
"description": "one question id from the survey (see list_posthog_surveys with surveyId)"
},
"excludeArchived": {
"type": "boolean",
"description": "true = leave out responses to archived questions"
}
}
},
"annotations": {
"title": "PostHog survey responses",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| distinctIds | array | several people by distinct id |
| includeAllUsers | boolean | only applies alongside cohortId; false = only distinct ids that actually have a profile |
| outputProperties | array | only return these properties — strongly recommended, it is much faster and much smaller |
{
"name": "mixpanel_profiles",
"title": "Read the people in a Mixpanel cohort",
"description": "THE PEOPLE in Mixpanel, with their profile properties. Pass `cohortId` (from list_mixpanel_cohorts) for \"who is in the Converted cohort and what do we know about them\", or `where` for an ad-hoc filter over profile properties, or `distinctId` for one person. PASS `outputProperties` ALMOST ALWAYS: it cuts the payload to the properties you actually need, and Mixpanel says it \"can drastically reduce the amount of data returned\" and \"can speed up queries significantly\". RETURNS ONE PAGE AND DOES NOT PAGINATE FOR YOU — it hands back page, pageSize, total and a sessionId, and Mixpanel REQUIRES that sessionId alongside any page above 0, so a second page is a deliberate second call. DO NOT LOOP IT: Mixpanel allows 60 queries per hour across its ENTIRE Query API and each page spends one of them. REPORT `total` (the whole cohort) SEPARATELY FROM `count` (this page) — quoting only the page size understates the audience, which is the number a targeting decision gets made on. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"page": {
"type": "number",
"description": "pages start at ZERO; any page above 0 REQUIRES sessionId"
},
"where": {
"type": "string",
"description": "a Mixpanel segmentation expression over profile properties, e.g. properties[\"$city\"] == \"London\""
},
"cohortId": {
"type": "string",
"description": "a numeric cohort id from list_mixpanel_cohorts"
},
"sessionId": {
"type": "string",
"description": "from the previous page — required for page > 0"
},
"distinctId": {
"type": "string",
"description": "one person"
},
"dataGroupId": {
"type": "string",
"description": "group key — for GROUP profiles rather than user profiles"
},
"distinctIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "several people by distinct id"
},
"includeAllUsers": {
"type": "boolean",
"description": "only applies alongside cohortId; false = only distinct ids that actually have a profile"
},
"outputProperties": {
"type": "array",
"items": {
"type": "string"
},
"description": "only return these properties — strongly recommended, it is much faster and much smaller"
}
}
},
"annotations": {
"title": "Read the people in a Mixpanel cohort",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "vercel_web_analytics",
"title": "Vercel Web Analytics",
"description": "Vercel WEB ANALYTICS for one project: page views and unique visitors over a window (default the last 30 days, production traffic), and with `by` a breakdown by requestPath (which pages), referrerHostname (where visitors came from), country, deviceType, osName, browserName, route, utmSource / utmMedium / utmCampaign / utmContent / utmTerm (which campaigns and ads brought them), or a time step (day, week, month). Use it to see which landing pages and ad campaigns actually bring traffic. Needs Web Analytics turned on for the project in Vercel. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"projectId"
],
"properties": {
"by": {
"type": "string",
"description": "one or TWO comma-separated dimensions (at most one time step): requestPath, referrerHostname, country, deviceType, osName, browserName, route, utmSource, utmMedium, utmCampaign, utmContent, utmTerm, environment, flags, flags/<key>, hour, day, week, month, year — e.g. 'day,utmCampaign'"
},
"days": {
"type": "number",
"description": "1-366, default 30"
},
"limit": {
"type": "number",
"description": "rows in the breakdown, 1-100, default 10"
},
"since": {
"type": "string",
"description": "YYYY-MM-DD (instead of days)"
},
"until": {
"type": "string",
"description": "YYYY-MM-DD (default now)"
},
"filter": {
"type": "string",
"description": "Vercel's OData filter, e.g. utmSource eq 'facebook'"
},
"projectId": {
"type": "string",
"description": "project id or name (list_vercel_projects)"
}
}
},
"annotations": {
"title": "Vercel Web Analytics",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| only this event, e.g. 'Signup' |
| projectId * | string | project id or name (list_vercel_projects) |
{
"name": "vercel_event_analytics",
"title": "Vercel custom events (conversions)",
"description": "Vercel CUSTOM EVENTS, the CONVERSIONS on a Vercel-hosted site (signups, purchases, any track('Name') from @vercel/analytics): the count and unique visitors over a window, and with `by` a breakdown by eventName, eventData/<property> (e.g. eventData/plan), utmSource / utmMedium / utmCampaign / utmContent / utmTerm (which ad or campaign drove the conversion), requestPath, country and the rest, or a time step. Up to TWO at once, e.g. by 'utmCampaign,eventName' or 'day,utmCampaign'. eventName narrows to one event. This is the conversion half of an ad report for a landing page on Vercel; vercel_web_analytics is the traffic half. Custom events need Web Analytics on and a Vercel Pro or Enterprise plan. Read-only, free. Needs Vercel connected (Connectors > Vercel, or connect_connector with an access token).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"projectId"
],
"properties": {
"by": {
"type": "string",
"description": "one or TWO comma-separated dimensions: eventName, eventData, eventData/<property>, utmSource, utmMedium, utmCampaign, utmContent, utmTerm, requestPath, referrerHostname, country, deviceType, osName, browserName, route, environment, flags, flags/<key>, or one time step hour/day/week/month/year"
},
"days": {
"type": "number",
"description": "1-366, default 30"
},
"limit": {
"type": "number",
"description": "rows in the breakdown, 1-100, default 10"
},
"since": {
"type": "string",
"description": "YYYY-MM-DD (instead of days)"
},
"until": {
"type": "string",
"description": "YYYY-MM-DD (default now)"
},
"filter": {
"type": "string",
"description": "Vercel's OData filter, e.g. utmSource eq 'facebook'"
},
"eventName": {
"type": "string",
"description": "only this event, e.g. 'Signup'"
},
"projectId": {
"type": "string",
"description": "project id or name (list_vercel_projects)"
}
}
},
"annotations": {
"title": "Vercel custom events (conversions)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "update_woocommerce_order",
"title": "Update a WooCommerce order",
"description": "Change a WooCommerce order: status (pending, processing, on-hold, completed, cancelled, refunded, failed; cancelling puts the stock back, most status changes email the buyer, and 'refunded' moves NO money: use refund_woocommerce_order), note (an internal note; noteToCustomer:true emails it to the buyer), shipping and billing details (only the fields given change), metaData [{key, value}]. An internal note and metaData apply at once and are read back. A status, address or buyer note is a preview until confirm:true: show the user what changes, get a yes, then call again with confirm:true. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "the order number"
},
"note": {
"type": "string",
"description": "a note on the order"
},
"status": {
"enum": [
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed"
],
"type": "string"
},
"billing": {
"type": "object",
"description": "the same fields plus email",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"confirm": {
"type": "boolean",
"description": "true to apply a status, address or buyer-note change"
},
"metaData": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string"
},
"value": {
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"properties": {},
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
}
}
}
},
"shipping": {
"type": "object",
"description": "first_name, last_name, company, address_1, address_2, city, state, postcode, country (two letters), phone",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"noteToCustomer": {
"type": "boolean",
"description": "true: the buyer sees the note and is emailed it"
}
}
},
"annotations": {
"title": "Update a WooCommerce order",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| string |
| the amount the preview showed |
| idempotencyKey | string | only to repeat an identical refund on purpose: any new text |
{
"name": "refund_woocommerce_order",
"title": "Refund a WooCommerce order",
"description": "Refund a WooCommerce order: full:true (everything still refundable), lineItems [{ lineItemId, quantity }] and/or amount (a sum of money, e.g. a goodwill refund). By default the money goes back through the order's payment gateway; apiRefund:false only RECORDS the refund in WooCommerce, for money returned by hand (an order paid by bank transfer, cheque or cash on delivery can only be recorded). Refunded items go back into stock unless restock:false. Without confirm:true NOTHING is refunded and the reply shows the amount: show the user, get a yes, then call again with confirm:true and confirmAmount set to that exact amount. Retrying the same confirmed refund never refunds twice. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "the order number"
},
"full": {
"type": "boolean"
},
"amount": {
"type": "string",
"description": "refund this much money instead, e.g. \"10.00\""
},
"reason": {
"type": "string"
},
"confirm": {
"type": "boolean"
},
"restock": {
"type": "boolean",
"description": "default true for refunded lines"
},
"apiRefund": {
"type": "boolean",
"description": "default true: through the payment gateway"
},
"lineItems": {
"type": "array",
"items": {
"type": "object",
"required": [
"lineItemId"
],
"properties": {
"quantity": {
"type": "number"
},
"lineItemId": {
"type": "string",
"description": "the line id from list_woocommerce_orders with id, or its SKU"
}
}
}
},
"confirmAmount": {
"type": "string",
"description": "the amount the preview showed"
},
"idempotencyKey": {
"type": "string",
"description": "only to repeat an identical refund on purpose: any new text"
}
}
},
"annotations": {
"title": "Refund a WooCommerce order",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| intervalCount | number | intervals between charges, e.g. 3 with month for quarterly |
{
"name": "create_stripe_product",
"title": "create stripe product",
"description": "Create a product on the brand's Stripe account together with its default price: name, optional description, `amount` in MAJOR units — 19 or 19.00 both mean $19.00, and a zero-decimal currency like JPY is whole — a 3-letter currency, and an optional recurring interval (day, week, month, year) with intervalCount. Returns both ids, read back. On a LIVE key it shows what it is about to create and needs confirm:true; on a test key it just does it. Idempotent on its arguments. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"name",
"amount",
"currency"
],
"properties": {
"name": {
"type": "string",
"description": "product name"
},
"amount": {
"type": "number",
"description": "MAJOR units — 19 or 19.00 is $19.00, never 1900"
},
"confirm": {
"type": "boolean",
"description": "true on a live key, after the user approves the preview"
},
"currency": {
"type": "string",
"description": "3-letter ISO currency code, e.g. usd"
},
"interval": {
"type": "string",
"description": "recurring interval: day, week, month or year; omit for a one-time price"
},
"metadata": {
"type": "object",
"description": "key/value metadata stored on the product",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"nickname": {
"type": "string",
"description": "internal label for the default price; not shown to customers"
},
"description": {
"type": "string",
"description": "product description shown to customers in Stripe"
},
"intervalCount": {
"type": "number",
"description": "intervals between charges, e.g. 3 with month for quarterly"
}
}
},
"annotations": {
"title": "create stripe product",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "create_stripe_price",
"title": "create stripe price",
"description": "Add a price to an existing Stripe product: `amount` in MAJOR units (19 or 19.00 is $19.00, never 1900), currency, optional recurring interval and intervalCount, optional nickname. Read back. LIVE key: confirm:true after showing the preview. Idempotent on its arguments. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"productId",
"amount",
"currency"
],
"properties": {
"amount": {
"type": "number",
"description": "MAJOR units — 19 or 19.00 is $19.00, never 1900"
},
"confirm": {
"type": "boolean",
"description": "true on a live key, after the user approves the preview"
},
"currency": {
"type": "string",
"description": "3-letter ISO currency code, e.g. usd"
},
"interval": {
"type": "string",
"description": "recurring interval: day, week, month or year; omit for a one-time price"
},
"nickname": {
"type": "string",
"description": "internal label for the price; not shown to customers"
},
"productId": {
"type": "string",
"description": "product id, prod_..., from create_stripe_product or list_stripe_products"
},
"intervalCount": {
"type": "number",
"description": "intervals between charges, e.g. 3 with month for quarterly"
}
}
},
"annotations": {
"title": "create stripe price",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| URL the buyer is sent to after paying |
| allowPromotionCodes | boolean | show the promotion-code box at checkout |
{
"name": "create_stripe_payment_link",
"title": "create stripe payment link",
"description": "Create a shareable Stripe Payment Link: for ONE price pass priceId (price_…) with an optional quantity; for several pass lineItems: [{priceId, quantity}]. Optionally redirect to afterCompletionUrl when paid. allowPromotionCodes:true shows the promotion-code box at checkout — needed for any 'use code X' ad. referenceId and utm return a taggedUrl: put THAT URL in the ad, and get_stripe_payment_link_revenue (groupBy reference) then counts that ad's purchases. Returns the URL. LIVE key: confirm:true after showing the preview. Idempotent on its arguments. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"utm": {
"type": "object",
"properties": {
"term": {
"type": "string",
"description": "UTM term on the tagged URL; letters, digits, dashes and underscores, up to 150"
},
"medium": {
"type": "string",
"description": "UTM medium on the tagged URL; letters, digits, dashes and underscores, up to 150"
},
"source": {
"type": "string",
"description": "UTM source on the tagged URL; letters, digits, dashes and underscores, up to 150"
},
"content": {
"type": "string",
"description": "UTM content on the tagged URL; letters, digits, dashes and underscores, up to 150"
},
"campaign": {
"type": "string",
"description": "UTM campaign on the tagged URL; letters, digits, dashes and underscores, up to 150"
}
},
"description": "UTM values on the taggedUrl (letters, digits, dashes, underscores, up to 150 each); Stripe passes them to the after-payment redirect only"
},
"confirm": {
"type": "boolean",
"description": "true on a live key, after the user approves the preview"
},
"priceId": {
"type": "string",
"description": "one price — the shorthand for a single line item"
},
"metadata": {
"type": "object",
"description": "key/value metadata stored on the payment link",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"quantity": {
"type": "number",
"description": "quantity of priceId, e.g. 2"
},
"lineItems": {
"type": "array",
"items": {
"type": "object",
"required": [
"priceId"
],
"properties": {
"priceId": {
"type": "string",
"description": "price id, price_..."
},
"quantity": {
"type": "number",
"description": "quantity of this price in the link"
}
}
},
"description": "several prices at once; use instead of priceId"
},
"referenceId": {
"type": "string",
"description": "letters, digits, dashes, underscores (up to 200) — tags the returned taggedUrl for one ad; Stripe stores it on each purchase"
},
"afterCompletionUrl": {
"type": "string",
"description": "URL the buyer is sent to after paying"
},
"allowPromotionCodes": {
"type": "boolean",
"description": "show the promotion-code box at checkout"
}
}
},
"annotations": {
"title": "create stripe payment link",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| number |
| percent discount, 1 to 100; use this or amountOff |
| firstTimeOnly | boolean | the code works only on a customer's first purchase |
| minimumAmount | number | minimum order in MAJOR units for the code |
| maxRedemptions | number | uses of the COUPON across every code |
| durationInMonths | number | months the discount applies, with duration repeating |
| codeMaxRedemptions | number | uses of this CODE |
| minimumAmountCurrency | string | currency for the code's minimumAmount, e.g. usd |
{
"name": "create_stripe_coupon",
"title": "create stripe coupon",
"description": "Create a Stripe coupon: exactly one of percentOff (1–100) or amountOff (major units) + currency; duration once (default), repeating (with durationInMonths) or forever; optional name, id and maxRedemptions. A coupon alone has NO code a customer can type: pass `code` (letters, digits, dashes) to also mint the customer-typable promotion code in the same call, with optional codeMaxRedemptions, expiresAt, firstTimeOnly and minimumAmount. Read back. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string",
"description": "custom coupon id; Stripe generates one if omitted"
},
"code": {
"type": "string",
"description": "the customer-typable promotion code, e.g. SUMMER20 — letters, digits and dashes only; refused (never altered) otherwise"
},
"name": {
"type": "string",
"description": "display name for the coupon, for your records"
},
"confirm": {
"type": "boolean",
"description": "true on a live key, after the user approves the preview"
},
"currency": {
"type": "string",
"description": "3-letter currency code; required with amountOff"
},
"duration": {
"type": "string",
"description": "once (default), repeating or forever"
},
"amountOff": {
"type": "number",
"description": "fixed discount in major units, e.g. 5 = 5.00; needs currency"
},
"expiresAt": {
"type": "string",
"description": "YYYY-MM-DD the code stops working"
},
"percentOff": {
"type": "number",
"description": "percent discount, 1 to 100; use this or amountOff"
},
"firstTimeOnly": {
"type": "boolean",
"description": "the code works only on a customer's first purchase"
},
"minimumAmount": {
"type": "number",
"description": "minimum order in MAJOR units for the code"
},
"maxRedemptions": {
"type": "number",
"description": "uses of the COUPON across every code"
},
"durationInMonths": {
"type": "number",
"description": "months the discount applies, with duration repeating"
},
"codeMaxRedemptions": {
"type": "number",
"description": "uses of this CODE"
},
"minimumAmountCurrency": {
"type": "string",
"description": "currency for the code's minimumAmount, e.g. usd"
}
}
},
"annotations": {
"title": "create stripe coupon",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| maxRedemptions | number | maximum uses of this code |
| minimumAmountCurrency | string | 3-letter currency code for minimumAmount |
{
"name": "create_stripe_promotion_code",
"title": "create stripe promotion code",
"description": "Create a customer-typable promotion code (e.g. SUMMER20) for an existing Stripe coupon — the thing a \"use code X\" ad needs, since a coupon alone has no code. couponId (from list_stripe_coupons); optional code (letters, digits and dashes; Stripe generates one if omitted — a code with spaces or symbols is refused, never altered), maxRedemptions, expiresAt (YYYY-MM-DD), firstTimeOnly, minimumAmount + minimumAmountCurrency (major units), customerId. Read back. LIVE key: confirm:true after showing the preview. Use it on a payment link with allowPromotionCodes. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"couponId"
],
"properties": {
"code": {
"type": "string",
"description": "customer-typable code, letters, digits and dashes; Stripe generates one if omitted"
},
"confirm": {
"type": "boolean",
"description": "true on a live key, after the user approves the preview"
},
"couponId": {
"type": "string",
"description": "coupon id to apply, from list_stripe_coupons"
},
"metadata": {
"type": "object",
"description": "key/value metadata stored on the code",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"expiresAt": {
"type": "string",
"description": "last day the code works, YYYY-MM-DD"
},
"customerId": {
"type": "string",
"description": "restrict the code to one customer (cus_…)"
},
"firstTimeOnly": {
"type": "boolean",
"description": "true = valid only on a customer's first purchase"
},
"minimumAmount": {
"type": "number",
"description": "MAJOR units"
},
"maxRedemptions": {
"type": "number",
"description": "maximum uses of this code"
},
"minimumAmountCurrency": {
"type": "string",
"description": "3-letter currency code for minimumAmount"
}
}
},
"annotations": {
"title": "create stripe promotion code",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| string |
| message shown on Stripe's confirmation page after paying |
{
"name": "update_stripe_payment_link",
"title": "update stripe payment link",
"description": "Change a Stripe payment link (plink_…). active:false DEACTIVATES it — its URL then shows a \"no longer available\" page, in every ad that points at it — and ALWAYS needs confirm:true, test keys included; active:true reactivates it. allowPromotionCodes shows or hides the promotion-code box; afterCompletionUrl (redirect) or afterCompletionMessage (Stripe's confirmation page); inactiveMessage (up to 500 characters, shown while it is off); metadata. Read back. LIVE key: confirm:true after showing the preview. Needs Stripe connected (Connectors > Stripe, or connect_connector).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"paymentLinkId"
],
"properties": {
"active": {
"type": "boolean",
"description": "false deactivates the link; true reactivates it"
},
"confirm": {
"type": "boolean",
"description": "true to deactivate the link, and to confirm a live-key write"
},
"metadata": {
"type": "object",
"description": "key/value metadata to set on the link",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"paymentLinkId": {
"type": "string",
"description": "payment link id, plink_..., from list_stripe_payment_links"
},
"inactiveMessage": {
"type": "string",
"description": "message shown while the link is off, up to 500 characters"
},
"afterCompletionUrl": {
"type": "string",
"description": "URL the buyer is redirected to after paying"
},
"allowPromotionCodes": {
"type": "boolean",
"description": "true shows the promotion-code box at checkout; false hides it"
},
"afterCompletionMessage": {
"type": "string",
"description": "message shown on Stripe's confirmation page after paying"
}
}
},
"annotations": {
"title": "update stripe payment link",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}| sources | array | which to read; default all that are connected |
| ga4Property | string | which shared GA4 property, e.g. properties/123; default the first shared one |
| includeTest | boolean | true to count Shopify test orders |
| emailWindowDays | number | how many days after an email a payment still matches the person; default 30, at most 90 |
| platformReported | boolean | false to skip the ad platforms’ own reported conversions |
| googleAdsCustomerId | string | which Google Ads account for platform-reported conversions |
{
"name": "revenue_by_source",
"title": "Revenue by source (posts, ads, emails)",
"description": "Which posts, ads and emails led to actual sales: the brand's payments (Shopify orders and Stripe charges, whichever is connected) matched back to what Hermoso published or sent, with revenue, payments and customers per channel, campaign, single post/ad/email (groupBy item) or match method. Each payment is matched ONCE, strongest first, and says how: utm (a Hermoso tracking id on the visit), reference (a Hermoso id on a Stripe checkout), code (a discount code Hermoso created, or one you name in codes), ad_utm (the UTM tags Hermoso puts on ads it builds), tag (Hermoso's tags without an id) — these LED TO the sale; email (the buyer is someone Hermoso emailed or who replied, within emailWindowDays before paying) and referrer (the visit came from a social platform the brand posts to) are looser matches, never causation. The unattributed remainder is stated plainly. GA4's own attribution of purchases to Hermoso's tags and the ad platforms' own reported conversions (Meta, Google Ads) are shown APART, never added in: they can describe the same sales again. Money is per currency, never summed across currencies. A source that could not be read is said as such, never as zero sales. Default: the last 30 days (Shopify lets apps read its last 60). Read-only, free. Links carry Hermoso's ids only when tracking links are on (set_tracking_links).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"days": {
"type": "number",
"description": "the last N days, instead of since"
},
"codes": {
"type": "array",
"items": {
"type": "string"
},
"description": "more discount or promotion codes to count as Hermoso’s"
},
"since": {
"type": "string",
"description": "start date, YYYY-MM-DD; default 30 days before until"
},
"until": {
"type": "string",
"description": "end date, YYYY-MM-DD; default today"
},
"groupBy": {
"enum": [
"channel",
"campaign",
"item",
"method"
],
"type": "string",
"description": "channel (default), campaign, item (one row per post, ad, email or code) or method"
},
"sources": {
"type": "array",
"items": {
"enum": [
"shopify",
"stripe",
"ga4",
"email",
"ads"
],
"type": "string"
},
"description": "which to read; default all that are connected"
},
"ga4Property": {
"type": "string",
"description": "which shared GA4 property, e.g. properties/123; default the first shared one"
},
"includeTest": {
"type": "boolean",
"description": "true to count Shopify test orders"
},
"emailWindowDays": {
"type": "number",
"description": "how many days after an email a payment still matches the person; default 30, at most 90"
},
"platformReported": {
"type": "boolean",
"description": "false to skip the ad platforms’ own reported conversions"
},
"googleAdsCustomerId": {
"type": "string",
"description": "which Google Ads account for platform-reported conversions"
}
}
},
"annotations": {
"title": "Revenue by source (posts, ads, emails)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| with url: where it will be clicked (instagram_bio, newsletter, qr, facebook …); becomes utm_source |
| domains | array | more domains that are the brand’s own site, e.g. shop.example.com |
| enabled | boolean | true to tag links to the brand site, false to publish links exactly as written; omit to read |
| campaign | string | the utm_campaign (for the setting, or for the one link with url); empty string resets the setting to hermoso |
{
"name": "set_tracking_links",
"title": "Tracking links: setting, or one tagged link",
"description": "TRACKING LINKS, two jobs in one tool. (1) The brand setting: call with no arguments to read it, enabled:true/false to turn it on or off, campaign for the utm_campaign, domains for more sites that are the brand's own. When on, every link to the brand's OWN site that Hermoso publishes or sends (posts on every channel, scheduled posts, email sequences and new emails) gets utm_source (the channel), utm_medium (social, email or organic), utm_campaign (\"hermoso\" or yours) and an id in utm_content, so revenue_by_source can tie a sale to the exact post or email. A link that already has utm_ tags, a link to another site, a short link and a link inside the brand's own blog are never changed; Instagram and TikTok captions have no tappable link, so nothing is tagged there; ads already carry their platform's UTM template. Every publish that tagged a link says so in its reply. Brands created from 2026-11-18 get it on by default after one notice; older brands keep links exactly as written until this turns it on. (2) ONE tagged link for a place the user puts it themselves (a bio link, a QR code, a newsletter, an ad made elsewhere): pass url (+ channel, campaign, medium, label, kind) and get it back with Hermoso's tags; a Stripe payment link also gets the id as client_reference_id. That works whether or not the setting is on, on any site; a link already carrying utm_ tags is returned unchanged. Free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"url": {
"type": "string",
"description": "ONE link to tag now, https://…; returns the tagged link instead of the setting"
},
"kind": {
"enum": [
"link",
"post",
"email",
"ad"
],
"type": "string",
"description": "with url: what carries it; default link"
},
"label": {
"type": "string",
"description": "with url: what this link is, shown in revenue_by_source"
},
"medium": {
"type": "string",
"description": "with url: utm_medium; default social (email for channel email)"
},
"channel": {
"type": "string",
"description": "with url: where it will be clicked (instagram_bio, newsletter, qr, facebook …); becomes utm_source"
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "more domains that are the brand’s own site, e.g. shop.example.com"
},
"enabled": {
"type": "boolean",
"description": "true to tag links to the brand site, false to publish links exactly as written; omit to read"
},
"campaign": {
"type": "string",
"description": "the utm_campaign (for the setting, or for the one link with url); empty string resets the setting to hermoso"
}
}
},
"annotations": {
"title": "Tracking links: setting, or one tagged link",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| HubSpot lead status internal value, e.g. NEW |
| hubspotOwnerId | string | HubSpot owner id (digits) from list_hubspot_owners |
| lifecyclestage | string | HubSpot lifecycle stage internal value, e.g. lead or customer |
{
"name": "create_hubspot_contact",
"title": "Create or update a HubSpot contact",
"description": "Create a contact in the brand's HubSpot by email, or UPDATE the contact that already has that email — HubSpot's duplicate answer carries the existing id, so this is an UPSERT and never makes a twin. Optional firstname, lastname, phone, company, website, lifecyclestage, hs_lead_status, hubspotOwnerId (the sales rep to assign it to — an owner id from list_hubspot_owners), plus any other writable contact property in `properties` (by internal name). The contact is READ BACK after the write; the reply says created or updated. Free. Needs HubSpot connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"email"
],
"properties": {
"email": {
"type": "string",
"description": "the contact email — the key HubSpot de-duplicates on"
},
"phone": {
"type": "string",
"description": "contact phone number"
},
"company": {
"type": "string",
"description": "company name on the contact"
},
"ownerId": {
"type": "string",
"description": "older name for hubspotOwnerId (MCP only)"
},
"website": {
"type": "string",
"description": "company website URL"
},
"lastname": {
"type": "string",
"description": "contact last name"
},
"firstname": {
"type": "string",
"description": "contact first name"
},
"properties": {
"type": "object",
"description": "any other writable contact properties, by internal name",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"hs_lead_status": {
"type": "string",
"description": "HubSpot lead status internal value, e.g. NEW"
},
"hubspotOwnerId": {
"type": "string",
"description": "HubSpot owner id (digits) from list_hubspot_owners"
},
"lifecyclestage": {
"type": "string",
"description": "HubSpot lifecycle stage internal value, e.g. lead or customer"
}
}
},
"annotations": {
"title": "Create or update a HubSpot contact",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}{
"name": "list_hubspot_companies",
"title": "List or search HubSpot companies",
"description": "COMPANIES (accounts) from the brand's OWN HubSpot CRM, newest first: name, domain, website, LinkedIn company page, industry, employees, annual revenue, lifecycle stage, lead status, country/city, owner (rep name), original source + drill-downs, associated contacts and deals, total revenue — plus a de-duplicated `domains` list, which is what LinkedIn company targeting and account-based (ABM) audiences are built from. search matches name / domain / website / phone; filters lifecycleStage (e.g. customer, opportunity, salesqualifiedlead), industry (HubSpot's internal value, e.g. COMPUTER_SOFTWARE), hubspotOwnerId, createdSince (YYYY-MM-DD). Read-only, free. Needs HubSpot connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"after": {
"type": "string",
"description": "pagination cursor from the previous page"
},
"limit": {
"type": "number",
"description": "1–100, default 25"
},
"search": {
"type": "string",
"description": "name, domain, website or phone"
},
"ownerId": {
"type": "string",
"description": "older name for hubspotOwnerId (MCP only)"
},
"industry": {
"type": "string",
"description": "HubSpot's internal industry value, e.g. COMPUTER_SOFTWARE"
},
"createdSince": {
"type": "string",
"description": "YYYY-MM-DD"
},
"hubspotOwnerId": {
"type": "string",
"description": "owner id from list_hubspot_owners"
},
"lifecycleStage": {
"type": "string",
"description": "internal value, e.g. customer, opportunity, salesqualifiedlead, lead"
}
}
},
"annotations": {
"title": "List or search HubSpot companies",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| updatedSince | string | YYYY-MM-DD or ISO date-time |
| includeConverted | boolean |
| salesforceOwnerId | string |
| salesforceAccountId | string |
{
"name": "list_salesforce_records",
"title": "List or search Salesforce records",
"description": "Contacts, leads, accounts or opportunities from the brand's OWN Salesforce org, most recently changed first, or a search through Salesforce's own index (phone matches however the org typed it). Filters: email (exact, never lags), phone, stage and open (opportunities), status (leads), salesforceOwnerId, salesforceAccountId, updatedSince; converted leads are left out unless includeConverted. fields adds any field by API name; offset pages up to 2,000. Read-only, free. Needs Salesforce connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"object"
],
"properties": {
"open": {
"type": "boolean",
"description": "opportunities: only the open ones"
},
"email": {
"type": "string"
},
"limit": {
"type": "number",
"description": "1-200, default 25"
},
"phone": {
"type": "string"
},
"stage": {
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "string"
},
"description": "extra field API names"
},
"object": {
"enum": [
"contact",
"lead",
"account",
"opportunity"
],
"type": "string",
"description": "contact, lead, account or opportunity"
},
"offset": {
"type": "number",
"description": "0-2000"
},
"search": {
"type": "string"
},
"status": {
"type": "string"
},
"updatedSince": {
"type": "string",
"description": "YYYY-MM-DD or ISO date-time"
},
"includeConverted": {
"type": "boolean"
},
"salesforceOwnerId": {
"type": "string"
},
"salesforceAccountId": {
"type": "string"
}
}
},
"annotations": {
"title": "List or search Salesforce records",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| lead only |
| website | ["string","null"] |
| industry | ["string","null"] |
| lastName | ["string","null"] |
| closeDate | ["string","null"] | YYYY-MM-DD |
| firstName | ["string","null"] |
| leadSource | ["string","null"] |
| description | ["string","null"] |
| salesforceOwnerId | ["string","null"] | a user id from list_salesforce_owners |
| salesforceAccountId | ["string","null"] | the account (001…) a contact or opportunity belongs to |
{
"name": "create_salesforce_record",
"title": "Create a Salesforce record",
"description": "Create a contact, lead, account or opportunity in the brand's Salesforce, then read it back. Required: contact lastName; lead lastName (company defaults to \"[not provided]\"); account name; opportunity name, stage and closeDate. Any other field by API name in fields (describe_salesforce_object lists them, which are required, and the picklist values). The org's validation and duplicate rules answer in Salesforce's words. Free. Needs Salesforce connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"object"
],
"properties": {
"name": {
"type": [
"string",
"null"
],
"description": "account or opportunity name"
},
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"stage": {
"type": [
"string",
"null"
],
"description": "opportunity StageName"
},
"title": {
"type": [
"string",
"null"
]
},
"amount": {
"type": [
"number",
"null"
]
},
"fields": {
"type": "object",
"description": "any other field by API name, e.g. Industry__c; null clears it on update",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"object": {
"enum": [
"contact",
"lead",
"account",
"opportunity"
],
"type": "string",
"description": "contact, lead, account or opportunity"
},
"status": {
"type": [
"string",
"null"
],
"description": "lead status"
},
"company": {
"type": [
"string",
"null"
],
"description": "lead only"
},
"website": {
"type": [
"string",
"null"
]
},
"industry": {
"type": [
"string",
"null"
]
},
"lastName": {
"type": [
"string",
"null"
]
},
"closeDate": {
"type": [
"string",
"null"
],
"description": "YYYY-MM-DD"
},
"firstName": {
"type": [
"string",
"null"
]
},
"leadSource": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"salesforceOwnerId": {
"type": [
"string",
"null"
],
"description": "a user id from list_salesforce_owners"
},
"salesforceAccountId": {
"type": [
"string",
"null"
],
"description": "the account (001…) a contact or opportunity belongs to"
}
}
},
"annotations": {
"title": "Create a Salesforce record",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}| ["string","null"] |
| lead only |
| website | ["string","null"] |
| industry | ["string","null"] |
| lastName | ["string","null"] |
| closeDate | ["string","null"] | YYYY-MM-DD |
| firstName | ["string","null"] |
| leadSource | ["string","null"] |
| description | ["string","null"] |
| salesforceOwnerId | ["string","null"] | a user id from list_salesforce_owners |
| salesforceAccountId | ["string","null"] | the account (001…) a contact or opportunity belongs to |
{
"name": "update_salesforce_record",
"title": "Update a Salesforce record",
"description": "Change fields on one Salesforce record (move an opportunity's stage, set an amount, owner or close date, fix an email), then read it back. Send only what changes; null clears a field. Free. Needs Salesforce connected.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "the record id"
},
"name": {
"type": [
"string",
"null"
],
"description": "account or opportunity name"
},
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"stage": {
"type": [
"string",
"null"
],
"description": "opportunity StageName"
},
"title": {
"type": [
"string",
"null"
]
},
"amount": {
"type": [
"number",
"null"
]
},
"fields": {
"type": "object",
"description": "any other field by API name, e.g. Industry__c; null clears it on update",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"object": {
"enum": [
"contact",
"lead",
"account",
"opportunity"
],
"type": "string",
"description": "contact, lead, account or opportunity"
},
"status": {
"type": [
"string",
"null"
],
"description": "lead status"
},
"company": {
"type": [
"string",
"null"
],
"description": "lead only"
},
"website": {
"type": [
"string",
"null"
]
},
"industry": {
"type": [
"string",
"null"
]
},
"lastName": {
"type": [
"string",
"null"
]
},
"closeDate": {
"type": [
"string",
"null"
],
"description": "YYYY-MM-DD"
},
"firstName": {
"type": [
"string",
"null"
]
},
"leadSource": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"salesforceOwnerId": {
"type": [
"string",
"null"
],
"description": "a user id from list_salesforce_owners"
},
"salesforceAccountId": {
"type": [
"string",
"null"
],
"description": "the account (001…) a contact or opportunity belongs to"
}
}
},
"annotations": {
"title": "Update a Salesforce record",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}| report columns — defaults to campaign performance. Each report type accepts only its OWN column set; Microsoft also refuses impression-share columns alongside BidMatchType / BudgetName / DeviceOS / Goal / TopVsOther in the same request. |
| accountId | string | older name for adAccountId (MCP only) |
| reportType | string | which report — default CampaignPerformanceReportRequest. An unknown name is refused with the full list. |
| timePeriod | string | predefined Microsoft window, default Last30Days — must be one of the values in the description; anything else is rejected |
| adAccountId | string | Microsoft ad account id — omit to use the single shared account |
| aggregation | string | default Summary. Hourly accepts only Today/Yesterday or a custom range. |
| reportRequestId | string | pick up a report that came back pending — pass it back and this RESUMES that exact report instead of submitting a new one |
{
"name": "microsoft_ads_report",
"title": "Microsoft Advertising performance report",
"description": "Performance for a Microsoft Advertising account — impressions, clicks, CTR, average CPC, spend, conversions. `reportType` picks WHICH report, and that is the whole Microsoft reporting surface, not just campaigns: AdGroupPerformance, AdPerformance, KeywordPerformance, SearchQueryPerformance (the actual search terms people typed), GeographicPerformance, UserLocationPerformance, AgeGenderAudience and ProfessionalDemographicsAudience (LinkedIn-sourced job function and industry, inside Bing), ConversionPerformance, DestinationUrlPerformance, ShareOfVoice, AssetPerformance, ProductDimensionPerformance, SearchCampaignChangeHistory (\"what changed on Tuesday\") and ~30 more — an unknown name is refused WITH the full list rather than forwarded. `aggregation` controls the row grain (Summary / Daily / Hourly / Weekly / Monthly / Yearly / HourOfDay / DayOfWeek). Two reports keep far less history than the usual 36 months — AssetPerformance 30 days, ShareOfVoice 6 — and the reply says so, because an empty short-retention report is a retention limit, not an absence of delivery. Window via timePeriod (Today | Yesterday | LastSevenDays | Last14Days | Last30Days | ThisWeek | LastWeek | LastFourWeeks | ThisMonth | LastMonth | LastThreeMonths | LastSixMonths | ThisYear | LastYear | ThisWeekStartingMonday | LastWeekStartingMonday | LastFourWeeksStartingMonday) or since+until (YYYY-MM-DD) — default Last30Days. An unrecognised timePeriod is REFUSED, never silently swapped for another window. Microsoft generates reports ASYNCHRONOUSLY: this can return pending:true with a reportRequestId, and you must call again rather than reporting any numbers. A report that succeeds with ZERO rows genuinely means there was no delivery in that window — say exactly that; never present zeros as measured performance. Read-only, free.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"since": {
"type": "string",
"description": "YYYY-MM-DD custom range start (with until)"
},
"until": {
"type": "string",
"description": "YYYY-MM-DD custom range end"
},
"columns": {
"type": "array",
"items": {
"type": "string"
},
"description": "report columns — defaults to campaign performance. Each report type accepts only its OWN column set; Microsoft also refuses impression-share columns alongside BidMatchType / BudgetName / DeviceOS / Goal / TopVsOther in the same request."
},
"accountId": {
"type": "string",
"description": "older name for adAccountId (MCP only)"
},
"reportType": {
"type": "string",
"description": "which report — default CampaignPerformanceReportRequest. An unknown name is refused with the full list."
},
"timePeriod": {
"type": "string",
"description": "predefined Microsoft window, default Last30Days — must be one of the values in the description; anything else is rejected"
},
"adAccountId": {
"type": "string",
"description": "Microsoft ad account id — omit to use the single shared account"
},
"aggregation": {
"enum": [
"Summary",
"Hourly",
"Daily",
"Weekly",
"Monthly",
"Yearly",
"HourOfDay",
"DayOfWeek",
"WeeklyStartingMonday"
],
"type": "string",
"description": "default Summary. Hourly accepts only Today/Yesterday or a custom range."
},
"reportRequestId": {
"type": "string",
"description": "pick up a report that came back pending — pass it back and this RESUMES that exact report instead of submitting a new one"
}
}
},
"annotations": {
"title": "Microsoft Advertising performance report",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| adAccountId | string | Microsoft ad account id — omit to use the single shared account |
| competition | array | filter to Low | Medium | High |
| expandIdeas | boolean | false = do not expand; then keywords[] is mandatory |
| locationIds * | array | REQUIRED — Microsoft location ids (microsoft_ads_geo_search resolves names to ids, free) |
| maxSearchVolume | number | only ideas with at most this many monthly searches |
| minSearchVolume | number | only ideas with at least this many monthly searches |
{
"name": "microsoft_ads_keyword_ideas",
"title": "Microsoft Advertising keyword planner",
"description": "Microsoft Advertising’s KEYWORD PLANNER — real monthly search volume, competition, suggested bid and ad impression share, expanded from seed keywords, a landing-page URL to mine, or a category. Run it BEFORE choosing keywords for a Microsoft campaign. locationIds is REQUIRED and deliberately not defaulted: a search volume with no market attached is a number nobody can act on, and inventing a country would silently answer about the wrong market — use microsoft_ads_geo_search to resolve a country or city name to an id, free. SAY THIS WHEN REPORTING: Competition is Microsoft’s Low/Medium/High bucket, NOT a percentage; MonthlySearchCounts is a per-month series rather than one number; SuggestedBid is in the account currency. An empty result means Microsoft found no ideas for those seeds, never that nobody searches for them. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"locationIds"
],
"properties": {
"url": {
"type": "string",
"description": "a landing page for Microsoft to mine ideas from"
},
"network": {
"enum": [
"OwnedAndOperatedAndSyndicatedSearch",
"OwnedAndOperatedOnly",
"SyndicatedSearchOnly"
],
"type": "string",
"description": "search network the volume is measured on: Microsoft-owned, partner-syndicated or both"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "seed terms to expand from"
},
"language": {
"type": "string",
"description": "default English"
},
"accountId": {
"type": "string",
"description": "older name for adAccountId (MCP only)"
},
"attributes": {
"type": "array",
"items": {
"type": "string"
},
"description": "which idea attributes to return — omit for all"
},
"categoryId": {
"type": "number",
"description": "Microsoft keyword category id to mine ideas from"
},
"adAccountId": {
"type": "string",
"description": "Microsoft ad account id — omit to use the single shared account"
},
"competition": {
"type": "array",
"items": {
"type": "string"
},
"description": "filter to Low | Medium | High"
},
"expandIdeas": {
"type": "boolean",
"description": "false = do not expand; then keywords[] is mandatory"
},
"locationIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "REQUIRED — Microsoft location ids (microsoft_ads_geo_search resolves names to ids, free)"
},
"maxSearchVolume": {
"type": "number",
"description": "only ideas with at most this many monthly searches"
},
"minSearchVolume": {
"type": "number",
"description": "only ideas with at least this many monthly searches"
}
}
},
"annotations": {
"title": "Microsoft Advertising keyword planner",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| number |
| daily budget in account currency the estimate assumes |
| locationIds * | array | REQUIRED — Microsoft location ids |
{
"name": "microsoft_ads_traffic_estimates",
"title": "Microsoft Advertising traffic estimates",
"description": "What a set of keywords would DELIVER on Microsoft Advertising at a given bid — estimated impressions, clicks, CTR, average CPC, average position and total cost. maxCpc is REQUIRED because a traffic estimate IS a function of the bid; estimating without one would be inventing the input. locationIds is REQUIRED for the same reason a search volume needs a market. SAY THIS WHEN REPORTING: Microsoft returns a MINIMUM and a MAXIMUM per keyword — quote the range, never average the two into a single figure — and every number here is a FORECAST, so never present it as measured performance. Read-only, 0 credits.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"keywords",
"maxCpc",
"locationIds"
],
"properties": {
"maxCpc": {
"type": "number",
"description": "REQUIRED — the max CPC bid to estimate at, in the account currency"
},
"network": {
"type": "string",
"description": "search network to estimate for; same values as microsoft_ads_keyword_ideas network"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "the keywords to estimate"
},
"language": {
"type": "string",
"description": "language to estimate for, e.g. English"
},
"accountId": {
"type": "string",
"description": "older name for adAccountId (MCP only)"
},
"matchType": {
"enum": [
"Exact",
"Phrase",
"Broad"
],
"type": "string",
"description": "default Exact"
},
"adAccountId": {
"type": "string",
"description": "Microsoft ad account id — omit to use the single shared account"
},
"dailyBudget": {
"type": "number",
"description": "daily budget in account currency the estimate assumes"
},
"locationIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "REQUIRED — Microsoft location ids"
}
}
},
"annotations": {
"title": "Microsoft Advertising traffic estimates",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}