Skip to main content
Glama

create_catalog_variable

Add a form variable to a ServiceNow catalog item to collect user input. Specify variable name, label, type, order, and required status.

Instructions

[Write] Add a form variable to a service catalog item

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesVariable name
typeYesVariable type: string/reference/select_box/checkbox/date/date_time/integer/multi_line_text/email
orderNoDisplay order (default: 100)
mandatoryNoRequired field
cat_item_idYesCatalog item sys_id
question_textYesLabel shown to user
Behavior3/5

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

Annotations already indicate it's a write operation (readOnlyHint=false) and not destructive. The description's '[Write]' prefix aligns but adds no additional behavioral context such as potential duplicate key errors or permission requirements.

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 extremely concise at one sentence with a clear prefix. It is front-loaded and contains no unnecessary 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?

Missing important context: no mention of return values (e.g., the created variable's sys_id), no guidance that the catalog item must exist, and no behavioral details for error cases. The description is inadequate for a tool with 6 parameters and no output schema.

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?

All 6 parameters are fully documented in the input schema (100% coverage). The description does not add any extra meaning beyond what the schema provides, so a baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Add') and the resource ('form variable to a service catalog item'). The '[Write]' prefix reinforces the operation type. It distinguishes from sibling tools like 'create_catalog_item'.

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 when to use (to add a variable to a catalog item) but provides no explicit guidance on alternatives or prerequisites. It does not mention that the catalog item must exist or suggest using 'create_catalog_item' for creating the item itself.

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/nowaikit'

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