Skip to main content
Glama
discava

discava – Business Directory for AI

get_business

Retrieve comprehensive business details including address, contact information, hours, services, and location data from a global directory for AI applications.

Instructions

Get full details for one or more businesses: address, phone, website, opening hours, services, payment methods, social links, logo, business image, coordinates. Pass comma-separated IDs for batch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesOne or more business IDs, comma-separated for batch (e.g. "id1,id2,id3")

Implementation Reference

  • server.ts:83-88 (handler)
    Registration and handler implementation for the 'get_business' tool. It uses the `api` helper to fetch data from `/business/${id}`.
    server.tool(
      'get_business',
      'Get full details for one or more businesses: address, phone, website, opening hours, services, payment methods, social links, logo, business image, coordinates. Pass comma-separated IDs for batch.',
      { id: z.string().describe('One or more business IDs, comma-separated for batch (e.g. "id1,id2,id3")') },
      async ({ id }) => jsonContent(await api(`/business/${id}`))
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/discava/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server