Skip to main content
Glama

Send a sandbox test event

send_sandbox_event

Performance ads. With key_id and signing_secret_hex (or postback_token) of your credential, signs a test event for a sandbox click and sends it to the live event endpoint: verified true in the answer means the order will be accepted. Without credentials it only simulates the event against goals and verifies nothing. Costs nothing either way.

Tool call template

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

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "click_id": "<click_id>",
      "event": "<event>"
    },
    "name": "send_sandbox_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventYesThe event name, for example signup or deposit: lower case letters, digits and underscores.
goalsNoGoals of the order, to see which ones the event would complete.
key_idNocredential.key_id (bpk_...), to send a signed live event.
api_keyNoThe API key of the account (can_live_...). Optional when this MCP connection sends it as the Authorization: Bearer header.
click_idYesThe sandbox click id (tclk_...).
event_idNoA unique id for the event. Made for you when left out.
amount_usdNoDecimal string, for an event that carries an amount.
propertiesNoFlat values your goal rules filter on.
customer_idNoYour own id for the customer. Never an email address.
occurred_atNoRFC 3339, UTC.
postback_tokenNoThe credential's postback token (advpb_...), to send the live event as a postback instead.
signing_secret_hexNoThe credential's signing secret, with key_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description adds genuinely new behavior: the call reaches the live endpoint, 'verified true' means the order will be accepted, and it 'costs nothing either way.' The no-credential mode being a pure simulation that verifies nothing is the most valuable disclosure, though what side effects the live path has on real data is only implied.

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

Conciseness4/5

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

Four sentences with the mode and outcome stated early and no filler; the signing requirements are front-loaded ahead of the caveat. The opening fragment 'Performance ads.' is disconnected from the rest and reads like boilerplate rather than useful framing.

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

Completeness4/5

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

For a 12-parameter tool with a nested object and no output schema, the description covers the critical gaps: the credentials needed, what happens without them, the cost, and the meaning of the response's verification flag. Remaining depth on the event/amount/properties semantics is left entirely to the schema's own per-field descriptions.

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

Parameters4/5

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

Schema coverage is 100%, so baseline would be 3, but the description adds cross-parameter meaning the schema does not: which credentials are required to trigger a real send versus a simulation, and the exclusivity of signing_secret_hex with key_id versus postback_token. It also explains the meaning of the returned 'verified' flag, which the output schema would otherwise have to carry.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair (signs and sends) and a precise resource (a test event for a sandbox click) directed at the live event endpoint. It also distinguishes two operating modes up front, so an agent can tell this apart from create_sandbox_click or the verification/credential siblings without opening a schema.

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

Usage Guidelines4/5

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

Explicitly branches on capability: supply key_id plus signing_secret_hex (or postback_token) to send a signed live event; with no credentials it only simulates against goals and verifies nothing. That is real when-to-use guidance, but it never names a sibling tool or says when to prefer get_sandbox_verification or create_sandbox_click instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources