Skip to main content
Glama

Fijar o desfijar un comentario

pin_comment
Idempotent

Fija un comentario de list_comments arriba de su publicación (solo TikTok); pinned=false lo desfija. Úsala solo cuando el usuario lo pidió.

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": {
      "comment_ref": "<comment_ref>"
    },
    "name": "pin_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinnedNo
comment_refYescomment_ref de list_comments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so safety and repeat-call behavior are covered. The description adds context the annotations do not: the operation is limited to TikTok, the effect is visibility ordering on the post, and it should only fire on explicit user intent. It does not say what happens when the post or comment is not TikTok-eligible (error vs. no-op).

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 clauses with the action, its scope and its inverse front-loaded, then the usage constraint. No filler, no restatement of the title, and every sentence carries information an agent would otherwise have to guess.

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 two-parameter toggle with no output schema, the description supplies what matters: platform restriction, inverse semantics, provenance of the identifier, and the intent requirement. Remaining gaps are error behavior on non-TikTok posts and whether unpinning has any restriction, which are minor but real for an openWorldHint write tool.

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?

With only 50% schema coverage — the 'pinned' parameter has no schema description — the description carries the key meaning by explaining that pinned=false performs the inverse operation, which is not derivable from a boolean default of true alone. It also ties comment_ref back to list_comments, reinforcing the schema's own hint. Minor gap: no format or example for comment_ref beyond its source tool.

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?

States a specific verb+resource ('Fija un comentario ... arriba de su publicación') plus a platform scope ('solo TikTok') and the toggle direction (pinned=false lo desfija). It also names the sibling that supplies the input ('de list_comments'), so an agent can separate it from hide_comment, like_comment and resolve_comment without opening a schema.

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?

Gives an explicit use condition — 'Úsala solo cuando el usuario lo pidió' — which is a real gating rule, especially valuable because pinning is a public-facing visibility change. It does not name the adjacent moderation alternatives (hide_comment, like_comment, resolve_comment) or say what to do instead when the target post is not on TikTok, so exclusions are only partial.

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