Skip to main content
Glama

Trillboards Campaign Planner

Amend campaign flight

amend_campaign_flight
DestructiveIdempotent

Amend the native campaign flight. Each fulfillment route reports its actual supported change.

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": {
      "advertisementId": "<advertisementId>",
      "idempotency_key": "<idempotency_key>",
      "flightStart": "<flightStart>",
      "flightEnd": "<flightEnd>"
    },
    "name": "amend_campaign_flight"
  }
}

Input Schema

NameRequiredDescriptionDefault
flightEndYesLocal calendar date, YYYY-MM-DD.
flightStartYesLocal calendar date, YYYY-MM-DD.
advertisementIdYesNative campaign ID returned by save_campaign_draft.
idempotency_keyYesStable unique key for this action. Reuse this key and unchanged arguments when retrying.

Output Schema

NameRequiredDescriptionDefault
kindYes
messageYes
end_dateYes
start_dateYes
statusCodeYes
lineResultsNo
capabilitiesYes
amended_linesYes
advertisementIdYes
pending_partner_syncYesOriginal owner IO lines awaiting acknowledged dates; local registry changes apply in the same transaction.
ownedPlacementsAmendedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description must add real behavioral context. It offers only "Each fulfillment route reports its actual supported change" — which implies partial-support semantics but is too vague to tell the agent what gets altered or destroyed, whether changes are reversible, or how to react when a route rejects a change.

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?

Two short sentences with the action stated first — no filler or redundancy. The second sentence is terse to the point of opacity, but it does earn its place by flagging route-dependent behavior.

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

Completeness2/5

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

An output schema exists and parameters are fully documented, so return values need no prose. However, this is a destructive, idempotent mutation with four required parameters, and the description leaves unanswered what a valid amendment looks like and how partial route support affects the call — a significant gap for a write operation.

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

Parameters3/5

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

Schema coverage is 100%, and each parameter carries its own description (local calendar date format, campaign ID source, idempotency retry guidance), so the schema does the heavy lifting. The description adds no additional meaning about how flightStart/flightEnd interact with the existing flight or with route support.

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

Purpose3/5

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

"Amend the native campaign flight" gives a verb and a resource, so the basic action is identifiable. But "flight" and "native campaign" are domain jargon, and the description never says which attributes can actually be amended (dates, budget, targeting?), leaving the scope of the mutation ambiguous.

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

Usage Guidelines2/5

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

No when-to-use guidance at all: nothing distinguishes this from save_campaign_draft, update_campaign_metadata, rebook_campaign, or stop_campaign. The second sentence hints that supported changes vary by fulfillment route, but it never tells the agent when to pick this tool versus a sibling or what prerequisites exist.

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