Skip to main content
Glama

create_decision_table

Create a ServiceNow Decision Builder decision table (sys_decision) to automate decision logic. Define its name, active status, and optional field values.

Instructions

Create a Decision Builder decision table (sys_decision). Requires WRITE_ENABLED=true

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDecision table name
activeNoWhether the decision table is active (default true)
fieldsNoAdditional sys_decision field values to set
descriptionNoDescription of what the decision returns

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.15.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already indicate this is a write operation (readOnlyHint=false) and not idempotent. The description adds the WRITE_ENABLED=true requirement, which is useful but does not disclose other behaviors such as whether creation triggers any validation, side effects, or requires subsequent publishing. The added value over annotations is minimal.

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 with no redundancy. It front-loads the primary action and adds a necessary prerequisite without extra words.

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?

For a creation tool with 4 parameters and no output schema, the description is sparse. It does not explain the purpose of a decision table, how fields relate to the schema, or whether the table must be published separately (given the sibling publish_decision_table). This missing workflow context could lead to incorrect usage or incomplete setup.

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 every parameter already has a description in the schema. The tool description adds no additional semantics about how parameters interact or their expected formats. Baseline 3 is appropriate since the schema handles documentation.

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 'Decision Builder decision table (sys_decision)', making the primary purpose unambiguous. It does not explicitly differentiate from siblings like create_decision_input or publish_decision_table, but the resource name is distinct enough to avoid confusion.

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?

No guidance on when to use this tool versus alternatives. The only extra information is a prerequisite ('Requires WRITE_ENABLED=true'), which is a configuration condition rather than a usage context. There is no mention of when to prefer this over other creation tools or what scenarios it serves.

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