Skip to main content
Glama

get_video

Read-onlyIdempotent

Get a Canton Network video that CCPEDIA has cached (curated channels: Canton Network, Digital Asset, Sync Insights, Canton Foundation, Daml, Digital Asset Training) by its YouTube id: title, channel, publish date, description and the transcript, with the time of each passage when timings are stored. Pass query to get only the passages that mention a term, each with its time and a link that opens the video there. Pass offset to keep reading a long transcript past the first part. CANTON-ONLY and limited to videos already in CCPEDIA's index. Does NOT fetch arbitrary YouTube videos (use a dedicated YouTube tool for that). Obtain ids from list_videos or search.

Input Schema

NameRequiredDescriptionDefault
idYesYouTube video id, e.g. "dQw4w9WgXcQ"
queryNoReturn only the passages of the transcript that mention these words, each with its time and a link that opens the video at that moment. Replaces the plain read; offset is ignored.
offsetNoCharacter position to start reading the transcript from, for a long one. The response names the offset that continues the read.
transcript_charsNoTranscript characters to return. Default 12000; raise it (max 200000) for the full text, or set 0 for metadata only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "description": "Character position to start reading the transcript from, for a long one. The response names the offset that continues the read.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Return only the passages of the transcript that mention these words, each with its time and a link that opens the video at that moment. Replaces the plain read; offset is ignored.",
      +  "maxLength": 200,
      +  "minLength": 2,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changed
    • addedInput schema / properties / transcript_chars
      Added value: +{
      +  "default": 12000,
      +  "description": "Transcript characters to return. Default 12000; raise it (max 200000) for the full text, or set 0 for metadata only.",
      +  "maximum": 200000,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  4. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false, so the safety profile is covered structurally. The description still adds real behavior context beyond that: it discloses the index restriction, the conditional transcript timings ('when timings are stored'), and that query mode bypasses the normal read. It does not, however, say what happens for an id outside the index (error vs empty) or how large transcripts are actually chunked in the response beyond the offset mechanism.

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 resource and the payload, then conditions, then the exclusion — a sensible order with no filler sentences. It is one very dense paragraph, though, and the channel list plus the repeated enumeration of returned fields makes it heavier than necessary for scanning.

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?

No output schema exists, so the description carries the return-value burden and does so fully: fields returned, timing behavior, passage-level links when query is used, and continuation via offset. For a 4-parameter read-only lookup limited to an internal index, an agent has everything needed to call it correctly.

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 one step above by explaining the interaction semantics — that query 'replaces the plain read' and that offset exists specifically to 'keep reading a long transcript past the first part'. That said, these behaviors are largely restated from the schema's own parameter descriptions, so it does not add much genuinely new meaning.

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+resource (get a cached Canton Network video by YouTube id) plus the exact return payload (title, channel, publish date, description, transcript with timings). It also names the exact negative boundary — 'Does NOT fetch arbitrary YouTube videos' — so an agent can separate it from a generic YouTube fetch tool and from siblings like list_videos or search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('CANTON-ONLY and limited to videos already in CCPEDIA's index'), explicit when-not ('Does NOT fetch arbitrary YouTube videos (use a dedicated YouTube tool for that)'), and a prerequisite with the alternatives named ('Obtain ids from list_videos or search'). Nothing about tool selection is left to inference.

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.