Skip to main content
Glama

flypod

Turn comments on or off for a site

configure_comments
DestructiveIdempotent

Enables or disables visitor comments on a site and sets who may comment: anonymous (anyone), passcode (anyone with the shared passcode), or approved (comments appear after the owner approves them). Disabling keeps existing comments. Only the site's owner can change this.

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": {
      "site_id": "<site_id>"
    },
    "name": "configure_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
enabledNoTrue to turn comments on, false to turn them off.
site_idYesThe site_id returned by deploy_site, or listed by list_sites.
passcodeNoThe shared passcode, for mode `passcode`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds genuinely useful context beyond that: 'Disabling keeps existing comments' clarifies that no comment data is lost despite the destructive annotation, and 'Only the site's owner can change this' discloses a permission prerequisite an agent otherwise could not know. It stops short of describing what happens to comments rendered on a live site while disabled or whether changing mode affects already-pending comments, so it is strong but not exhaustive.

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?

Three sentences, each carrying distinct information: the action, the mode semantics, the data-retention guarantee, and the permission constraint. The action is front-loaded and no sentence is redundant with the title or schema.

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 four-parameter mutation tool with no output schema, the description covers the action, enum meanings, side effects on existing data, and authorization requirements. Gaps are minor and behavioral rather than structural—e.g. it does not say whether enabled is required alongside mode, or what is returned after the change.

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 75%, and the description's real contribution is defining the three enum values of mode (`anonymous`, `passcode`, `approved`) with their actual meanings, which the schema only lists as bare strings. The remaining parameters (site_id, enabled, passcode) are already documented in the schema, so the description appropriately focuses on the highest-value parameter.

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 gives a specific verb pair (enables/disables) plus a concrete resource (visitor comments on a site), and it further states the secondary effect of setting who may comment. It is easy to tell apart from siblings like post_comment, list_comments, or delete_comment_thread, which manipulate individual comments rather than site-level comment configuration.

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?

Usage is implied rather than stated: the description makes clear this is the site-wide comment configuration switch, and mode semantics are spelled out. It never explicitly says when to use it instead of siblings (e.g. post_comment for authoring, delete_comment_thread for removal), and no alternatives are named, so an agent must infer routing from the purpose statement alone.

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.