Skip to main content
Glama

Search the project's footage

search_footage

Find moments in the project's videos by what they show or sound like, in plain words (a dog leaping, a car window, a laugh). Answers the best moments with the Asset ID, file name and source seconds (5 s windows; back-to-back windows of one video that both match are one moment of up to 20 s), and a score for each whole video; look at them closely with inspect_media or read_asset before you choose. The first call reads every video of the project not read yet, which takes about a minute; later calls only read the query. It uses no extra credits. Scores are similarities: compare them only within one search.

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": {
      "query": "<query>",
      "top": "<top>",
      "projectId": "<projectId>"
    },
    "name": "search_footage"
  }
}

Input Schema

NameRequiredDescriptionDefault
topYesHow many results, 1–30. null gives 8.
queryYesWhat to find, in plain words: what it shows or sounds like.
projectIdYesThe project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

The description adds substantial behavior beyond annotations: first-call indexing latency (~1 minute), 'uses no extra credits', windowing semantics (5 s windows merging into up to 20 s moments), and the warning that scores are similarities comparable only within one search. It also implicitly explains why readOnlyHint/idempotentHint are false (the first call reads and indexes unread videos). It does not, however, cover limits on how much footage can be indexed, what happens on failure, or whether re-running costs another indexing pass.

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?

Purpose is front-loaded in the first sentence and each subsequent sentence carries distinct information (return shape, follow-up tools, cost/latency, score comparability). The dense parenthetical about 5 s and 20 s windows is somewhat hard to parse in a single pass, and the result-shape and workflow sentences could be split for readability.

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?

With no output schema, the description carries the burden of describing returns and does so fully: Asset ID, file name, source seconds, per-video score, and the merged-moment windowing rule. Latency, credit cost, and score-comparability caveats round out what an agent needs to call and interpret it correctly.

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 description coverage is 100%, so the schema already explains query, top (1–30, null gives 8) and projectId semantics. The description reinforces the query phrasing ('in plain words') and clarifies that results are scored per video, but adds no new syntax, defaults, or constraints beyond the schema — baseline 3.

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 opening sentence gives a specific verb and resource — find moments in the project's videos by what they show or sound like — plus the query modality (plain words, with concrete examples like 'a dog leaping'). It is clear what the tool does, but it never explicitly contrasts itself with other search siblings, so the agent must infer that this is content-based moment search rather than asset/analysis search.

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?

It gives clear downstream routing — 'look at them closely with inspect_media or read_asset before you choose' — and warns that the first call reads every unread video (~1 minute) while later calls only read the query. What is missing is any when-not-to-use guidance or an explicit alternative for text/metadata lookups, so the agent gets context but no exclusions.

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.