Skip to main content
Glama
sonisoft-cnanda

now-sdk-ext-mcp

Find ATF Tests

find_atf_tests
Read-only

Find ServiceNow ATF tests by searching name, description, or category. Returns sys_ids to use for running tests.

Instructions

Search for ATF (Automated Test Framework) tests on a ServiceNow instance. Find tests by name, description, or category. Returns a list of matching tests with their sys_ids, which can then be passed to the run_atf_test tool for execution.

Use this when you need to discover which ATF tests exist before running them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of tests to return. Default is 25.
activeNoFilter by active status. Defaults to true (only active tests). Set to false to find only inactive tests.
categoryNoFilter by test category (e.g., "Custom", "Module"). Maps to the sys_atf_test.category field.
instanceNoThe ServiceNow instance auth alias (e.g., "myinstance", "prod"). If not provided, falls back to the SN_AUTH_ALIAS environment variable.
search_termNoText to search for in test name and description fields. Case-insensitive contains matching. Example: "incident" finds tests with "incident" in the name or description.
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds valuable context by stating the output (list of tests with sys_ids) and how it connects to run_atf_test. This goes beyond the annotations without contradicting them.

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 compact and front-loaded: first sentence states the core action, second explains the return value, third gives usage guidance. Every sentence earns its place with no redundancy.

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

Completeness4/5

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

With no output schema, the description compensates by stating the return type and purpose. It covers the tool's role in the ATF workflow sufficiently for a search tool, though it could elaborate on output structure if needed.

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 coverage is 100% with detailed descriptions for all five parameters. The description's mention of 'name, description, or category' only echoes the schema's search_term and category definitions, adding no new parameter semantics.

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 searches for ATF tests with specific fields (name, description, category) and returns sys_ids for later execution. It distinguishes itself from the sibling run_atf_test tool by explicitly noting the chaining workflow.

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 description explicitly says 'Use this when you need to discover which ATF tests exist before running them,' providing clear usage context. It does not explicitly list exclusions or alternative tools, but the reference to passing sys_ids to run_atf_test implies the distinction from execution tools.

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