Skip to main content
Glama

Get AI Media

get_ai_media
Read-onlyIdempotent

One AI still or clip. A clip's url is set once status is completed.

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": {
      "id": "<id>"
    },
    "name": "get_ai_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
kindNo
shotNo
errorNo
modelNo
sceneNo
widthNo
heightNo
presetNo
promptNo
statusNo
createdAtNo
styleNoteNo
resolutionNo
aiGeneratedNo
aspectRatioNo
completedAtNo
durationSecNo
sourceStillIdNo
studioProjectIdNo
digitalSourceTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds real behavioral context beyond them: a clip's url is only populated once status is completed, implying the agent may need to poll. It does not say what is returned before completion or what happens with an invalid id.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler, and the ordering is sensible. However, the terseness comes at the cost of the missing information noted above, so it reads as under-specified rather than efficiently complete.

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?

An output schema exists, so return shape need not be explained. Still, for a fetch tool whose key nuance is the completed-status gating of a clip's url, the definition omits id provenance, pre-completion behavior, and error cases, leaving the agent to guess.

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?

Schema description coverage is 0% and there is one required parameter, so the description must carry the burden. It never explains what the id refers to (media id vs. job id) or where to obtain it, adding almost no meaning beyond the bare schema property.

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

Purpose3/5

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

"One AI still or clip" identifies the resource and its singular scope, which implicitly separates it from the sibling list_ai_media. But it is a bare noun phrase with no verb, so the agent must infer that this fetches a single media item rather than describing or transforming it.

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 mention of where the required id comes from (e.g. list_ai_media or generate_ai_stills), and no statement of when-not to use it. The only implied routing signal is the singular vs. list contrast against a sibling.

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.

Resources