Skip to main content
Glama

Rd Prompt Extract

rd_prompt_extract

Extract a text prompt from a reference image to reuse or adapt its style and content. Optionally provide a partial description to guide the captioning toward specific details.

Instructions

Extract a text prompt/description from a reference image (BLIP captioning, optionally guided by a partial description).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionNo
reference_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It reveals that the tool performs BLIP captioning and accepts an optional partial description, which is useful. However, it does not explicitly state whether the operation is read-only, nor does it mention any side effects or prerequisites like backend availability. For an extraction tool, the read-only nature is implied but not stated, which is a minor 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?

The description is a single, tightly written sentence that front-loads the primary action and resource. It includes the method and optional input without any filler. Every word contributes to understanding.

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 simple two-parameter tool with an output schema (which covers return format), the description is mostly complete. It explains the core function and the optional parameter. It does not mention potential errors or required runtime context, but given the low complexity, the description suffices for an agent to call it correctly.

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?

Schema coverage is 0%, so the description must compensate. It does: 'reference image' clarifies reference_path, and 'optionally guided by a partial description' directly explains the description parameter. This adds meaning beyond the schema's bare type/default. It lacks detailed constraints (e.g., supported image formats), but for two simple parameters it is adequate.

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 states the action ('Extract a text prompt/description'), the resource ('from a reference image'), and the method ('BLIP captioning'). It also mentions the optional guidance, which distinguishes it from simple captioning tools. This is specific and unambiguous, setting it apart from generation or manipulation siblings.

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?

The description implies when to use the tool (to extract a prompt from an image) but does not explicitly mention alternatives or when not to use it. It does not reference any sibling tool for contrast, leaving the agent to infer usage from the verb 'extract'. No exclusion conditions or alternative routing are provided.

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