Skip to main content
Glama

Search sections

search_sections
Read-onlyIdempotent

Finds ready-made Section Store sections for the store's pages: heroes, reviews, FAQs, size charts, countdowns, comparison tables and more. Send 1 to 6 short English phrasings of one need, like "size chart", "size guide" and "fit guide". A section that matches more of them ranks higher. Each result says what the section shows, the pages it suits, whether the store can install it, and links to a cover picture and the section in the app. Only sections the store can install show, unless include_unavailable is true. get_section shows one up close.

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": {
      "queries": "<queries>"
    },
    "name": "search_sections"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoOnly sections that suit this page.
queriesYes1 to 6 short English phrasings of the same need, 1 to 3 words each. Example: ["before after", "image comparison", "comparison slider"].
owned_onlyNoOnly sections the store already has.
include_unavailableNoAlso show sections the merchant would get in the app. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world behavior, and the description adds genuinely new behavior: multi-query ranking ('matches more of them ranks higher'), the default filter that hides uninstallable sections unless include_unavailable is true, and the shape of each result (what it shows, suitable pages, installability, cover picture and app links). It omits any result-count, pagination, or limit information, which keeps it short of a 5.

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?

Purpose, usage, ranking, result contents, and the default filter appear in that order with no filler. The opening catalog of section types ('heroes, reviews, FAQs, size charts, countdowns, comparison tables and more') is the one mildly expendable phrase.

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?

With four parameters, full schema coverage, and safety annotations, the definition supplies what an agent needs: how to phrase queries, how results are ranked and filtered, what each result contains, and where to go next. The absence of an output schema is partly offset by the result description, though pagination or result-limit behavior remains unstated.

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 description coverage is 100%, so baseline is 3, but the description adds meaning the schema cannot: that the phrasings should describe one single need and that agreement across them drives ranking. The page and owned_only parameters are left to the schema, which already documents them adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Finds ready-made Section Store sections for the store's pages') and enumerates the content types covered. It also distinguishes itself from the sibling get_section, which 'shows one up close', so an agent can tell the search and drill-down tools apart without opening a schema.

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?

It gives concrete usage instructions for the required parameter (send 1 to 6 short English phrasings of one need, with worked examples) and routes to get_section for detail on a single result. It does not state explicit exclusions or when not to use it, but the search-then-fetch workflow is clear.

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.

Resources