Skip to main content
Glama

Create Approval Flow

create_approval_flow

Create approval_flow using the same business service as the screen. MCP approval requirements are configurable by the organization administrator; business workflow approvals always apply.

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": {
      "data": "<data>"
    },
    "name": "create_approval_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the mutation/non-idempotent profile is covered. The description adds no behavioral context beyond this — it does not say whether administrator privileges are required to create a flow, whether steps are validated or applied immediately, or what happens on conflicting flows. The governance sentence describes the domain, not this call's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is brief (two sentences) and does not ramble, but the opening clause about "the same business service as the screen" consumes space without conveying anything an agent can act on. Efficiency is undermined by low information density rather than length.

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?

An output schema exists, so return values need not be described, but for a write tool with a large nested payload and no parameter documentation, the description should at minimum sketch how a flow is composed (steps, entity type, approvers). It leaves the agent to reverse-engineer the object shape from the schema alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single `data` parameter hides a deep nested structure (name, entityType enum, steps with stepNumber/approverIds/maxApprovalAmount/requireAllApprovers). The description mentions none of these fields or their constraints, so it provides zero compensation for the total lack of schema documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb+resource ("Create approval_flow") is stated, so the basic action is identifiable. However, the qualifying clause "using the same business service as the screen" is opaque jargon that adds no discriminating information, and nothing distinguishes this tool from siblings such as create_approval_step, update_approval_flow, or the separate submit_*_approval_request family.

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 never says when to use this tool versus create_approval_step (which appears to add steps to a flow) or update_approval_flow, nor does it state prerequisites such as admin rights. The second sentence discusses org-level approval governance in general but gives no actionable routing guidance.

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