Skip to main content
Glama

Check an operation

get_prediction
Read-onlyIdempotent

Check an operation started by generate_photo, edit_image, or create_video. Returns the state and, once finished, the result URL.

Requires a connected Photo AI Studio account. Calling this tool starts the sign-in flow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prediction_idYesThe prediction_id returned when the operation started

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The description adds valuable behavioral context beyond the annotations: it requires a connected Photo AI Studio account and warns that calling the tool can start the sign-in flow. This is non-obvious side-effect information that the readOnly/idempotent hints do not convey. There is no direct contradiction with the annotations.

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 compact and front-loaded: the first sentence states the core purpose and return value, and the second sentence adds only the essential auth caveat. There is no redundant or filler content.

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?

For a one-parameter read-only polling tool, the description covers what the operation is, how to identify it, what the tool returns, the account prerequisite, and the sign-in side effect. The lack of an output schema is adequately compensated by the explicit statement that it returns the state and result URL.

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?

The single parameter prediction_id is already fully documented in the input schema with the same provenance information ('returned when the operation started'). Since schema description coverage is 100%, the description does not add meaningful parameter-level detail beyond the baseline.

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 clearly states a specific action — checking an operation started by generate_photo, edit_image, or create_video — and the expected result (state and result URL). It is distinct from the sibling list_predictions by focusing on a single operation, though it does not explicitly name that sibling or draw the contrast.

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?

The description explicitly identifies when to use the tool: after an asynchronous operation has been started and you need its state or finished result URL. It also notes the account requirement and sign-in flow, but it does not mention alternative tools such as list_predictions or state when not to use this tool.

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.2/5.0
Disambiguation4/5

Most tools are clearly distinct by resource and action, but browse_themes and list_photo_themes have overlapping names and both deal with themes, requiring careful description reading to pick correctly. The other informational tools (get_api_capabilities, get_service_overview, get_pricing) are also similar in style but serve clearly different purposes.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (browse, create, edit, generate, get, list, upload). There are no style mixes or vague verbs, making the naming predictable and easy to navigate.

Tool Count5/5

With 12 tools, the set is well within the ideal 3–15 range and each tool earns its place by covering a distinct part of the photo/video generation workflow, from uploading and generating to checking predictions and managing account/cost information.

Completeness5/5

The tool surface covers the full generation lifecycle: upload, generate/edit/video, poll results, list history, account status, pricing, themes, and API guidance. There are no obvious dead ends or missing operations that would prevent an agent from completing a realistic photo editing or generation workflow.

Resources