Skip to main content
Glama

scaffold_application

Creates a full application structure for a new ServiceNow app including tables, business rules, script includes, ACLs, and ATF tests.

Instructions

Generate a complete application scaffold for a new ServiceNow application.

Creates a recommended file/artifact structure with:

  • Main application table (u_)

  • Number prefix and auto-numbering

  • Core Business Rules (set number, state management)

  • Script Include for business logic

  • UI Action for state transitions

  • ACL rules (read/write/delete)

  • ATF test suite

  • Documentation

Returns all scripts ready to create in ServiceNow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_nameYesApplication name (e.g. "Asset Request")
prefixYesShort prefix for table name and number (e.g. "ar" → table u_ar_request, number ARREQ0001)
descriptionNoWhat this application manages
fieldsNo
statesNoState values, e.g. ["draft","submitted","approved","rejected","closed"]
Behavior2/5

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

No annotations exist, so the description must fully disclose behavior. It states it 'returns scripts ready to create', implying no direct modification, but does not confirm non-destructive nature or mention permissions, side effects, or error conditions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single paragraph with bullet list, front-loaded with purpose. Efficient but the bullet list could be more structured. No wasted sentences.

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?

Complex tool with 5 params and no output schema. Description lists generated artifacts but lacks details on return format or usage instructions. Somewhat complete for a scaffold generator.

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 high (80%), so baseline is 3. The description briefly references app_name and prefix but adds no meaning beyond the schema for other parameters.

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 it generates a complete application scaffold for ServiceNow, listing specific artifacts. This distinguishes it from sibling tools like create_update_set or 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 use when creating a new application but does not specify when not to use it or provide comparisons to alternatives. No exclusions or context on prerequisites.

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/pinnintisagarSB/ServiceNow-Dev-MCP'

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