Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

fetch_images_for_alt_fill

Fetch images missing alt text with their element metadata in one response, so you can draft all alt texts and submit them together using set_image_alts.

Instructions

One-shot helper for filling image_alt across the site. Returns image bytes + element metadata in a single response so Claude can describe everything in one pass, then call set_image_alts once.

Workflow:

  1. Call this tool with scope/limit.

  2. Tool returns each image inline with its element_id + source_type + source_id.

  3. Claude reads images, drafts an alt for each, then calls set_image_alts(items) once with the template at the end of the response.

The pre-built "items" template at the end contains placeholders — fill in "alt" and call set_image_alts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax images per call (cap 20)
scopeNoall
page_idNo
max_size_mbNo
only_missing_altNoDefault true — skip elements that already have alt
Behavior3/5

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

With no annotations, the description carries the burden for behavioral disclosure. It explains the return contents (image bytes, element_id, source_type, source_id) and the pre-built items template, but it does not explicitly state whether the operation has side effects, requires authentication, or has payload/rate constraints.

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 well-structured with a summary and numbered workflow, making it easy to follow. However, the final sentence redundantly restates the step 3 instruction about filling placeholders, so it is not maximally concise.

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

Completeness3/5

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

The workflow and return format are clearly explained, which is good for a single-purpose helper. But missing parameter semantics, no output schema, and no mention of edge cases or failure behavior leave notable gaps for an agent to safely invoke this tool in all situations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%, with page_id, max_size_mb, and scope lacking descriptions in the schema. The description only mentions using 'scope/limit' and never explains the meaning of the enum values or the other parameters, so it fails to compensate for the low schema coverage.

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 clearly identifies the tool as a one-shot helper for filling image_alt, returning image bytes and element metadata, and distinguishes it from siblings like read_images and set_image_alts by prescribing a specific workflow. The verb 'fetch' plus 'images_for_alt_fill' makes the purpose unambiguous.

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?

Provides explicit workflow context: call with scope/limit, receive images and metadata, draft alts, then call set_image_alts once. This effectively tells when to use the tool, though it does not explicitly mention alternatives or when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vuluu2k/webcake-storefront-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server