Skip to main content
Glama

workflow_guard

Read-only

Check a draft for secrets, personal data, and hidden text. Use when validation passes. Do not use when validation has open issues. Next step: remove each finding, repeat workflow_guard, then test the draft with workflow_test_run for a first version. Limits: the server blocks unsafe content. Example: {"workflowId":"invoice-flow"}.

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": {
      "workflowId": "<workflowId>"
    },
    "name": "workflow_guard"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflowIdYesThe workflow ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover safety (readOnlyHint, destructiveHint=false, closed world), so only the extra context counts. The description adds the iterate-until-clean loop and the vague claim 'the server blocks unsafe content', which doesn't explain what is blocked or how it surfaces. It never says what a finding looks like or whether a clean draft returns an empty set.

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?

Purpose is front-loaded and the text is short, but the second half is telegraphic and hard to parse ('Use when validation passes' has no stated subject). The example JSON contributes little and the 'Limits' line is a fragment that adds ambiguity rather than clarity.

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?

With a single required parameter, a read-only safety profile, and no output schema, the description is roughly adequate: it covers purpose, timing, and next step. What's missing is any sense of output — what findings contain, whether they are categorized — which an agent needs to act on the result.

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?

One parameter at 100% schema description coverage sets the baseline at 3. The trailing example {"workflowId":"invoice-flow"} only restates the shape already in the schema and adds no format or sourcing guidance (e.g., where to get a workflowId).

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 opening sentence states a concrete verb and object: it checks a draft for secrets, personal data, and hidden text. It is distinguishable from workflow_validate and workflow_test_run, which sit at different workflow stages. Mild ambiguity remains between 'draft' and the single workflowId parameter, and the read-only inspection nature is left implicit.

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?

Explicit sequencing: run only after validation passes, skip while validation has open issues, then remediate findings and hand off to workflow_test_run. It names the sibling that consumes the result, which is genuinely useful routing. It doesn't name the validation tool directly or say what to do with a failing draft besides 'do not use'.

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.