Skip to main content
Glama
YangLiangwei

PersonalizationMCP

by YangLiangwei

auto_refresh_youtube_token_if_needed

Check and refresh YouTube access tokens when needed to prevent authentication failures and keep API access valid.

Instructions

自动检查并刷新YouTube访问令牌(如果需要的话)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It does state that the tool checks first and only refreshes conditionally, which is useful. However, it does not mention side effects like updating the stored token, prerequisite OAuth setup, or failure behavior.

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?

The description is a single short sentence with no filler. It front-loads the action and includes the key conditional qualifier 'if needed' at the end without unnecessary elaboration.

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 zero-parameter utility with an output schema, the description captures the main purpose and conditional behavior sufficiently. It leaves the exact meaning of 'needed' and OAuth prerequisites implicit, but the low complexity and lack of arguments make this a minor gap.

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?

The input schema has zero properties, so there are no parameter semantics to add. The 0-parameter baseline of 4 applies because the description does not need to clarify anything about arguments.

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?

The Chinese description translates to 'automatically check and refresh YouTube access token (if needed)', naming a specific action and resource. It also clearly differentiates itself from the forced refresh_youtube_token sibling through the conditional 'if needed' behavior.

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?

The 'if needed' clause provides clear context for when this tool should be invoked: when a token refresh may be necessary but a forced refresh is not explicitly required. It stops short of naming alternatives such as refresh_youtube_token or stating when not to use them, so it is not fully explicit routing guidance.

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