Skip to main content
Glama

Look up a video

lookup_media
Idempotent

Read a YouTube, Vimeo, or Loom link to fetch its title, author, and stored poster for video notes, so browsers contact the video host only on play.

Instructions

Read a YouTube, Vimeo or Loom link: its title, author and a stored poster, ready for a video note.

Video info. Read a YouTube, Vimeo or Loom address: the video's host, id, canonical address, start time, title and author, and its poster picture stored in this app (so people's browsers reach the video host only when they press play). Pass the answer as media in an add_nodes operation (count 1), or call slates.addMedia to look up and add in one step. When the host shares no title or picture the video still comes back, with a notice. Any other address is refused with 400 not_a_video. At most 60 new videos per person per hour.

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": {
      "url": "<url>"
    },
    "name": "lookup_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe video's address: a YouTube, Vimeo or Loom link.
confirmNoThe confirmation id from a confirmation_required result, once the person agreed.
idempotencyKeyNoSend with confirm: the idempotencyKey from the confirmation_required result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A4.3/5.0
Behavior5/5

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

Despite readOnlyHint=false, the description supplies the missing reason: the poster picture is stored in this app, explaining the write side of a lookup. It also discloses the degradation path when a host shares no title or picture, the exact failure (400 not_a_video), and a concrete rate limit of 60 new videos per person per hour — none of which the annotations carry.

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

Conciseness3/5

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

The lead sentence and the body then repeat the same content ("Read a YouTube, Vimeo or Loom link" / "Read a YouTube, Vimeo or Loom address"), which is duplicated rather than front-loaded. The remaining sentences are dense with useful facts, so the waste is limited to that redundant opening.

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 takes on the burden of describing the return shape and does so field by field (host, id, canonical address, start time, title, author, stored poster). Combined with error behavior, rate limits, and the downstream usage instruction, 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so url, confirm, and idempotencyKey are documented in structured form, making 3 the baseline. The description adds host-domain meaning for url but never mentions the confirmation/idempotency flow, so it does not exceed what the schema already conveys.

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?

"Read a YouTube, Vimeo or Loom link: its title, author and a stored poster" names a specific verb plus resource, enumerates the accepted hosts, and states the value it produces (media ready for a video note). It is clearly distinguishable from add_media_note or add_media_note-style siblings because it only resolves metadata rather than creating the note.

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 tells the agent what to do with the result ("Pass the answer as media in an add_nodes operation (count 1)") and names a one-step alternative ("call slates.addMedia to look up and add in one step"), which is real routing guidance. It lacks an explicit when-not-to-use statement beyond the unsupported-host case, 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.

Deploy Server

Other Tools