Skip to main content
Glama

get_best_sections

Identify important sections and highlights in a YouTube video, returning timestamped titles and reasons so you can focus on the moments that matter.

Instructions

Identify the most important sections/highlights of a YouTube video.

Returns timestamped sections with titles and reasons for their importance. Costs 5 credits.

Args: video_url: YouTube video URL or video ID num_sections: Number of sections to identify (1-10, default: 5)

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_url": "<video_url>"
    },
    "name": "get_best_sections"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_urlYes
num_sectionsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the output shape and an explicit cost of 5 credits, which is real behavioral value, but says nothing about preconditions (e.g., whether the video must have captions), failure modes, or latency.

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 action, then output shape, then cost, then args — a sensible order with no filler. The Args block is mildly duplicative of the schema but stays short.

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?

For a low-complexity, two-parameter tool with an output schema, the description covers purpose, return shape, cost, and both parameters. The main missing piece is routing guidance against siblings like summarize_video or get_transcript.

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 description coverage is 0%, so the description must compensate, and it largely does: video_url accepts a URL or a video ID, and num_sections is bounded to 1-10 with a default of 5. The range constraint is genuinely additive beyond the bare schema, though it does not say what happens if the value is out of range.

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?

States a specific verb and resource: identifying the most important sections/highlights of a YouTube video, with the return shape (timestamped sections with titles and reasons) made explicit. It is distinguishable from summarize_video or get_transcript by focusing on section extraction, though it never explicitly contrasts itself with those siblings.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no alternative is named. The agent must infer from the purpose line that this is for locating highlights rather than summarizing or transcribing, which is implied usage only.

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