Skip to main content
Glama

Add Comment

add_comment

Add a review comment to a video, optionally pinned to a timestamp in seconds. The comment is attributed to the user behind the credential.

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": {
      "videoId": "<videoId>",
      "text": "<text>"
    },
    "name": "add_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
videoIdYes
timestampNoPoint in the video, in seconds

Output Schema

NameRequiredDescriptionDefault
idNo
textNo
authorNo
timestampNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare the operation as non-read-only, non-idempotent, destructive=false and open-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that by disclosing that the comment is attributed to the credential's user and that the timestamp is optional, but it says nothing about duplicate handling, permissions, or failure modes.

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, both useful, with the core action and the optional aspect front-loaded. No filler or redundant restatement of the name or title.

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?

An output schema exists, so return values need not be explained, and the tool is a simple create operation with three flat parameters. The description covers the essentials; only permission requirements and duplicate-call behavior are left implicit.

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 description coverage is only 33% (only 'timestamp' is documented), so the description must compensate. It partially does: 'to a video' implies videoId identifies the target video, 'comment' implies text is the body, and 'optionally pinned' confirms timestamp is not required — but it adds no format or constraint detail for videoId or text beyond that inference.

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 states a specific verb and resource ('Add a review comment to a video') plus the optional timestamp scope, which is unambiguous. It does not explicitly contrast with sibling tools such as delete_comment, but the 'add' verb makes the direction of the operation obvious.

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 guidance on when to use this versus alternatives, no prerequisites, and no exclusions. The usage is only implied by the verb 'add'; an agent is left to infer everything about context and timing.

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