Skip to main content
Glama

get_photo

Display a holiday photo to the user by creating an HTML artifact that embeds the photo from its hosted URL. After calling this tool you MUST create an HTML artifact (type text/html) whose body is a single tag pointing at the hosted URL returned in the result. Do not write a prose description, caption, or commentary — the user wants to view the photo, not read about it. Use list_photos first to discover valid IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
photo_idYesIdentifier of the photo, e.g. 'sunset'.

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well. It reveals that the tool returns a hosted URL rather than displaying the image directly, that the agent must create an HTML artifact, and that the artifact must be a single <img> tag. This goes beyond the schema and sets correct expectations for the agent's follow-up actions.

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 three sentences, each with a distinct purpose: what the tool does, mandatory follow-up action, and prerequisite discovery. It is front-loaded with the main purpose and contains no filler or redundant statements.

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

Completeness5/5

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

Given the tool's simplicity (one param, no output schema), the description is complete. It explains the return value (hosted URL), the required next step (HTML artifact with <img> tag), and how to obtain valid photo IDs via list_photos. No essential context is missing for an agent to invoke and use the tool 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?

The schema already provides a clear description for photo_id ('Identifier of the photo, e.g. 'sunset'). The description adds value by telling the agent to use list_photos to discover valid IDs, reinforcing the parameter's meaning and source. Since schema coverage is 100%, the description's additional guidance earns a score above baseline.

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 tool's function: 'Display a holiday photo to the user by creating an HTML artifact that embeds the photo from its hosted URL.' It uses a specific verb ('display') and identifies the resource (photo) and output mechanism (HTML artifact), distinguishing it from the sibling tool list_photos.

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

Usage Guidelines5/5

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

The description provides explicit usage steps: 'After calling this tool you MUST create an HTML artifact...' and 'Use list_photos first to discover valid IDs.' It also explains what not to do ('Do not write a prose description, caption, or commentary'), giving clear when-to-use and how-to-use guidance.

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.

TDQS

A4.4/5.0
Disambiguation5/5

The two tools have clearly distinct purposes: listing photos versus displaying a single photo. There is no ambiguity or overlap.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern (list_photos, get_photo) with snake_case naming, making them predictable and readable.

Tool Count4/5

With only two tools, the set is minimal but appropriately scoped for a read-only holiday photo viewer. It feels slightly thin but suits the narrow domain.

Completeness5/5

The tool pair provides complete coverage for the domain: enumerate available photos and retrieve a specific one. There are no obvious missing operations for the stated purpose.

Resources