Skip to main content
Glama

Get section

get_section
Read-onlyIdempotent

Returns one section: each setting's and block's id, type, label, default, and options or range; what fills it and where the store keeps that (needs); whether the store can install it; and pictures: the cover, then live stores using it. Photo settings take a store file or a cdn.shopify.com photo URL; link settings take a store path or an https link. Product and collection settings take a handle or an id.

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": {
      "section": "<section>"
    },
    "name": "get_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionYesA section's file name from search_sections, like ss-faq-20.
picturesNoHow many pictures to show, 0 to 5. Default 2.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by explaining picture ordering ('the cover, then live stores using it') and the accepted value formats for photo, link, product and collection settings. It does not cover failure behavior or what happens with an unknown section name.

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?

Front-loaded with the verb and resource, and every clause carries information about the return payload rather than filler. The middle sentence is a long semicolon-separated run-on that is harder to parse than a short list would be, which keeps it below a 5.

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 no output schema, the description bears the burden of describing the return shape and does so thoroughly for a simple two-parameter read tool. Gaps are minor: no mention of error/not-found behavior and no explicit tie to the sibling tools that consume or modify the same section.

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 both parameters are already documented, and the baseline of 3 applies. The description adds only a partial gloss on the pictures parameter ordering; the accepted-value-format sentences describe returned setting content, not the input parameters, so they do not deepen parameter semantics.

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?

'Returns one section' names a specific verb and resource, and the rest of the description enumerates exactly what the returned object contains (ids, types, labels, defaults, options/ranges, needs, installability, pictures). It is unambiguous what the tool does, though it never names a sibling such as check_section or render_section_preview to distinguish when this is the right retrieval call.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance. The reader must infer from the enumerated contents that this is the inspection call, and nothing points to alternatives or prerequisites (for example, whether the section must already exist or be installed).

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