Skip to main content
Glama

UniVend: master vendor for AI agents

Get a service

get_offer
Read-onlyIdempotent

The full description of one UniVend service: what it includes, what it does not include, the requirements and how it is priced. Takes the code from list_offers.

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": {
      "code": "<code>"
    },
    "name": "get_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe offer code from list_offers, e.g. master_vendor.
langNoLanguage of the answer: bg (Bulgarian) or en (English).

Output Schema

NameRequiredDescriptionDefault
urlYes
codeYes
nameYes
summaryYes
excludesYes
includesYes
price_noteYes
descriptionYes
price_modelYes
requirementsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile needs no restatement. The description adds genuine context about the response content — that it includes what the service does not include and its pricing — beyond what the annotations convey. It does not discuss error behavior for an invalid code, but the output schema covers the return shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler, with the content scope front-loaded and the input-provenance note placed last as a natural handoff. Nothing is repeated from the title or schema.

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 an output schema present, the description need not describe return values, and the annotations carry the safety and idempotency story; what remains is scope, which is covered well. The only omission is behavior on an unknown or stale code, a minor gap for a read-only lookup.

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%, with the code parameter already documented as coming from list_offers (including an example) and lang as an enumerated bg/en choice. The description's only parameter-adjacent contribution is restating the code's provenance, so the baseline 3 applies; the lang parameter is not mentioned at all in the description.

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?

Names a specific verb and resource ('The full description of one UniVend service') and enumerates what that description covers: inclusions, exclusions, requirements, and pricing. The final clause ('Takes the code from list_offers') explicitly distinguishes it from the list-level sibling, which returns the collection rather than one item.

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?

The clause 'Takes the code from list_offers' tells an agent both the prerequisite call and where the required parameter value comes from, which is meaningful usage guidance for a lookup-by-id tool. It stops short of stating exclusions, such as what to do when the code is unknown or when the lighter list_offers data is sufficient.

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