Skip to main content
Glama

Create a sandbox test click

create_sandbox_click

Performance ads. Mints a test click (click_id, tclk_...) and a draft_key, to prove the integration before an order. Give destination_template (your https landing URL with {click_id}) for a new ad, or ad_id to test an existing one. Then send one signed test event for the click (send_sandbox_event), and order with the draft_key in product_options.draft_key. A verified test event counts for one ad.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_sandbox_click"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idNoThe id of an ad of this account.
api_keyNoThe API key of the account (can_live_...). Optional when this MCP connection sends it as the Authorization: Bearer header.
draft_keyNoOnly to add another test click to a draft_key you already hold.
destination_templateNoThe https landing URL of the ad, with {click_id} where the click id goes.

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, so the mutation profile is known. The description adds genuinely new behavior: it names the returned artifacts, notes the draft_key reuse case, and discloses the quota rule "A verified test event counts for one ad." It stops short of saying whether sandbox clicks are billable or what happens if neither ad_id nor destination_template is supplied.

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

Conciseness4/5

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

The workflow is front-loaded and every sentence carries procedural information. The opening fragment "Performance ads." is ambiguous filler that does not earn its place, slightly weakening an otherwise tight definition.

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

Completeness4/5

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

No output schema exists, and the description compensates by naming what gets minted (click_id, tclk_...) and the draft_key. The end-to-end flow through verification and ordering is covered, but with zero required parameters it never clarifies what happens if both ad_id and destination_template are omitted.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all four parameters and the baseline is 3. The description does add workflow meaning the schema lacks — that destination_template is for a new ad while ad_id tests an existing one, and that draft_key is only for appending to a draft you already hold — but it is a modest increment rather than compensating for a gap.

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?

"Mints a test click (click_id, tclk_...) and a draft_key" gives a concrete verb and the exact artifacts produced, and the description explicitly positions it upstream of send_sandbox_event and the order step. An agent can distinguish this from send_sandbox_event and from real order creation without opening any schema.

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

Usage Guidelines5/5

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

The description states the situation ("to prove the integration before an order"), gives the two selection paths (destination_template for a new ad vs ad_id for an existing one), and spells out the follow-on sequence: send one signed test event, then order with draft_key in product_options.draft_key. That is explicit when/when-not plus the alternative tool.

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