Skip to main content
Glama

Patch Page

patch_page
Destructive

Apply targeted changes to an existing page without sending the full content. base_version_hash is optional — if omitted, find/replace acts as the natural conflict guard. Supports replace, delete, insert_before and insert_after operations. Much more efficient than a full replacement for small edits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe page slug to patch
patchesYesArray of patch operations. Each patch needs: operation ("replace" or "delete"), find (exact string to locate). For replace: also include replace (new string). The find string must match exactly once in the page content.
project_idYesThe project ID
patch_summaryNoBrief description of what was changed (optional, stored in version history)
base_version_hashNoOptional. The current version_hash of the page. If provided and mismatched, returns 409 with details. If omitted, find/replace handles conflicts naturally.

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=false and destructive=true, so the description only needs to add context beyond that. It does so by explaining the optional base_version_hash conflict guard and how find/replace acts naturally when the hash is omitted. This is useful behavioral detail without contradicting the annotations.

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?

The description is compact and front-loaded with the tool's core purpose and efficiency benefit. The operation list sentence is useful but partially conflicts with the schema, and the efficiency sentence overlaps somewhat with "without sending the full content." Overall it is still tight and scannable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description, combined with the rich schema, covers purpose, efficiency, supported patch operations, and conflict handling. It is not fully complete because the described operation set contradicts the schema, leaving ambiguity about which values are actually accepted. A brief note about success/error response behavior would also help, though the schema does mention the 409 case.

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

Parameters2/5

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

Schema coverage is 100%, which gives a baseline of 3, and the description adds useful meaning around base_version_hash being optional and serving as a conflict guard. However, it claims support for insert_before and insert_after while the schema explicitly says operation type is only "replace" or "delete." This direct contradiction can lead an agent to construct invalid patch operations.

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: "Apply targeted changes to an existing page," and immediately distinguishes itself from full replacement by saying it avoids sending full content. This clearly differentiates it from update_page and similar sibling tools.

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?

The description gives an explicit usage context: use this for small, targeted edits because it is "much more efficient than a full replacement." It does not name the alternative tool explicitly or state hard exclusions, but the selection criterion is clear.

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.

TDQS

B3.3/5.0
Disambiguation3/5

Most tools target a distinct resource (pages, assets, forms, integrations, vault), but several boundaries are fuzzy: update_page vs patch_page, the generic tasks tool vs create_scheduled_task, and mixed delete/remove semantics. The descriptions clarify intent, but the overlap is noticeable across a 43-tool set.

Naming Consistency3/5

The dominant verb_noun pattern is clear (get_page, create_page, delete_asset), but it is broken by noun-only dispatchers (entities, fragments, records, tasks), vault-prefixed tools that reverse the order (vault_delete_secret), and synonymous verbs like configure/set/setup/remove/delete. The set is readable but not consistently patterned.

Tool Count2/5

At 43 tools, this is well beyond the 25+ threshold and makes tool selection costly, even for a broad website-builder platform. The four multi-operation dispatcher tools also hide additional operations, which further increases the effective surface area.

Completeness4/5

The tool surface is very comprehensive: pages, assets, forms, integrations, scheduled tasks, entities/records, fragments, tasks, vault, and analytics all have solid lifecycle coverage. Minor gaps like no project update/delete or scheduled-task update exist, but most workflows have no dead ends.