Skip to main content
Glama

search_docs_chunks

Search Shopify documentation and return relevant docs and code examples to answer user prompts.

Instructions

This tool will take in the user prompt, search shopify.dev, and return relevant documentation and code examples that will help answer the user's question.

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": {
      "conversationId": "<conversationId>",
      "prompt": "<prompt>"
    },
    "name": "search_docs_chunks"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesThe search query for Shopify documentation
conversationIdYes🔗 REQUIRED: conversationId from learn_shopify_api tool. Call learn_shopify_api first if you don't have this.
max_num_resultsNoMaximum number of results to return from the search. Do not pass this when calling the tool for the first time, only use this when you want to limit the number of results deal with small context window issues.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does disclose the external data source (shopify.dev) and the shape of the results (docs and code examples), which is useful. However, it says nothing about the required learn_shopify_api prerequisite conversationId, rate limits, or whether results are ranked/snippeted — the parameter schema has to carry that prerequisite disclosure.

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 front-loaded sentence with no filler or repetition. The trailing clause 'that will help answer the user's question' is slightly redundant with 'search shopify.dev', but the description stays compact and readable.

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?

For a three-parameter read-only search tool with no output schema, the description covers the source and the return shape, so an agent can call it correctly. It omits the cross-tool dependency on learn_shopify_api (left entirely to the schema) and gives no sense of result volume or pagination behavior.

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 all three parameters are already well documented in the schema, including the conversationId prerequisite and the max_num_results guidance. The description adds only 'take in the user prompt', which mirrors the prompt parameter without new meaning; baseline 3 applies.

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?

States a specific verb and resource: searches shopify.dev and returns documentation plus code examples. That is enough to distinguish it from a write or schema-introspection tool, but it never names or contrasts with the sibling fetch_full_docs, which sounds similar enough to cause hesitation.

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?

Usage is only implied by 'help answer the user's question' — an agent can infer this is for Shopify documentation lookups, but the description gives no explicit when-to-use conditions, no exclusions, and no direction on when to prefer fetch_full_docs instead.

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