Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

patch_flows_flow_id_assets

Replaces a Flow's JSON document by flow ID with an optional WABA account ID; currently returns HTTP 501 until the Meta Graph Flows rewrite is available.

Instructions

Replace the Flow JSON document (flowJson). Currently returns HTTP 501 until the Meta Graph Flows rewrite is available.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "flowId": "<flowId>",
      "flowJson": "<flowJson>"
    },
    "name": "patch_flows_flow_id_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowIdYes
flowJsonYes
wabaAccountIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.2.10
    • addedInput schema / properties / flowJson
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "flowId"
      -]New value: +[
      +  "flowId",
      +  "flowJson"
      +]
  2. First observedv1.2.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose a genuinely critical trait that no structured field conveys: the endpoint currently returns HTTP 501 until the Meta Graph Flows rewrite lands. It still omits that 'replace' is a full-document overwrite (destructive to existing JSON), what permissions are needed, and whether `wabaAccountId` scopes the operation.

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?

Two short sentences, front-loaded with the action and followed by the operational caveat. No filler, though the caveat is arguably the most decision-relevant fact and could be placed first given the endpoint is non-functional.

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

Completeness2/5

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

For a mutation tool with a nested free-form object parameter, no annotations, no output schema, and 0% parameter documentation, the description is thin. Knowing the call will fail with 501 is useful, but an agent still cannot tell what a valid `flowJson` looks like or how this differs from the metadata patch sibling.

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 description coverage is 0% across 3 parameters, so the description must compensate and largely does not. It names `flowJson` but says nothing about its expected structure despite it being a free-form nested object, and never mentions `flowId` or `wabaAccountId`.

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?

The description states a specific verb and resource: 'Replace the Flow JSON document (`flowJson`)'. However, the tool name says 'assets' while the description talks only about the Flow JSON document, and it does not distinguish this from the sibling `patch_flows_flow_id_metadata`, which presumably patches a different part of the same Flow resource.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites, and no routing to the obvious alternative `patch_flows_flow_id_metadata` or to `create_flows`/`get_flows_flow_id`. The only contextual cue is that the endpoint is currently unimplemented.

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