Skip to main content
Glama

Set workflow node policies

set_workflow_node_policies

Workflow agents: which policies each Agent node enforces. workflow (the default) = the workflow's policies; workflow_and_agent = ALSO a referenced saved agent's own policies (and both agents' profile policies).

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": {
      "agent_id": "<agent_id>",
      "node_policies": "<node_policies>"
    },
    "name": "set_workflow_node_policies"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesThe workflow agent.
node_policiesYesworkflow or workflow_and_agent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already establish a non-destructive write operation (readOnlyHint=false, destructiveHint=false). The description adds that the setting controls policy scope and that workflow is the default, but it does not say whether existing node policies are replaced, what permissions are required, or whether the change is idempotent.

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?

The description is compact and front-loads the subject of the setting. The opening fragment 'Workflow agents:' is slightly awkward, but no sentence is wasted.

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 simple two-parameter, no-output-schema mutation, the description covers the enum meanings and the annotations cover safety. It remains incomplete on when to use the tool and on the effect of changing an existing policy setting.

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; the description goes beyond the schema by defining workflow as the workflow's policies and workflow_and_agent as additionally using a referenced saved agent's own policies and both agents' profile policies. It does not add much for agent_id beyond the schema's 'The workflow agent', but the enum semantics are substantially clarified.

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 the resource and effect clearly: it determines which policies each Agent node enforces. The setting verb is implicit from the tool name/title rather than stated in the description, and no sibling is named, but the scope is specific enough for an agent to understand what is being configured.

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?

The description explains what the two policy modes mean but gives no explicit when-to-use guidance, prerequisites, or alternatives. An agent must infer when to call this tool and when to choose workflow_and_agent over workflow.

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