Skip to main content
Glama

Get Media

aidelly_get_media
Read-onlyIdempotent

Get one media library item by id, with a fresh signed_url that expires after one hour. Ids must be copied exactly from aidelly_list_media or an upload result. To attach it, pass the id as content.media[].media_id (or the bare UUID) when creating a post; the whole item is not a valid media entry.

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": "aidelly_get_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
queryNoOptional query overrides for endpoints with sparse parameter schemas.
brand_idNo
workspace_idNoWorkspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds genuinely new behavior: the returned signed_url is freshly minted and expires after one hour, which materially affects how an agent should cache or reuse the result. It does not describe the rest of the item payload, but with no output schema that is a minor gap rather than a contradiction.

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?

Three tight sentences, front-loaded with the action and the most perishable fact (one-hour signed_url), followed by the id-provenance constraint and the downstream usage caveat. No filler and nothing repeated from the schema or annotations.

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

Completeness4/5

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

For a single-item getter whose safety profile is already in annotations, the description covers the two things an agent most needs: where the id comes from and that the signed_url is short-lived. The one remaining gap is the shape of the returned item beyond signed_url, which no output schema documents.

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?

Schema coverage is only 50% (query and brand_id are undocumented in both places), so the description carries real weight here. It adds semantics the schema cannot: the id is a media-library identifier that must be copied exactly from a listing or upload result, not an arbitrary UUID, and it names the exact field path where the id is later used.

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?

States a specific verb and resource ('Get one media library item by id') and immediately distinguishes itself from the list sibling by tying ids to aidelly_list_media or an upload result. It also names a distinguishing output trait (fresh signed_url) so an agent can tell it apart from a plain listing call.

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?

Gives a clear precondition for use — you must already hold an exact id from aidelly_list_media or an upload result — which implicitly routes enumeration to the sibling. It also warns how the result must be consumed downstream (content.media[].media_id, not the whole item). It stops short of an explicit 'do not call this to list' statement.

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.