Skip to main content
Glama

Show or hide page sections

set_page_sections
DestructiveIdempotent

Switch sections of the user's public page on or off. Names: pinned, my9, now, favorites, five_stars, lately, reviews, how_i_rate, lists, shelves, guestbook, taste_headline. Sections not named keep their setting.

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": {
      "sections": "<sections>"
    },
    "name": "set_page_sections"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionsYes{name: true|false}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuine non-obvious semantics with 'Sections not named keep their setting', which tells the agent this is a partial rather than full replacement update. It does not mention permissions or confirmation requirements, keeping it short of a 5.

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 short sentences: the action comes first, then the valid keys, then the partial-update caveat. Nothing is redundant and the most decision-relevant information is front-loaded.

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 single-parameter toggle tool with no output schema, the description gives the action, the full key list, and the preservation rule for unmentioned keys. Only authentication or visibility side effects (e.g., that hiding removes content from the public view) are left unstated.

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% and the schema itself only defines a generic boolean map with '{name: true|false}'. The description compensates by enumerating the twelve legal section keys, which the schema does not provide via an enum, adding real meaning beyond the structured field.

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 and resource ('switch sections of the user's public page on or off') and enumerates the exact section names, which distinguishes it from page-adjacent siblings like style_page, set_headline, and set_hidden.

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 scope ('public page') implies when this applies, but there is no explicit when-to-use vs alternatives such as set_hidden, style_page, or set_profile_favorites. The agent must infer that this tool is the one for toggling page section visibility.

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