Skip to main content
Glama

Find moments in a video

find_moments

Searches what is SAID in one video and returns the moments that match, each with a title, start and end in seconds (cut on whole sentences), why it matches and what is said in it. It searches by MEANING, and it also follows how the person wants the cut, said in the same query ("start right at the answer, no greeting", "30 seconds at most", "end on the punchline"). Describe what you want in plain words ("where she talks about pricing", "the funniest story", "every time they mention Messi"). Use create_clip to turn a moment into a clip. Counts against the per-video search limit of the plan.

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": {
      "video_id": "<video_id>",
      "query": "<query>"
    },
    "name": "find_moments"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many moments at most.
queryYesWhat to look for, in any language.
video_idYesVideo id, as returned by list_videos (the dashboard URL id).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations it discloses that matching is semantic rather than keyword, that boundaries are cut on whole sentences, that query text can encode editing instructions, and that calls consume a per-video plan quota (which usefully explains the non-read-only hint). It does not cover behavior on quota exhaustion or how many moments are typically returned versus requested.

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-loaded with the core behavior and return shape, then guidance, then routing, then quota. Dense but almost every clause carries information; the repeated "describe what you want in plain words" framing plus three examples is slightly redundant with the earlier cut-instruction examples.

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?

With no output schema, the description competently enumerates the returned fields (title, second-precision start/end, match rationale, transcript snippet) and points to the natural next tool. Minor gaps remain: no note on what an empty result looks like or what happens when the per-video search limit is hit.

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; the description earns more by explaining that query is a natural-language meaning search that can also carry cut directives ("start right at the answer", "30 seconds at most"), which is meaning the schema's "What to look for" does not convey.

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?

"Searches what is SAID in one video and returns the moments that match" names a specific verb, a specific resource (single video's speech), and the exact return shape (title, start/end seconds, match reason, spoken text). The "SAID" emphasis and "in one video" scoping separate it from a whole-library search like search_videos or a raw get_transcript.

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 query examples ("where she talks about pricing", "the funniest story") and an explicit follow-up route ("Use create_clip to turn a moment into a clip"), plus the quota caveat. It stops short of stating exclusions, e.g. when to prefer get_transcript or search_videos instead.

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