Skip to main content
Glama

get_offer_template

Read-only

The template for a given number of samples, with its positions already priced and the per-sample lines multiplied out. Give samples (and express: true for the express variant) or an exact key. If no tier matches, it returns NOTHING and names the tiers that exist — picking the nearest tier would be the expensive mistake here, because tiers differ by several hundred francs on the report alone. Lines whose price deviates from the customer's own template quotes are listed under abweichungen_vom_muster. The net total is a preview; the binding figure is computed by AbaNinja when the quote is created. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_offer_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoExact template key instead of choosing by sample count.
expressNoExpress variant (shorter lab turnaround).
samplesNoNumber of samples — decides the tier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only and closed-world, so repeating 'Read-only' earns nothing, but the description adds genuinely new behavior: a no-match returns NOTHING and enumerates existing tiers, deviating lines appear under abweichungen_vom_muster, and the net total is only a preview while AbaNinja computes the binding figure. That failure-mode and return-shape disclosure is well beyond the annotation set.

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 definition is front-loaded with what the tool produces, then moves to invocation, failure behavior, and caveats in a logical order. The aside about the 'expensive mistake' is a touch conversational but earns its place by justifying the strict tier matching.

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 no output schema, the description carries the burden of explaining returns, and it does so for the notable parts (abweichungen_vom_muster, preview net total, empty-result behavior). A brief statement of the overall returned object shape would close the remaining gap, but an agent can call this correctly as written.

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, but the description adds the either/or relationship the schema does not express: use samples (optionally with express) OR an exact key. It also clarifies that `samples` drives tier selection, which is meaningful beyond the terse schema property descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies a specific resource and scope: the offer template for a given sample-count tier, with positions priced and per-sample lines multiplied out. That distinguishes it from listing tools (list_offer_templates) and rendering tools (render_offer) without the agent needing the schema, though it never names those siblings explicitly and opens with a noun phrase rather than a verb.

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?

It gives concrete selection guidance: pass `samples` (plus express: true) or an exact `key`. It also warns against the nearest-tier fallback and explains the cost of that mistake (several hundred francs on the report), which is exactly the kind of when-not guidance that prevents bad calls. It stops short of telling the agent which sibling to use to find an exact `key`.

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.