Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

read_cached_result

Read-only

Retrieve a portion of a large cached result from another tool by specifying offset and length; the response provides next offset and remaining characters to page through data.

Instructions

Read a slice of a large cached result produced by another tool (look for "cached":true + a cache_id in its output). Page through with offset/length; the response reports next_offset + remaining_chars until done.

Input Schema

NameRequiredDescriptionDefault
lengthNoNumber of characters to return (default 12000)
offsetNoStart character offset (default 0)
cache_idYesThe cache_id returned by the producing tool (e.g. "cache-3")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.31.8

TDQS

A4.2/5.0
Behavior4/5

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

readOnlyHint already declares the safe read profile, so the description's value-add is pagination behavior: offset/length paging and the next_offset + remaining_chars continuation signal. That is genuinely useful behavioral context beyond the annotation, though it doesn't cover e.g. cache expiry or error behavior.

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 tight sentences with no waste; the core purpose is front-loaded and the paging mechanics follow immediately. Every clause earns its place.

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?

There is no output schema, but the description compensates by describing the continuation fields (next_offset, remaining_chars) that tell the agent when paging is done. Remaining gaps like cache lifetime or slice size limits are minor.

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 coverage is 100%, so cache_id, offset, and length are already documented with defaults. The description only restates that offset/length drive paging, adding little semantic detail beyond the schema, so the baseline 3 applies.

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?

"Read a slice of a large cached result produced by another tool" gives a specific verb (read), resource (cached result), and scope (a slice). It clearly distinguishes itself from list_cached_results by being about reading content rather than enumerating cached items.

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 states the trigger condition precisely (look for "cached":true + a cache_id in another tool's output) and explains the paging loop. It doesn't explicitly contrast against list_cached_results or say when-not to use it, but the context for invocation is clear.

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

Deploy Server

Other Tools