Skip to main content
Glama

Samuelz® Sales

Bestehenden QuoteCase ohne Versand vorbereiten

prepare_quote_case_recovery
Idempotent

After an explicit recovery request, prepare an existing WhatsApp QuoteCase from its exact tenant-bound inbound sources. Requires the version observed through get_quote_case_recovery; stale versions are blocked. Reuses confirmed pricing, availability and policy evidence, may call configured models and materialize offers. No clarification or offer is sent, and no worker delivery is authorized. Refuses collecting, closed or already worker-authorized cases. Never changes tenant policies, price rules, permissions or recipient authority. Prepared is no delivery proof or execute approval. No execute option.

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": {
      "sourceCommunicationIds": "<sourceCommunicationIds>",
      "expectedVersion": "<expectedVersion>"
    },
    "name": "prepare_quote_case_recovery"
  }
}

Input Schema

NameRequiredDescriptionDefault
expectedVersionYes
sourceCommunicationIdsYes

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?

Beyond the annotations (readOnly=false, destructive=false, idempotent=true), the description discloses that it may invoke configured models and materialize offers, that nothing is sent or authorized for worker delivery, and that it never mutates policies, price rules, permissions or recipient authority. It also guards against over-reading the outcome ('prepared is no delivery proof or execute approval'), which is exactly the kind of contract-level behavior annotations cannot express.

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?

Sentences are short and the most important constraint (explicit recovery request, version prerequisite) is front-loaded. There is mild redundancy in the cluster of negations about sending, delivery proof and execute approval, which restate the same boundary three ways.

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 write-class tool with no output schema and no parameter descriptions in the schema, the description covers side effects, refusals and authorization boundaries well. It stops short of saying what a successful prepare returns or how to source the communication IDs, which are the remaining gaps an agent would hit at call time.

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 0%, so the description must carry parameter meaning. It handles expectedVersion well ('the version observed through get_quote_case_recovery; stale versions are blocked'), but sourceCommunicationIds is only alluded to via 'tenant-bound inbound sources' with no guidance on origin, cardinality or format beyond the raw schema pattern.

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 (prepare) and a specific resource (an existing WhatsApp QuoteCase) and scopes it to 'exact tenant-bound inbound sources'. It distinguishes itself from the read-only sibling by citing get_quote_case_recovery as the version source and by ruling out any send/delivery action.

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?

It states the trigger ('after an explicit recovery request'), the prerequisite ('requires the version observed through get_quote_case_recovery'), and explicit exclusions ('refuses collecting, closed or already worker-authorized cases'). An agent knows both when to call it and when to skip it without opening another schema.

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