Skip to main content
Glama

Hide a comment

hide_comment
Idempotent

Hide a comment

Hides the comment on Facebook or Instagram, as a teammate does on the Comments page. It leaves public view but isn't deleted: on Facebook the commenter and their friends still see it. moderation.hidden_by becomes user, or platform when Facebook had already hidden it, and a hidden comment gets no reply. 422 comment_already_hidden when it is hidden already; 422 platform_hide_failed when the platform refused or couldn't be reached, for example because the comment was deleted; that one can be temporary, so try again later. After a 500, a retry that answers comment_already_hidden means the first one went through.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesThe agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`.
comment_idYesA comment on one of the agent's pages. Another agent's comment is `404 not_found`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the comment is not deleted, that the commenter and friends still see it on Facebook, the resulting moderation.hidden_by value ('user' vs 'platform'), that hidden comments receive no reply, and specific failure modes (422 comment_already_hidden, 422 platform_hide_failed with transient retry guidance, and 500-then-already_hidden meaning the write succeeded). This is exactly the behavioral context annotations can't carry.

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?

Front-loads the core action and platform scope before the behavioral and error detail, and every sentence carries information. The opening line restating the title is mildly redundant, which keeps it short of a 5.

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 mutation tool with no output schema, the description supplies the side effects, state transitions, error taxonomy, and retry semantics an agent needs. Nothing essential to invoking it correctly is missing.

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%, so agent_id and comment_id are fully documented in the schema; the description adds no further parameter meaning. Baseline 3 applies when the schema does all the heavy lifting.

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 ('Hide a comment') and pins the target platforms ('Facebook or Instagram') plus the analogy to teammate behavior on the Comments page. An agent can distinguish this from siblings like unhide_comment purely from the text.

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 conveys the semantic effect (leaves public view but isn't deleted), which implies reversal via unhide_comment, but it never explicitly states when to use this tool versus restoring visibility or taking other moderation actions. Usage is inferred rather than directed.

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