Skip to main content
Glama
now-sdk-ext-mcp

now-sdk-ext-mcp

List Workflows

list_workflows
Read-only

Lists legacy Workflow Editor workflows with their published and checked-out version states, so you can review workflow status and spot checked-out changes.

Instructions

List legacy Workflow Editor workflows with the state of their published and checked-out versions.

Input Schema

NameRequiredDescriptionDefault
nameNoName contains this text.
limitNoMaximum workflows to list. Default 50.
tableNoThe workflow's table, e.g. sc_req_item.
instanceNoThe ServiceNow instance auth alias to connect to. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.5.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful context that results include both published and checked-out version state, but says nothing about pagination behavior beyond the schema's limit, default page size, or ordering.

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?

A single front-loaded sentence with the scope qualifier and the returned data stated up front; no filler or redundancy.

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 four optional filters, no output schema, and no required parameters, the definition is workable but thin: it does not say what a result record contains beyond version state, nor whether results are paged in a particular way. The schema carries the filter semantics, so the gap is moderate rather than severe.

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?

Schema description coverage is 100%, so name, limit, table, and instance are already fully documented in the schema, including the instance/auth-alias fallback behavior. The description adds no parameter-level meaning, which is acceptable at this coverage level but earns only the baseline.

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 (List) and resource (legacy Workflow Editor workflows) plus the returned facets (published and checked-out version state). The qualifier 'legacy Workflow Editor' implicitly separates this from the many flow-related siblings (execute_flow, get_flow_definition, outline_workflow), though it never names them.

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 explicit when-to-use guidance, no exclusions, and no routing to alternatives such as get_workflow, outline_workflow, or list_workflow_activity_types. The word 'legacy' hints at the population covered, but the agent must infer when this tool is the right choice.

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

Deploy Server

Other Tools