Skip to main content
Glama

Get business

discond_get_business
Read-onlyIdempotent

Get one Discond merchant by id: name, a short description when we have one, categories, providers, link and its branches. Pass the user's lat/lng when known so branches come nearest first, with distance. When the user is signed in to Discond, its top live offers are included.

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": {
      "business_id": "<business_id>"
    },
    "name": "discond_get_business"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoUser's latitude (with lng). Branches are then sorted nearest first.
lngNoUser's longitude (with lat).
business_idYesMerchant id from discond_find_discounts or discond_autocomplete_businesses.
offer_limitNoMax results (1–25, default 10)
include_offersNoInclude live offers (signed-in users only). Default: true when signed in.
response_formatNomarkdown (default, human-readable) or json (structured)markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / lat
      Added value: +{
      +  "description": "User's latitude (with lng). Branches are then sorted nearest first.",
      +  "maximum": 90,
      +  "minimum": -90,
      +  "type": "number"
      +}
    • addedInput schema / properties / lng
      Added value: +{
      +  "description": "User's longitude (with lat).",
      +  "maximum": 180,
      +  "minimum": -180,
      +  "type": "number"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / business_id / description
      Added value: +"Merchant id from discond_find_discounts or discond_autocomplete_businesses."
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so safety is covered. The description adds genuinely new behavioral facts: branches are sorted nearest-first with distance when lat/lng is supplied, offers are gated on signed-in state, and the description field is conditionally present ('when we have one'). It does not mention auth requirements more precisely or any error behavior for an invalid id.

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?

Three sentences, front-loaded with the identity of the operation and its payload fields, then the optional location hint, then the conditional offers note. No filler. Slightly incomplete in that response_format — a user-visible choice — goes unmentioned, which keeps it from a 5.

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 return-value burden and does so by listing the returned fields and their conditional presence. For a simple read-only detail lookup with six fully documented parameters, the remaining gaps (response_format tradeoff, invalid-id behavior) are minor.

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 every parameter is already documented, including the nearest-first sorting and the 1–25 offer_limit range. The description restates the lat/lng sorting effect and the signed-in gating of offers but adds no syntax or edge-case guidance (e.g. what happens if only lat is sent, or when to choose json vs markdown). Baseline 3 for a fully covered schema.

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?

Specific verb and resource ('Get one Discond merchant by id') plus an enumeration of what comes back: name, short description, categories, providers, link, branches. The 'by id' framing implicitly separates it from the search-style siblings (discond_find_discounts, discond_autocomplete_businesses), but no sibling is named explicitly, so it stops short of a 5.

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?

Gives conditional invocation advice for two parameters ('Pass the user's lat/lng when known', offers appear when signed in), which is real usage context. However, it never states when to call this versus discond_get_offer or discond_find_venues, and the fact that business_id comes from a prior search lives only in the schema, not the description.

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