Skip to main content
Glama

Change a preview

revise_preview
Idempotent

Change a preview’s sources, criteria, name or frequency when the person asks for something different, instead of cancelling it and quoting a new one. Send the full new settings, as for quote_preview. The same preview and draft keep going: it waits for approve_preview again with the new request_hash. A preview that finished, failed or was cancelled can be revised and run again; Poacher covers it, so nothing is charged. A running preview must finish or be cancelled first. Use the key that quoted it.

Permission: work:execute.

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": {
      "preview_id": "<preview_id>",
      "criteria": "<criteria>"
    },
    "name": "revise_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoOne public search URL. Use url or sources, not both.
nameNoName for the preview.
sourcesNo1–10 distinct search URLs. Put interval_seconds and schedule on each source, not at the top level.
criteriaYesWhat counts as a match, in plain words.
scheduleNoWith url only: phase for checks.
preview_idYesThe preview ID returned when it was quoted or created.
review_resultsNoDefault true: Poacher reviews each result against the criteria. false checks exact filters only.
interval_secondsNoWith url only: check interval.
maximum_charge_microsNoOptional and ignored while Poacher covers previews. If you send it, use a whole number of at least 2 micros.

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by disclosing full-replacement semantics, that the same preview and draft persist, that approval must be re-obtained with a new request_hash, which lifecycle states permit revision, and that Poacher covers the cost so nothing is charged. It also states the required scope (work:execute) and to use the key that quoted the preview.

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?

Effectively front-loaded: the primary action and the cancel-alternative come first, followed by payload shape, state behavior, billing, preconditions, and auth. Dense but every sentence carries operational information, though the state and billing clauses could be tightened slightly.

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

Completeness5/5

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

For a mutation tool with nine parameters, the description covers the replacement payload contract, state continuity, approval re-entry, allowed source states, billing, auth scope, and which key to use. An output schema exists, so return values need no explanation, and nothing an agent needs to invoke this correctly is missing.

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 the baseline is 3; the description adds genuine meaning by specifying that the whole settings payload must be resent ('Send the full new settings, as for quote_preview'), which tells the agent this is a replace, not a partial patch. It does not add per-field detail on top of the already-descriptive schema.

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 ('Change') and resource ('a preview') and immediately enumerates the changeable fields (sources, criteria, name, frequency). It also disambiguates from the cancel-and-requote path, so an agent can separate it from cancel_preview and quote_preview without inspecting schemas.

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 an explicit trigger ('when the person asks for something different'), an explicit anti-pattern ('instead of cancelling it and quoting a new one'), and named alternatives (cancel_preview, quote_preview, approve_preview). It also states the precondition that a running preview must finish or be cancelled first.

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