Skip to main content
Glama
Scrapeer

Scrapeer MCP Server

Official
by Scrapeer

scrapeer_patch_flow

Destructive

Apply granular patch operations to a web-scraping flow's graph: add/update/remove blocks and edges, enabling targeted edits with per-operation validation instead of a full flow rewrite.

Instructions

Apply a list of granular patch operations to a flow's graph: add_block, update_block_custom, remove_block, add_edge, remove_edge. PREFERRED over scrapeer_update_flow for incremental edits - smaller blast radius and validated per-op server-side. USE THIS TOOL WHEN: making targeted changes (adding a block to an existing flow, fixing a selector, rewiring an edge). DO NOT USE: when the change touches most of the flow at once (use scrapeer_update_flow). Always call scrapeer_get_block_catalog first; ALWAYS call scrapeer_get_flow on this flow earlier in the session so the MCP server can attach the version stamp for optimistic concurrency. Returns the post-patch flow plus a summary of each operation's effect.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowYesThe flow ID (UUID) or flow name. If a name is provided, it will be resolved to an ID. If multiple flows match the name, all matches are returned so the user can choose.
operationsYesList of patch operations to apply, in order.
baseProjectEventIDNoVersion stamp from the last scrapeer_get_flow on this flow. Auto-populated when available.
Behavior5/5

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

Beyond the destructiveHint annotation, the description adds critical behavior: per-operation server-side validation, optimistic concurrency via version stamp, and the return value (post-patch flow plus operation summary). No contradiction with annotations.

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?

The description is well-structured with clear sections (PREFERRED, USE THIS TOOL WHEN, DO NOT USE, ALWAYS calls) and every sentence contributes meaningful guidance. No fluff or redundancy.

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 complex tool with nested operation objects and no output schema, the description covers preconditions, concurrency, validation, and return value. It gives the agent all necessary context to invoke the tool successfully and understand consequences.

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?

The schema already covers all parameters in detail (100% coverage). The description adds value by explaining the purpose of baseProjectEventID ('so the MCP server can attach the version stamp for optimistic concurrency') and emphasizing that operations are applied in order, which supplements the schema.

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 explicitly states the tool's function: 'Apply a list of granular patch operations to a flow's graph' and lists the specific operation types. It clearly differentiates from the sibling tool scrapeer_update_flow by positioning this as the preferred option for incremental edits.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use and when-not-to-use guidance: 'USE THIS TOOL WHEN: making targeted changes... DO NOT USE: when the change touches most of the flow at once (use scrapeer_update_flow).' It also gives mandatory preconditions (call scrapeer_get_block_catalog and scrapeer_get_flow) with reasoning.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Scrapeer/scrapeer-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server