Skip to main content
Glama

Samuelz® Communications

Briefwelle bepreisen

quote_letter_wave
Idempotent

Read provider prices for one batch of an existing prepared letter wave, only with separate explicit price-read cost authority. First get_letter_wave and copy waveId/expectedRevision; confirmPriceRead=true attests those price reads, never sending. Existing communication.letter_wave.v1 max_items_per_wave/batch_size limits remain mandatory. Read each returned revision/status: quoting needs another explicitly authorized batch read; quoted exposes the final total for request_letter_wave_send; blocked permits no send. prepare_letter_wave creates drafts, this tool prices them, the separate human card approves dispatch and get_letter_wave reads later submission/delivery. No publication or send here.

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": {
      "waveId": "<waveId>",
      "expectedRevision": "<expectedRevision>",
      "confirmPriceRead": "<confirmPriceRead>"
    },
    "name": "quote_letter_wave"
  }
}

Input Schema

NameRequiredDescriptionDefault
waveIdYesExact waveId from prepare_letter_wave or get_letter_wave, never a campaign or provider letter ID.
confirmPriceReadYesExactly true only after explicit permission for provider price reads. It never confirms a send.
expectedRevisionYesCurrent exact wave revision from get_letter_wave; changing recipients/text/quote invalidates it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / confirmPriceRead / description
      Added value: +"Exactly true only after explicit permission for provider price reads. It never confirms a send."
    • addedInput schema / properties / expectedRevision / description
      Added value: +"Current exact wave revision from get_letter_wave; changing recipients/text/quote invalidates it."
    • addedInput schema / properties / waveId / description
      Added value: +"Exact waveId from prepare_letter_wave or get_letter_wave, never a campaign or provider letter ID."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, and the description explains why this 'read' is not read-only: it consumes explicit price-read cost authority and confirms that authority via confirmPriceRead. It adds operational context the annotations cannot carry, notably that communication.letter_wave.v1 max_items_per_wave/batch_size limits remain mandatory and that a changed revision invalidates the call. It does not quantify cost, latency, or idempotency semantics in detail, which keeps it just short of the top mark.

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 most decision-critical constraints, the scope and the authorization requirement, are front-loaded, and every sentence contributes routing or state information. It is somewhat dense and telegraphic, with compressed fragments like 'Existing communication.letter_wave.v1 max_items_per_wave/batch_size limits remain mandatory' that take a second read, but no sentence is filler.

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?

There is no output schema, and the description compensates by explaining the returned revision/status values and what each implies for the next step (quoting, quoted, blocked). Combined with the dispatch/approval boundary and the batch-size constraint, an agent has everything needed to decide whether to call and how to react to the result.

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 all three parameters are already documented in the schema, including the regex-shaped expectedRevision and the const-true confirmPriceRead. The description mainly restates that provenance ('copy waveId/expectedRevision' from get_letter_wave) and the 'attests those price reads, never sending' meaning, adding little beyond the structured text. Baseline 3 is correct when the schema carries parameter meaning.

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 first sentence names a specific verb and resource with explicit scope: 'Read provider prices for one batch of an existing prepared letter wave.' It also distinguishes itself from prepare_letter_wave ('creates drafts, this tool prices them') and from request_letter_wave_send ('No publication or send here'), so an agent can separate the pricing step from drafting and dispatch without opening another 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?

It states the precondition ('only with separate explicit price-read cost authority'), the sequencing ('First get_letter_wave and copy waveId/expectedRevision'), and the branch behavior for each returned status: quoting requires another authorized batch read, quoted exposes a total for request_letter_wave_send, blocked permits no send. Explicit exclusions ('never sending', 'No publication or send here') complete the routing.

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