Skip to main content
Glama

set_page_hidden

Show or hide a page on your wedding website, such as hiding the RSVP page until invitations go out. Use page ID and hidden flag to control visibility.

Instructions

Show or hide a page on the wedding website (e.g., hide the RSVP page until invites go out)

Input Schema

NameRequiredDescriptionDefault
hiddenYestrue to hide the page, false to show it
page_idYesPage ID from list_pages

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv1.4.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations declare destructiveHint=false and openWorldHint=true, so the safety profile is partly covered already. The description confirms the mutation affects the public wedding website (open world), which is useful, but it adds no detail on permissions, whether hiding is reversible, or impact on already-published pages.

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?

A single front-loaded sentence with a concrete example; nothing is wasted and the action is stated first.

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 boolean toggle with complete schema coverage and no output schema, the description is largely sufficient. Slightly more context on the effect of hiding a live page would make it fully complete.

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 description coverage is 100%: the boolean 'hidden' and 'page_id' (sourced from list_pages) are fully documented in the schema. The description adds no additional parameter meaning, so the baseline of 3 applies.

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?

States a specific verb pair (show/hide) and resource (page on the wedding website), so an agent immediately understands it toggles page visibility. It is distinct from list_pages/reorder_pages, though it doesn't explicitly contrast with update_page, which could plausibly also alter page state.

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 parenthetical example ('hide the RSVP page until invites go out') implies a real use case, giving implied rather than explicit guidance. There is no statement of when to prefer this over update_page or any prerequisite/ordering advice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.