Skip to main content
Glama
YouTube Studio MCP
by moeinxyz

get_search_terms

Read-only

List up to 25 YouTube search terms that led to views for the owner's videos, filtered by date range and optionally by video ID.

Instructions

Top YouTube search terms that led to views of the owner's videos, optionally for one video. Returns at most 25 reported terms.

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "get_search_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
end_dateYes
video_idNo
start_dateYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint, so safety is covered; the description adds the meaningful cap of 'at most 25 reported terms' and the owner-scoped view. It omits practical behavior an agent needs: that start_date and end_date are mandatory, what format they take, and whether the result is a delimited/aggregated list.

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

Conciseness5/5

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

Two short sentences, front-loaded with what the tool returns and its scope, then the optional narrowing and the result cap. No filler or redundant restatement of the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value detail is correctly not repeated. However, for a tool with two required date parameters and no schema descriptions, the definition leaves the most error-prone part of invocation (date format and window semantics) entirely unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 carry parameter meaning and it only partially does. It implies video_id's role ('optionally for one video') and echoes the limit ceiling of 25, but the two required parameters, start_date and end_date, are given no format, timezone, or inclusivity guidance anywhere.

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 resource ('Top YouTube search terms that led to views of the owner's videos') with the counting dimension ('top') and scope ('owner's videos'), which is materially more than the name alone conveys. It does not differentiate itself from siblings such as get_traffic_sources, so an agent must infer that this is search-query data rather than referrer data.

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

Usage Guidelines3/5

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

'optionally for one video' implies when to pass video_id versus omitting it, which is genuine usage guidance for one branch. There is no explicit when-to-use or when-not-to-use relative to alternatives, and nothing says what time window is appropriate.

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