Skip to main content
Glama

What prompt made this image? Read the saved prompt

extract_saved_prompt
Read-onlyIdempotent

Read the prompt, negative prompt, model and settings saved inside an image by AUTOMATIC1111, ComfyUI (including Flux workflows), InvokeAI or NovelAI. Only reads records stored in the file; it never reconstructs or guesses a prompt. Screenshots and re-uploads usually remove these records. Docs: https://isgenai.com/developers/mcp

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "extract_saved_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoDirect public URL of the original image file.
image_base64NoFile bytes as base64 or a data: URL, up to 20 MiB decoded. Prefer url when the file is public.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and openWorld, so the safety profile is free. The description adds the non-obvious behavioral traits instead: it only surfaces metadata physically embedded in the file, will silently fail on screenshot/re-upload sources, and points to external docs for detail. Return shape is only implied (a field list), which is the one remaining gap.

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?

Three sentences, front-loaded with what is extracted, then the honesty constraint, then the failure mode, then a docs link. No filler, no repetition of the title, and the most decision-relevant limitation is not buried.

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?

For a two-optional-parameter read tool with no output schema, this covers sources, limits and failure conditions well, and the field list partially substitutes for a missing output schema. The main omission is that a likely-empty result on low-confidence extractions is not spelled out explicitly.

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%, and the schema itself explains both url and image_base64 including the 'prefer url when the file is public' preference and the 20 MiB limit. The description adds nothing about either parameter, so the baseline 3 is the correct ceiling here.

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 a concrete verb and resource ('Read the prompt, negative prompt, model and settings saved inside an image') and enumerates the exact producer formats supported (AUTOMATIC1111, ComfyUI including Flux workflows, InvokeAI, NovelAI). This is specific enough that an agent can tell it apart from check_image and check_url without opening any schema.

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?

Gives real when-not guidance: 'Screenshots and re-uploads usually remove these records' tells the agent when this tool will return nothing, and 'never reconstructs or guesses a prompt' sets expectations for a null result. It stops short of naming a sibling alternative for those cases, which keeps it out of 5 territory.

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.