Skip to main content
Glama

Edit a listing’s pitch

edit_pitch
Destructive

Use this only after its preview tool (preview_ + this name) and the brand’s explicit yes, with the same details and its confirmation_token. Replaces the pitch creators read before applying. Nobody is alerted. It works once and refuses, changing nothing, if anything moved since the preview.

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": {
      "campaign": "<campaign>",
      "pitch": "<pitch>",
      "confirmation_token": "<confirmation_token>"
    },
    "name": "edit_pitch"
  }
}

Input Schema

NameRequiredDescriptionDefault
pitchYesThe new pitch, as previewed.
campaignYesThe campaign reference, like cmp_…, from create_campaign_draft or list_campaigns.
confirmation_tokenYesThe confirmation_token from this operation’s preview for these exact details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructive=true and idempotent=false, but the description adds behavior the annotations cannot express: 'Nobody is alerted' discloses the notification side effect, and 'works once and refuses, changing nothing, if anything moved since the preview' discloses the atomic, optimistic-concurrency failure mode. This is exactly the context an agent needs before a destructive write.

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?

Three tight sentences with no filler, and the prerequisite gate is front-loaded before the behavioral notes. The parenthetical 'preview_ + this name' is slightly cryptic shorthand, but it costs little and keeps the definition short.

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 destructive, non-idempotent, single-shot mutation with no output schema, the definition covers prerequisites, atomicity, and notification behavior -- the parts an agent could not infer. It stops short of indicating what a successful response returns beyond implicit reuse of the token, which is a minor gap given no output schema exists.

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%, so all three parameters are already documented in the schema, including that confirmation_token comes from the preview. The description reinforces the invariant that the details must be identical to the preview, which is useful but largely restates what the schema and required-field list already convey, so the baseline 3 is right.

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 concrete verb and resource -- 'Replaces the pitch creators read before applying' -- which tells the agent exactly what changes and who sees it. It also names its preview counterpart ('preview_ + this name'), so the agent can separate this commit tool from preview_edit_pitch without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit preconditions in sequence: run the preview tool first, obtain the brand's explicit yes, then call with the same details and the confirmation_token. That is a clear when-to-use gate rather than implied usage, and the alternative path (preview_edit_pitch) is named directly.

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