Skip to main content
Glama

Update a flow

taskthread_update_flow
DestructiveIdempotent

Set the description of one of the user's own flows: a short note on what the flow is for, shown to people in the app and returned by taskthread_list_flows. It REPLACES the current description, so read it with taskthread_list_flows first and keep what is still true. Only flows the user owns can be changed; the name, type and columns are not changed here.

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": {
      "flow": "<flow>",
      "description": "<description>"
    },
    "name": "taskthread_update_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowYesThe flow id or its exact name, from taskthread_list_flows.
descriptionYesThe new description, at most 1000 characters. A few short lines.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description earns credit by explaining exactly what is destroyed (the current description is REPLACED, not appended) and by supplying a mitigation (read first, keep what is still true). It also discloses the ownership requirement. It does not describe the response, which is the only notable gap.

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?

Front-loads the action and payload, then the destructive/replace warning, then the prerequisite, then the ownership and scope limits. Every clause carries distinct information; nothing is redundant with the schema or annotations.

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

Completeness4/5

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

For a two-parameter tool with full schema coverage and clear annotations, the description covers purpose, risk, prerequisite, and scope exclusions. The only omission is what a successful update returns, which matters slightly since there is no output schema.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real semantics: it explains that 'description' is a short note on the flow's purpose, visible in the app and surfaced by taskthread_list_flows, and that 'flow' accepts an id or exact name. That is meaning beyond the schema's character limits.

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 precise verb and target ('Set the description of one of the user's own flows') and bounds the scope by naming what is NOT changed here (name, type, columns). An agent can tell immediately this is a description-only update tool, distinct from flow creation or task updates.

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?

Gives an explicit prerequisite workflow: read the current text with taskthread_list_flows first and preserve what is still true. It also restricts use to owned flows. It does not name which tool handles name/type/column changes, so the exclusion is stated without a routing alternative.

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.

Resources