Skip to main content
Glama
tuitamogamer-gpt

youtube-mcp-server

Mark Comment as Spam

youtube_mark_comment_as_spam
Idempotent

Marks a YouTube comment as spam, flagging it for review by moderation systems.

Instructions

Marks a comment as spam, flagging it for review by YouTube's moderation systems.

Args

  • commentId (string, required) — ID of the comment to mark as spam.

Returns

{ "markedAsSpam": true, "commentId": "string" }

Examples

  • Flag a spam comment: { "commentId": "UgxABC123" }

Errors

  • 403 if you do not have permission to moderate this comment, or quota is exceeded.

  • 404 if the comment does not exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentIdYesID of the comment to mark as spam.
Behavior4/5

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

Annotations already indicate non-destructive and idempotent behavior. The description adds value by specifying the return format, error codes (403, 404), and the effect on the comment, enhancing transparency beyond annotations.

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 extremely concise with clear sections (Args, Returns, Examples, Errors). Every sentence adds value, no fluff, and it is front-loaded with the core purpose.

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

Completeness5/5

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

For a simple one-parameter tool with no output schema, the description covers the action, usage, errors, and example sufficiently. No gaps are apparent given the tool's complexity.

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?

With 100% schema description coverage, the description adds only an example and error context, which is baseline. No additional semantic nuance beyond the schema is provided.

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 description clearly states the action: 'Marks a comment as spam, flagging it for review.' This is a specific verb+resource that distinguishes it from siblings like delete_comment or set_comment_moderation.

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?

The description provides an example and error conditions, but does not explicitly guide when to use this tool versus alternative moderation tools like youtube_set_comment_moderation. Usage context is implied but not direct.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tuitamogamer-gpt/youtube-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server