Skip to main content
Glama

create_playbook

Create ordered playbook definitions that chain ServiceNow tool calls into automated workflows, with conditional steps and error handling.

Instructions

Create a playbook definition with ordered steps that chain tool calls (requires NOW_ASSIST_ENABLED + WRITE_ENABLED)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesPlaybook name
stepsYesOrdered list of playbook steps
descriptionYesPlaybook description
Behavior3/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false, so the agent knows this is a write operation. The description adds the prerequisite flags (NOW_ASSIST_ENABLED + WRITE_ENABLED) which are useful behavioral context. However, it does not describe what the tool returns, whether validation occurs on the steps, or what side effects happen on creation.

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?

The description is a single, concise sentence that front-loads the primary purpose and includes the critical precondition. Every word earns its place, with no redundancy or filler.

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 create tool with a nested steps parameter, the description conveys the core function and prerequisites. However, it does not mention the response/return value (e.g., whether the created playbook ID is returned), which is pertinent for subsequent actions like 'execute_playbook'. Given the absence of an output schema, this gap affects completeness.

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?

The input schema has 100% coverage for all parameters (name, description, steps) with descriptions, so the baseline is 3. The description adds only general context about 'ordered steps that chain tool calls' but does not explain step syntax, condition expressions, or error handling semantics beyond what the schema already provides.

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 clearly states the verb 'Create' and the resource 'playbook definition', and specifies that it contains 'ordered steps that chain tool calls'. This distinguishes it from the sibling 'execute_playbook' (which runs a playbook) and 'list_playbooks' (which lists them), though it does not explicitly mention these alternatives or contrast with 'create_flow'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage by stating it creates a playbook definition for chaining tool calls, and names required prerequisites (NOW_ASSIST_ENABLED + WRITE_ENABLED). It does not explicitly say when to use this tool over alternatives like 'create_flow', nor does it state when not to use it (e.g., for one-off scripting).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aartiq/servicenow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server