Skip to main content
Glama
Cisco XDR MCP Server

Cisco XDR MCP Server

Official
by CiscoDevNet

xdr_workflow_get

Retrieves a workflow's full definition—including description, input schema, and trigger types—by workflow ID, so you can inspect or use it.

Instructions

Get full workflow definition including description, input schema, and trigger types.

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": {
      "workflow_id": "<workflow_id>"
    },
    "name": "xdr_workflow_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
workflow_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; 'Get' plus the enumeration of returned content makes clear this is a non-mutating definition retrieval. It omits what happens when the workflow_id is unknown (error vs empty), whether any permission scope is required, and whether output is truncated or paginated for large schemas.

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?

One front-loaded sentence with zero filler; the verb, resource, and return payload are all present in the opening clause. Nothing redundant is included.

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 no output schema, the description does a decent job enumerating the returned fields, which is the main thing needed. However, for a getter whose only parameter is undocumented and whose relationship to the list tool is unstated, an agent still lacks the call sequence and ID provenance needed to invoke it reliably.

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

Parameters2/5

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

Schema description coverage is 0% and the single workflow_id parameter is never explained in the description — no format, no source tool, no distinction from an instance ID. The parameter name is self-evident, but with zero schema documentation the description needed to compensate and does not.

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?

States a specific verb (Get) and resource (full workflow definition) and enumerates what the definition contains (description, input schema, trigger types). This distinguishes it implicitly from xdr_workflow_instance_get by scoping to the definition rather than a run, but no sibling is named explicitly, so it stops short of a 5.

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?

There is no guidance on when to use this versus xdr_workflow_list (discovery) or xdr_workflow_instance_get (running instance state), nor any note that workflow_id typically comes from the list call. The agent must infer the lookup-then-fetch sequence on its own.

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