Skip to main content
Glama

Gift voucher link

get_gift_voucher_link
Read-onlyIdempotent

Link to buy the restaurant's gift vouchers on its own website.

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": {
      "restaurant_id": "<restaurant_id>"
    },
    "name": "get_gift_voucher_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
restaurant_idYesThe restaurant_id returned by search_restaurants (for example "oak-nosh").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorldHint=false, so the safety profile is covered. The description adds that the link points at the restaurant's own website, which is useful context beyond the annotations. However it says nothing about what is returned when a restaurant offers no gift vouchers (null? empty string?) or the shape of the return value, which matters since there is no output schema.

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?

A single short sentence with no filler, and the key scoping detail (restaurant's own website) is included rather than buried. It reads as a fragment rather than a front-loaded verb statement, which costs a little clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with full annotations, the definition covers what is fetched and where the link points. It is incomplete on the return contract, since no output schema exists and the description does not say what is returned when no gift voucher link is available.

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% and the single restaurant_id parameter is documented in the schema, including an example and the pointer back to search_restaurants. The description adds no parameter detail of its own, so the baseline of 3 applies.

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 names a specific resource (gift vouchers), a specific action (get the buy link), and scopes it to the restaurant's own website, which distinguishes it structurally from siblings like get_booking_link and get_order_link. It is a noun phrase rather than a verb+resource statement, so it is slightly less crisp than a 5, but an agent can tell what it retrieves.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of prerequisites, and no mention of when an agent should prefer get_booking_link or get_order_link instead. The only usage signal is the implicit one in the name, which depends on the agent inferring that gift vouchers differ from bookings and orders.

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