Skip to main content
Glama

search_policies

Hub commerce policies: fee policy, payment mode, escrow and refund rules; optionally one listing's terms via listing_id (e.g. refund window before you book).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_policies"
  }
}

Input Schema

NameRequiredDescriptionDefault
listing_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. 'Policies' implies a passive informational read, but nothing states that the call is side-effect free, whether the listing variant is a superset or a different result set, or what form the response takes. It adds domain context but leaves the safety and result profile implicit.

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 tightly packed sentence, front-loaded with the resource and followed by the optional-parameter behavior. Every clause carries content, though the phrase 'Hub commerce policies' is slightly opaque without further context.

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-optional-parameter tool with no output schema and no annotations, the description covers what is returned and what the parameter does. Remaining gaps (response shape, whether multiple policies come back) are minor at this complexity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage for the single parameter is 0%, so the description must compensate, and it does: listing_id is explained as optional and as scoping the result to one listing's terms. It does not specify an ID format or how it interacts with the general policy result, which keeps it from a 5.

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 the concrete resource and its contents: fee policy, payment mode, escrow and refund rules, plus optional listing-specific terms. It lacks an explicit verb (list/return) and never names a sibling, so the agent must infer that this is a read-only lookup and cannot tell from the text alone how it differs from search_products or everlist_listing.

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

Usage Guidelines4/5

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

The parenthetical 'refund window before you book' gives a concrete usage scenario, and 'optionally' clarifies when to supply listing_id versus omitting it for general policy lookup. There are no explicit exclusions or named alternatives, so it stays short of a 5.

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.