Skip to main content
Glama
Scrapeer

Scrapeer MCP Server

Official
by Scrapeer

scrapeer_update_flow

Destructive

Replace a whole Scrapeer flow with a new JSON definition for wholesale rewrites or imports. For incremental changes, prefer patching; validate dry-run to prevent overwriting.

Instructions

Replace a flow's entire definition with the supplied flow JSON. WARNING: this overwrites the WHOLE flow - every block, edge, and config. PREFER scrapeer_patch_flow for incremental edits (adding a block, changing one selector). USE THIS TOOL WHEN: you need to apply a wholesale rewrite (e.g. importing a flow from elsewhere) or the change touches most of the flow at once. Always call scrapeer_get_block_catalog first to know valid block types and config keys, and consider scrapeer_validate_flow to dry-run. Optimistic concurrency: the MCP server automatically attaches the version stamp from your last scrapeer_get_flow on this flow. If the flow was modified elsewhere since, the call returns 409 - re-fetch with scrapeer_get_flow and retry.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesThe complete replacement flow. WARNING: this overwrites the entire flow definition - prefer scrapeer_patch_flow for incremental changes.
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.
baseProjectEventIDNoVersion stamp from the last scrapeer_get_flow on this flow. Auto-populated by the MCP server when you've called scrapeer_get_flow earlier in the session - only set this manually if you need to override the cached value.
Behavior5/5

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

Annotations only offer destructiveHint=true, but the description adds crucial context: it overwrites the WHOLE flow (every block, edge, config) and explains optimistic concurrency behavior (version stamp, 409 conflict, re-fetch retry). This substantially exceeds what annotations provide and aligns with them.

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 dense yet efficiently structured: purpose, warning, alternative, use-case, prerequisites, and concurrency are each one sentence that earns its place. No fluff, and only slightly long due to necessary safety information.

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, complex operation with nested objects and no output schema, the description covers all critical aspects: purpose, overwrite scope, prerequisites, conflict handling, and alternative. The combination of annotations, schema, and description leaves no major knowledge gaps for an agent.

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%, so baseline is 3. The description reinforces the overwrite warning in data but adds no meaning beyond schema. It references block catalog for node types, but that is usage guidance rather than parameter semantics, so no uplift.

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 clearly states the tool replaces a flow's entire definition with supplied JSON, explicitly identifying the resource and action. It distinguishes itself from sibling scrapeer_patch_flow by positioning itself for wholesale rewrites, making the purpose unambiguous.

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 guidance ('USE THIS TOOL WHEN: you need to apply a wholesale rewrite...') and when-not-to ('PREFER scrapeer_patch_flow for incremental edits'). Also directs users to scrapeer_get_block_catalog for valid types and scrapeer_validate_flow for dry-run, going beyond basic alternatives.

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