Skip to main content
Glama

analyze_style

Read-onlyIdempotent

Extracts photographic style measurements—tone histogram and grain size—from a reference image to guide style matching.

Instructions

Detailed photographic style measurements of a (reference) image incl. tone histogram and grain size.

Input Schema

NameRequiredDescriptionDefault
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world behavior, so safety is covered. The description adds useful output content (tone histogram, grain size) but says nothing about supported formats, cost, or the shape of the returned measurements.

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?

One front-loaded sentence with no filler, and the key noun phrase leads. The fragment style and 'incl.' abbreviation keep it from a perfect 5, but there is no wasted content.

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?

For a read-only, single-parameter analysis tool with annotations already covering safety, the description gives partial return-value detail. With no output schema, it should say more about the measurements returned and how they relate to downstream tools like match_style.

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?

The single required 'path' parameter has 0% schema description coverage, so the description must carry the burden. Saying 'of a (reference) image' only indirectly suggests path points to an image; it does not clarify whether it is a filesystem path, URL, or open-image handle.

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?

The description states a specific verb and resource: it measures photographic style of an image and names two concrete outputs (tone histogram, grain size). It does not explicitly differentiate from siblings like inspect_image or match_style, so it falls short of a 5.

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 parenthetical '(reference) image' implies the tool is used to characterize a reference before matching, but there is no explicit when-to-use guidance or named alternative such as match_style or inspect_image. Usage is only implied.

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