Skip to main content
Glama

Preview editing a listing’s pitch

preview_edit_pitch
Read-only

Use this before edit_pitch: it checks the rules and says exactly what will happen, who is told and what is paid, and returns a confirmation_token for edit_pitch. It changes nothing. What edit_pitch does: Replaces the pitch creators read before applying. Nobody is alerted. Show the brand the result and wait for a clear yes.

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>"
    },
    "name": "preview_edit_pitch"
  }
}

Input Schema

NameRequiredDescriptionDefault
pitchYesThe new pitch, as previewed.
campaignYesThe campaign reference, like cmp_…, from create_campaign_draft or list_campaigns.

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 mark this read-only and non-destructive, and the description reinforces that ('It changes nothing') while adding behavior the annotations cannot convey: what the result reports (who is told, what is paid) and that it yields a confirmation_token required by edit_pitch. It also discloses that no one is alerted on the eventual edit, which is meaningful for an agent deciding whether to proceed.

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?

Front-loaded with the key routing instruction and the safety statement arrives early. The middle sentence ('What edit_pitch does…') is useful but slightly derails the flow of an otherwise tight two-part structure; nothing is outright wasted.

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 2-parameter preview tool with no output schema, the definition covers purpose, safety, return token, and the human-approval loop. It stops short of describing the shape of the preview result or the token's lifetime, which an agent would benefit from, but nothing essential to calling it is missing.

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 both campaign and pitch are fully documented in the schema, including formats and the 280-character cap. The description adds no parameter-level meaning beyond noting the pitch is 'as previewed'; baseline 3 is appropriate when the schema does the work.

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?

The description names a specific verb and resource ('checks the rules', 'preview editing a pitch') and explicitly contrasts it with the sibling edit_pitch, describing what edit_pitch does as a separate act. An agent can distinguish preview from execution 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?

Explicit sequencing is given: 'Use this before edit_pitch' plus the workflow instruction 'Show the brand the result and wait for a clear yes.' The boundary between preview and the actual mutation is unambiguous, and the human-approval requirement is stated rather than implied.

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