Skip to main content
Glama

Check section

check_section
Read-onlyIdempotent

Checks whether a section from install_section is on a page of the theme, saved: where it sits, what is above and below it, and whether it's hidden. By default it reads the page install_section was for; pass template (like index, product, product.linen or page.contact) to read another.

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": {
      "installed_as": "<installed_as>"
    },
    "name": "check_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
productNoFor a product page: the product, by id or handle. Previews show the section on it and the editor link opens it.
templateNoA template name like index, product, collection, page.contact or product.linen. Default: the page install_section was for.
theme_idNoA theme id from list_themes. Default: the live theme.
installed_asYesinstalled_as from install_section, like ss-faq-20--faq-linen-shirt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the shape of the answer: whether the section is present, where it sits, its neighbours, and whether it is hidden. It does not say what happens when the section is absent, but the 'checks whether' framing implies a negative result rather than an error.

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 sentences, both earning their place: the first defines the check and its outputs, the second defines the scoping default and override. The core purpose is front-loaded and there is no redundant restatement of the title.

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 carries the burden of explaining results and does so by enumerating what is reported. For a read-only lookup with fully documented parameters this is close to complete; only the not-found behaviour is unaddressed.

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 four parameters are already documented, including the default for template and theme_id. The description reinforces the template default and gives example template names, but adds little syntax or meaning not already in the schema, so the baseline of 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?

The description gives a specific verb ('Checks') and a specific object (a section created by install_section, on a page of the theme), and it names the concrete facts returned: position, neighbours above and below, and hidden status. It ties itself to install_section by referencing its installed_as output, but it does not differentiate itself from get_section or check_storefront, so sibling disambiguation is only partial.

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?

It states the default scope (the page install_section was for) and the override path (pass template like index, product, product.linen or page.contact), which is genuinely useful context for choosing arguments. However, it gives no guidance on when to pick this tool over get_section or render_section_preview, and no exclusions or prerequisites.

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