Skip to main content
Glama

search_media

Read-only

Find b-roll, clips, stills, or spoken lines across your Mac library by meaning. Use it to locate shots for a storyboard or edit before filming, or to surface an old take the user describes.

Instructions

Find footage by meaning across the whole library, on this Mac: clips by what they show ('hands typing', 'walking outside at night', 'close-up of a phone'), stills and thumbnails, and the words said in transcripts and scripts ('where I talk about pricing'). Each hit has path, kind (video, image, speech, script) and, for video and speech, 'at' (seconds into the file). A b-roll clip found by its description has 'about' (that description). Best hit first. Use it to find b-roll for a storyboard shot or an edit before asking the user to film it, and to find an old take or clip the user describes. Same search as ⌘K in the app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindsNoOnly these kinds. Omit for all.
limitNoDefault 12.
queryYesWhat to find, in plain words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this is a read-only, non-destructive, non-open-world operation, lowering the bar. The description still adds substantial value by disclosing matching semantics ('by meaning'), result ordering ('Best hit first'), and the exact return fields (path, kind, at, about) in the absence of an output schema. It stops short of covering edge cases like empty results.

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

Conciseness4/5

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

Front-loads the core purpose in the opening clause, then adds result-shape and usage detail. It is information-dense and each sentence earns its place, though the long parenthetical example lists make it slightly heavier than strictly needed.

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 semantic search tool with no output schema, the description fully covers what is searched, what each result contains (including the meaning of 'at' and 'about'), ordering, and typical use cases. Nothing an agent needs to call it correctly is missing.

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 100%, so the baseline is 3, but the description adds genuine meaning: it explains that 'query' is matched by meaning with concrete examples and maps the 'kinds' enum to observable media types. This clarifies intent beyond the terse schema text 'What to find, in plain words'.

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: 'Find footage by meaning across the whole library' and enumerates exactly what is searched (clips by scene, stills/thumbnails, and spoken/scripted words). It cleanly distinguishes itself from sibling listers like list_broll, list_music, and get_library by being a semantic search rather than an enumeration.

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 concrete when-to-use scenarios: 'find b-roll for a storyboard shot or an edit before asking the user to film it' and 'find an old take or clip the user describes', plus the 'Same search as ⌘K' anchor. It does not explicitly name alternative tools or state when not to use it, so it falls short of a 5.

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