Skip to main content
Glama

add_media

Store an image, video or audio file from a local path or public URL into shared long-term memory, with shots, captions, speech and speakers analyzed before it returns.

Instructions

Store an image, video or audio file: a path on this machine or a public url. Shots, captions, speech and speakers are worked out before it returns (minutes for a long video).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
pathNo
titleNo
custom_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and it delivers the single most important behavior: extraction of shots, captions, speech and speakers happens synchronously before the call returns, and long videos cost minutes. It still omits whether re-adding the same file deduplicates, and what failure looks like for an unreachable URL.

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?

Two sentences, both front-loaded with the load-bearing information — what it accepts first, the synchronous extraction cost second. No filler, no restatement of the tool name.

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?

The presence of an output schema excuses it from describing return values, and the latency disclosure covers the riskiest behavior. For a tool with four undocumented parameters and zero annotation coverage, though, the silent `title` and `custom_id` and the unstated path-vs-url relationship leave real gaps.

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?

Schema coverage is 0%, so the description must compensate, and it partially does by characterizing `path` as a machine-local path and `url` as requiring public accessibility — meaning beyond the bare `string` type. It says nothing about the `title` or `custom_id` parameters, and does not state whether `path` and `url` are alternatives or can be combined despite neither being required.

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 pairs a specific verb ("Store") with a concrete resource set ("image, video or audio file") and names the two accepted sources, a local `path` or a public `url`. This clearly separates it from add_document and add_memory by media type, though it never explicitly states that routing rule.

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?

Usage is implied by the two accepted input shapes (local file vs. public URL), which is enough to know when this is the right call. It gives no exclusions, no mention of when a sibling like add_document is preferable, and no note about credentials or access needed for a private URL.

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