Skip to main content
Glama

X402-Broker Universal MCP Gateway & Multi-Agent Swarm Router

search_shop_policies_and_faqs

Read-onlyIdempotent

Search store privacy, refund, terms of service, and SLA policies. Example: search_shop_policies_and_faqs(query='refund')

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_shop_policies_and_faqs"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoPolicy topic or question keyword.

Output Schema

NameRequiredDescriptionDefault
storeYesMerchant domain identifier.
ucp_versionNoSupported UCP specification version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds topic scope but says nothing about result format, empty-query behavior, or whether natural-language questions are accepted, so it adds limited behavioral context beyond annotations.

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 short sentences, front-loaded with the resource scope and followed by a useful example. No wasted text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema covers return values and annotations cover safety, but the description leaves two relevant gaps: it does not mention FAQ searching despite the tool name, and it does not explain what happens when the optional query is omitted. For a simple search tool this is adequate but not fully complete.

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 query parameter is already documented as a 'Policy topic or question keyword.' The description's example reinforces keyword usage but does not clarify whether full natural-language questions are valid or how empty queries behave.

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: searching store policies such as privacy, refund, terms of service, and SLA. It is distinguishable from sibling commerce tools like get_order or search_catalog. However, it omits the FAQ coverage implied by the tool name, so an agent cannot tell from the description that it also searches FAQs.

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 example search_shop_policies_and_faqs(query='refund') gives a concrete usage cue, implying the tool should be used for policy-related lookups. But there is no explicit when-to-use guidance, no exclusions, and no named alternative for non-policy searches.

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.