Skip to main content
Glama

Remove section

remove_section
Destructive

Remove a section from a page by id. All other sections are preserved. The removal is an explicit DELETE_SECTION operation applied on the page's draft under the revision lock (the draft is forked from the published head first when needed). sectionId may be the section's id or its logicalId (both come from get_page_content; the logicalId survives a publish, the id does not). Pass the same idempotencyKey when retrying a call whose answer was lost, so the removal is applied once. A section that is not on the page is an error, with or without a key.

Input Schema

NameRequiredDescriptionDefault
pageIdYesThe page ID
projectIdYesThe project ID
sectionIdYesThe id or logicalId of the section to remove (from get_page_content)
idempotencyKeyNoStable key for a safe retry: the same key replays the first result instead of applying twice. Reuse a key only for a call that got no answer; after any error, read the page again and use a new key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / idempotencyKey / description
      Previous value: -"Stable key for a safe retry: the same key replays the first result instead of applying twice"New value: +"Stable key for a safe retry: the same key replays the first result instead of applying twice. Reuse a key only for a call that got no answer; after any error, read the page again and use a new key."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial context beyond the destructiveHint annotation: the DELETE_SECTION operation on the draft under a revision lock, draft forking from the published head, and the fact that a missing section is an error with or without a key. This is exactly the mutation behavior an agent needs to know.

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-loaded with the core action and preservation guarantee, then layers in locking, id handling, and idempotency. Dense but every sentence carries necessary information; minor overlapping of idempotency/error detail keeps it from a perfect 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 destructive, no-output-schema mutation tool, the description covers mutation mechanics, scope of effect, id semantics, idempotent retry, and error behavior. An agent has everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 100% schema coverage, the description adds real meaning: sectionId accepts either id or logicalId with the crucial publish-survival distinction, and idempotencyKey semantics (replay on lost answer, use a new key after errors) are spelled out. This goes well beyond the schema text.

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 ('Remove a section from a page by id') and immediately clarifies preserved scope ('All other sections are preserved'). An agent can distinguish this from delete_page or other destructive siblings without opening the 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?

Explains that sectionId comes from get_page_content and that logicalId survives publishing while id does not, which guides correct invocation. It doesn't explicitly name an alternative tool or a 'when-not-to-use' case, so it falls just short of the top mark.

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.