Skip to main content
Glama

Preview a copy of a saved search

quote_copy_preview
Idempotent

Quote a preview of a new alert copied from an existing one, archived or not. Poacher covers it, so nothing is charged. Copies the sources, brief, filters and schedules, with any changes, like “Create a new alert with these settings” in the app. The original is not changed. Dates that have passed must be changed first. Approve with approve_preview, then create the alert with create_alert_from_preview.

Permission: work:execute + alerts:read.

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": {
      "copy_from_alert_id": "<copy_from_alert_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "quote_copy_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesNoOptional changes to the copied settings: name, criteria, review_results, exact_filters, sources (change copied ones by ID), add_sources (new search URLs) and remove_sources (copied IDs to drop).
idempotency_keyYesA new random key (16–100 letters, digits, - or _) for each request. Reuse it only to retry the identical request.
copy_from_alert_idYesAlert to copy.
maximum_charge_microsNoOptional and ignored while Poacher covers previews. If you send it, use a whole number of at least 2 micros.
configuration_revisionNoOptional configuration_revision from get_alert_configuration; the copy fails if the alert changed since.

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / data / properties / failure_detail
      Added value: +{
      +  "description": "Failed previews only: what Poacher found while setting up the source, in its own words (untrusted text, up to 600 characters). Explain it to the person plainly.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. Changed3 schema fields changed
    • addedOutput schema / properties / data / properties / check_again_after_seconds
      Added value: +{
      +  "description": "While queued or running: call get_preview again after about this long while the person waits. Do not schedule a reminder for later instead.",
      +  "type": [
      +    "integer",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / data / properties / progress
      Added value: +{
      +  "description": "What the preview is doing now, while it is queued or running.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / data / properties / typical_minutes
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": [
      +        "null"
      +      ]
      +    },
      +    {
      +      "additionalProperties": true,
      +      "properties": {
      +        "high": {
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "low": {
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    }
      +  ],
      +  "description": "How long previews like this usually take, in minutes, measured in production. Null once it has finished or stopped."
      +}
  3. Changed3 schema fields changed
    • removedOutput schema / properties / data / properties / quote / properties / gross_margin_bps
      Removed value: -{
      -  "description": "One of: 0, 5000."
      -}
    • removedOutput schema / properties / data / properties / quote / properties / maximum_provider_cost_micros
      Removed value: -{
      -  "description": "USD micros as an exact integer; 1,000,000 = $1. Spending ceilings are bounded to the safe integer range.",
      -  "type": [
      -    "integer",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / data / properties / receipt / properties / provider_cost_micros
      Removed value: -{
      -  "description": "What the account pays toward provider costs. 0 for a covered preview.",
      -  "type": [
      -    "integer",
      -    "null"
      -  ]
      -}
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover the safety profile (not read-only, not destructive, idempotent), and the description adds meaningful context beyond them: previews are free ('nothing is charged'), the source alert is never modified, and the required permissions work:execute + alerts:read are stated. What is missing is any note on rate limits or preview expiry, and the 'Poacher covers it' phrasing is product jargon that may not parse for a fresh agent.

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 core operation is front-loaded in the first sentence, then cost, semantics, and next steps follow in logical order with no filler. The 'Poacher covers it' aside and the 'Quote a preview' verb phrasing are slightly awkward but 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?

With a full output schema, complete annotations, and 100% parameter coverage, the description only needs to carry workflow and side-effect information — which it does, including cost, non-mutation of the original, permissions, and the approve/create follow-up. The one gap is that the 'dates that have passed' constraint is not tied to a specific parameter or validator.

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 baseline is 3. The description only implies the 'changes' parameter by saying sources, brief, filters and schedules are copied 'with any changes' — it adds no syntax or format detail beyond what the schema already documents for each nested field.

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 — quote a preview of a new alert copied from an existing one — and adds the scope qualifier that the source may be 'archived or not'. The app analogy ('Create a new alert with these settings') makes the operation unambiguous without needing the schema.

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

Usage Guidelines4/5

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

Explicitly routes the agent through the downstream sequence: approve with approve_preview, then create_alert_from_preview. It also gives a hard prerequisite ('Dates that have passed must be changed first'). It stops short of naming when to use this over the other quote_* preview siblings, but the workflow context is clear.

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