Skip to main content
Glama

focused_analyze_image

Analyze specific aspects of an image—such as text, faces, objects, colors, or layout—using focused prompts to extract targeted visual details.

Instructions

Analyze specific aspects of an image with focused prompts

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "image_path": "<image_path>"
    },
    "name": "focused_analyze_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoSpecific model to use (optional - overrides environment default)
promptNoCustom prompt for focused analysis (overrides focus_area if provided)
providerNoAI provider to use (openrouter or gemini). If not specified, will auto-detect based on available API keys
focus_areaNoSpecific area to focus on (e.g., "text", "faces", "objects", "colors", "layout")
image_pathYesPath to the image file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, yet it says nothing about provider/API-key requirements, cost, latency, model selection consequences, or what the analysis returns. For an external-AI-calling tool this is a substantial gap, since even basic operational traits are absent.

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?

A single front-loaded sentence with no filler or redundancy. It is efficiently written; its weakness is sparseness rather than verbosity, which is captured in the completeness score.

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

Completeness2/5

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

A 5-parameter tool with zero annotations and no output schema needs the description to explain invocation tradeoffs and expected results, and this one does neither. The schema compensates for parameter documentation, but nothing explains when this tool is the right choice over its two siblings.

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%, so every parameter (including the prompt/focus_area precedence rule and provider auto-detection) is already documented in the schema. The description adds no syntax, format, or constraint detail beyond that baseline, so the neutral 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource -- 'Analyze specific aspects of an image' -- and the 'focused prompts' phrasing implies this is a targeted variant of a generic analysis. However, it never distinguishes itself from the siblings analyze_image or describe_image, so an agent still has to guess which to pick.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance, no when-not-to-use, and no mention of the sibling tools that perform overlapping image analysis. The only cue is the word 'focused', which leaves the agent to infer the selection condition.

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