Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

patch_flows_flow_id_metadata

Update a Flow's name, categories, and endpoint URI by flow ID to keep messaging metadata current.

Instructions

Update Flow name, categories, and/or endpointUri. 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>"
    },
    "name": "patch_flows_flow_id_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
flowIdYes
categoriesNo
endpointUriNo
wabaAccountIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.10
    • addedInput schema / properties / categories
      Added value: +{
      +  "items": {
      +    "anyOf": [
      +      {
      +        "const": "SIGN_UP",
      +        "type": "string"
      +      },
      +      {
      +        "const": "SIGN_IN",
      +        "type": "string"
      +      },
      +      {
      +        "const": "APPOINTMENT_BOOKING",
      +        "type": "string"
      +      },
      +      {
      +        "const": "LEAD_GENERATION",
      +        "type": "string"
      +      },
      +      {
      +        "const": "CONTACT_US",
      +        "type": "string"
      +      },
      +      {
      +        "const": "CUSTOMER_SUPPORT",
      +        "type": "string"
      +      },
      +      {
      +        "const": "SURVEY",
      +        "type": "string"
      +      },
      +      {
      +        "const": "OTHER",
      +        "type": "string"
      +      }
      +    ]
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / endpointUri
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / name
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv1.2.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden, and it does disclose the single most important behavioral fact: the endpoint is currently non-functional and returns HTTP 501. It still omits auth/permission requirements, whether fields not supplied are preserved (patch semantics), and any error behavior beyond the 501.

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?

Two short sentences with no waste, and the purpose clause is front-loaded ahead of the operational caveat. Nothing is padded or repeated from the schema.

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?

For a 5-parameter mutation tool with no annotations and no output schema, the description covers purpose and the blocking 501 status but leaves the flowId/wabaAccountId relationship, partial-update behavior, and failure modes unaddressed. It is minimally sufficient to avoid a wasted call, but not sufficient to call it correctly if the 501 is ever lifted.

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 0%, so the description must compensate, and it only partially does: it names name, categories, and endpointUri as the updatable fields, implying the others are not mutable. The required flowId and the ambiguous wabaAccountId are left entirely unexplained, so an agent still cannot tell what wabaAccountId does relative to flowId.

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 gives a specific verb ('Update') and resource ('Flow') plus the three mutable fields, so an agent knows immediately this is a partial-update tool for flow metadata. It doesn't explicitly contrast itself with the close sibling patch_flows_flow_id_assets, but the named fields make the boundary reasonably inferable.

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

Usage Guidelines3/5

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

The note that the endpoint returns HTTP 501 is a de facto 'when not to use' signal, which is valuable for agent routing. However, it never names an alternative tool or explains what an agent should do instead, and it doesn't distinguish when to use this versus create_flows or patch_flows_flow_id_assets.

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