Skip to main content
Glama

Get youtube import

get_youtube_import
Read-only

Read the status of an existing YouTube audio import. Waits up to 20 seconds during active work. Keep checking this same import in the current turn while active. When ready, use get_karaoke with the returned project_id. Discuss the current price and visual wishes in chat before requesting confirmation. If the import failed, explain the reason and offer the MP3 route. Do not requeue it automatically.

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": {
      "import_id": "<import_id>"
    },
    "name": "get_youtube_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
import_idYes

Output Schema

NameRequiredDescriptionDefault
errorNo
stageNo
statusNo
import_idNo
can_cancelNo
error_codeNo
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: a long-poll of up to 20 seconds, the fact that repeated calls should target the same import, and the failure branch. Annotations already cover the safe-read profile (readOnlyHint=true, destructiveHint=false), so this is meaningful incremental context. Minor gap: no statement about rate limiting or what the status field values look like, though an output schema exists.

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?

Short, front-loaded sentences with the polling behavior stated first and next steps after. The pricing/visual-wishes/confirmation sentence sits outside the scope of reading import status and adds flow context at the cost of focus, but most sentences earn their place.

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 single-parameter read tool with an output schema, this covers the essentials: polling semantics, timeout, success handoff, and failure handling. Only the provenance/format of import_id is unaddressed, which the schema pattern partially covers.

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?

Only one parameter and schema coverage is 0%, so the description carries some burden. 'This same import' implies import_id must be reused across polls, which is a useful semantic hint. However, the 32-hex-character format and where the ID originates are left entirely to the schema pattern and the sibling import tool.

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 and resource: 'Read the status of an existing YouTube audio import.' The word 'existing' (plus 'the returned project_id') separates it cleanly from import_youtube_track, cancel_youtube_import, and retry-style siblings without needing their schemas.

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?

Explicitly prescribes the polling loop ('Keep checking this same import in the current turn while active'), names the handoff target ('use get_karaoke with the returned project_id'), and gives a negative instruction on the failure branch ('Do not requeue it automatically' / offer the MP3 route). When-to-use, next-step, and when-not-to-requeue are all present.

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