Skip to main content
Glama
sonisoft-cnanda

now-sdk-ext-mcp

Run ATF Test

run_atf_test
Destructive

Run a specific ServiceNow ATF test by its sys_id and retrieve the result, including status, run time, and output. Waits for test completion before returning.

Instructions

Execute a single ServiceNow ATF (Automated Test Framework) test by its sys_id. The test runs on the instance, and this tool waits for it to complete before returning the result. Returns the test name, status (success/failure), run time, and any output produced by the test.

Use this tool when the user wants to run a specific ATF test and see its results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceNoThe ServiceNow instance auth alias to run the test on. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). If not provided, falls back to the SN_AUTH_ALIAS environment variable.
test_sys_idYesThe sys_id of the ATF test to execute. This is the unique identifier for the test record in the sys_atf_test table.
Behavior4/5

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

The description adds behavioral context beyond annotations by stating that the test 'runs on the instance' and that the tool 'waits for it to complete before returning the result,' plus it lists return fields. Annotations already convey destructive/read-only hints, so this extra disclosure is valued. It doesn't warn about side effects, but the destructiveHint already covers that.

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?

Two compact sentences cover the purpose, execution behavior, and return values, followed by a one-sentence usage guideline. Every sentence contributes new information with no fluff or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description fully covers the tool's purpose, execution behavior, return values, and usage context. With no output schema, the description adequately specifies what the agent can expect, and the sibling context clarifies the difference from suite execution.

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%, with both instance and test_sys_id fully described. The description adds no new parameter-level meaning beyond what the schema provides, so it meets the baseline for high coverage.

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 'Execute a single ServiceNow ATF test by its sys_id', which is a specific verb and resource. It distinguishes from sibling tools like run_atf_test_suite (single vs suite) and find_atf_tests (finding vs executing).

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

Usage Guidelines4/5

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

The final sentence explicitly says 'Use this tool when the user wants to run a specific ATF test and see its results,' providing clear usage context. It does not mention exclusions or alternatives, but the sibling name run_atf_test_suite implies when to use the suite variant.

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/sonisoft-cnanda/now-sdk-ext-mcp'

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