Skip to main content
Glama
CTDO YTB MCP

CTDO YTB MCP

by thanhdo1110

yt_system

Inspect L1/L2 cache hit rates, latency, YouTube API key pool and quota savings, knowledge base stats, and TubeLab balance, or clear a cache namespace to monitor system health.

Instructions

Inspect L1/L2 cache hit rate, latency, YouTube API key pool & quota saved, Knowledge Base stats, TubeLab balance, or clear cache.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "yt_system"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNoDefault: status
namespaceNoOptional cache namespace to clear

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does not discharge it. It never says whether clear_cache is destructive, whether omitting the namespace wipes all namespaces, whether confirmation or elevated permissions are required, or whether the inspection calls are read-only and rate-limited.

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?

A single front-loaded sentence with no filler; every item listed is a distinct capability. It is a long enumeration rather than a structured list, which makes the two-mode split (inspect vs. clear) slightly harder to parse than it could be.

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?

With no output schema, the enumeration of inspectable stats usefully substitutes for return-value documentation. However, the destructive branch of the tool is described in three words, leaving the most consequential behavior undocumented for a two-action utility.

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?

Schema coverage is 100%, and both parameters already carry descriptions including the default of 'status' and the meaning of 'namespace'. The description adds modest value by enumerating what the status action reports, but it never explicitly binds that list to action=status or explains namespace scoping for clear_cache beyond the schema text.

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?

The description uses a concrete verb ('Inspect') and enumerates the specific resources covered: L1/L2 cache hit rate, latency, YouTube API key pool and quota saved, Knowledge Base stats, TubeLab balance, plus a 'clear cache' action. That is far more specific than a generic 'system' tool, but it offers no differentiation from siblings such as yt_kb, so an agent cannot tell whether KB stats belong here or there.

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 guidance, no statement of preconditions, and no named alternative despite yt_kb overlapping on the 'Knowledge Base stats' item. The phrase 'or clear cache' hints that the tool has two modes, but the agent is left to infer that the action enum is what selects between them.

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