Skip to main content
Glama

shop_page

Fetch a storefront page as a visitor sees it, save its HTML, and retrieve status, size, title, and fragments matching your find text. Add debug for a parser report.

Instructions

Fetch a page of THIS store as a visitor sees it and save the HTML under mcp/melbis/pages/. Answers status, size, title and then the fragments matching find - or the head of the page when neither find nor debug is given - read the saved file for the rest. Mind two things: a save drops the cache of the module the file belongs to, its views included, and nothing else - the rest is cleared by hand; and this is markup, not a picture - how it LOOKS is still for the owner to say. debug=true adds the parser report: timings, SQL count, cache state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
findNoShow the fragments containing this text instead of the head of the page.
pathNoAddress part, for example /catalog/; / by default. Query string allowed.
postNoFields of a form, sent as a visitor sends them - this turns the read into a POST. It is how the storefront is driven: a basket filled, a request left, a review written. ALWAYS AGREE WITH THE OWNER FIRST and say what you will send and where: unlike a page read, this leaves real rows in the store and may email the manager. The cookies of a post are kept for this session, so a sequence of them is one visitor; a plain read is always a fresh visit.
debugNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.5.1

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the whole disclosure burden and does so thoroughly: it reveals file saving, module-cache invalidation, the markup-not-picture caveat, POST side effects on database and email, session-cookie persistence for POST sequences, fresh-visit behavior for plain reads, and the debug parser report. This is exceptionally candid about effects an agent cannot infer from the schema.

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?

The description is dense but well-ordered: action, save location, output shape, then caveats. It avoids repeating schema text, though phrases like 'the rest is cleared by hand' and the run-on sentence structure make it slightly harder to parse than necessary.

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

Completeness5/5

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

Given no annotations and no output schema, the description is remarkably complete: it explains return content, file persistence, side effects, session behavior, debug output, and the practical meaning of markup versus visual appearance. An agent has enough context to invoke the tool safely and interpret its results.

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?

The schema already documents find, path, and post, so the description doesn't need to restate them. It adds crucial semantics by explaining that post changes a read into a visitor-submitted form with real store side effects and cookie persistence, and it provides the only explanation of the otherwise undocumented debug parameter. This meaningfully exceeds the schema baseline.

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?

States the operation precisely: fetch a store page as a visitor sees it, save the HTML under mcp/melbis/pages/, and answer with status, size, title, and either matching fragments or the page head. This clearly separates it from sibling engine_* and shop_download tools by emphasizing the rendered visitor view, file save, and summary output.

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?

The description gives clear contextual guidance: use it for visitor-visible storefront pages, and use POSTs to drive storefront flows like filling a basket or writing a review. It also warns when to avoid POST without owner consent, though it never names an alternative tool or gives an explicit 'when not to use this' condition.

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