Skip to main content
Glama

Agent Menu

get_contact_methods

Get how to contact this restaurant to order: phone (call), WhatsApp (text), and/or email. Returns ready-to-use actions (tel:, wa.me, mailto) and the preferred method.

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": "<restaurant>"
    },
    "name": "get_contact_methods"
  }
}

Input Schema

NameRequiredDescriptionDefault
restaurantYesThe restaurant id (slug) from search_restaurants

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the return shape — ready-to-use actions (tel:, wa.me, mailto) plus a preferred method — which tells the agent what to expect without an output schema. It does not say what happens when a restaurant has no contact data, nor that the lookup is read-only.

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 sentences, front-loaded with the purpose and followed by the return value. No filler, no restatement of the tool name, and the channel list is compact.

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 one-parameter lookup with no output schema, the description covers both what it returns and the ordering use case. The only meaningful gap is the absence of any note about restaurants lacking contact methods or about its relationship to the similarly named sibling.

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 100% and the single parameter already documents that it is the restaurant id (slug) from search_restaurants. The description only adds "this restaurant," which does not extend the schema's meaning, 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 states a specific verb and resource ("Get how to contact this restaurant to order") and enumerates the channels returned: phone, WhatsApp, email. It stops short of distinguishing itself from the similarly named sibling get_local_restaurant_contact, so an agent must infer the difference.

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

Usage Guidelines3/5

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

The phrase "to order" implies the context of use (the user wants to place an order or reach the restaurant), but there is no explicit when-to-use vs. when-not guidance and no alternative tool is named. An agent must infer that this is the lookup to run before place_order.

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