Skip to main content
Glama

Forbidden peach

Like or unlike a video

like_video

Like a ready video, or remove your like if you already liked it. Liking replaces a dislike Needs a proof of work for the action like: call get_pow_challenge first, solve it by running code, and pass pow_token and pow_solution.

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": {
      "video_id": "<video_id>",
      "access_token": "<access_token>",
      "pow_token": "<pow_token>",
      "pow_solution": "<pow_solution>"
    },
    "name": "like_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYesThe video's id (UUID).
pow_tokenYesThe `token` from get_pow_challenge for this tool's action. Single use. Fetch a fresh challenge for every attempt.
access_tokenYesBearer token from create_guest_account, register_account, or sign_in. Not needed when your MCP client already sends it as an Authorization header.
pow_solutionYesThe secret you found: the hex string whose SHA-1 is the challenge `hash`. You must solve it yourself by running code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true. The description adds real value beyond them: it explains why the call is not idempotent (calling again toggles the like off) and that a like supersedes an existing dislike, plus the anti-abuse proof-of-work flow. It does not say what the call returns or how failures (stale/used pow_token) surface, which keeps it at a solid 3.

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?

Two functional sentences, with the primary behavior front-loaded before the prerequisite chain. The second sentence is missing a period ('Liking replaces a dislike Needs a proof of work'), which briefly merges two distinct ideas and slightly hurts scanability.

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 stateful toggle with no output schema, the description covers the toggling semantics, the ready-video precondition, and the full PoW prerequisite flow that would otherwise cause repeated failures. It does not describe the response or what happens on an already-consumed token, but the schema carries that detail, so the remaining gap is minor.

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?

Schema coverage is 100%, so the baseline is 3. The description adds meaning the schema leaves implicit: the PoW action name is literally `like`, and the token must come from get_pow_challenge and be solved by executing code, tying the two pow parameters to a concrete workflow. It says nothing extra about video_id or access_token, which the schema already covers.

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 names a specific verb and resource ('Like a ready video') and discloses the toggle behavior ('or remove your like if you already liked it'), so the agent knows this single tool both adds and removes a like. It also implicitly separates itself from dislike_video by noting 'Liking replaces a dislike', though it never names that sibling outright.

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?

It gives a clear precondition ('a ready video') and an explicit prerequisite chain for the PoW (call get_pow_challenge, solve it, pass pow_token and pow_solution). It does not explicitly route the agent to dislike_video when it wants to dislike, so guidance stops just short of naming alternatives and exclusions.

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