Skip to main content
Glama

get_merchant

Read-only

Retrieve full merchant details by merchant ID, including name, address, and operations, for order management and store availability tasks.

Instructions

Get full detail for one merchant (name, address, operations).

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": {
      "merchant_id": "<merchant_id>"
    },
    "name": "get_merchant"
  }
}

Input Schema

NameRequiredDescriptionDefault
merchant_idYesMerchant ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already establish that this is a read-only, open-world operation. The description adds that the result includes name, address, and operations detail, but it does not discuss errors, pagination, authentication requirements, or what happens when the merchant is missing.

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?

The description is a single front-loaded sentence with no filler. It states the operation and the returned detail categories efficiently.

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 simple one-parameter read-only lookup, the description plus schema and annotations cover the essential information. It is slightly incomplete because it does not clarify how this differs from get_merchant_status or what "operations" includes, but it is otherwise sufficient.

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?

There is one required parameter, merchant_id, and its schema description coverage is 100%. The description does not add format details, source guidance, or validation rules beyond the schema-provided label "Merchant ID."

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 uses a specific verb and resource: "Get full detail for one merchant," and lists the returned detail categories. It clearly distinguishes a single-merchant lookup from a list-style operation, though it does not explicitly name sibling tools such as list_merchants or get_merchant_status.

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 "for one merchant" implies this is the single-record lookup rather than a list operation. However, the description gives no explicit when-to-use guidance, no exclusions, and no comparison to sibling tools like get_merchant_status or list_merchants.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.