Skip to main content
Glama
sentinel-mcp
by kal72

run_api_test

Run positive and negative functional tests on API endpoints, automatically generating test cases with AI and analyzing results.

Instructions

Run positive and negative functional tests on API endpoints. AI generates test cases automatically and analyzes results.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_api_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
endpointNoEndpoint name to test, or omit to test all
providerNo
suite_dirNoPath to directory containing YAML test suite files. All .yaml/.yml files will be loaded and merged
suite_fileNoPath to YAML test suite file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description bears the full burden. It discloses that AI auto-generates cases and analyzes results, which hints at cost/latency, but says nothing about side effects on the target endpoints, authentication needs, rate limits, run duration, or what the response contains.

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?

Two tight sentences that front-load the core action, with no filler. It is concise but underspecified rather than verbose.

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 tool that executes tests against live endpoints, there is no output schema and no annotation safety profile, yet the description omits return format, side effects, and parameter selection guidance, leaving gaps an agent must guess at.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75% and the description adds no parameter-level meaning at all, leaving the provider enum and suite_dir/suite_file relationship (e.g., merge behavior, precedence) undocumented beyond the terse schema blurbs.

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?

States a specific verb and resource: 'Run positive and negative functional tests on API endpoints,' and adds that AI generates cases and analyzes results. The word 'functional' implicitly distinguishes it from the sibling run_security_test, but this differentiation is not made explicit.

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?

Some usage is implied via 'omit to test all' for the endpoint param, but there is no explicit when-to-use vs when-not guidance, no mention of how this differs from run_security_test, and no explanation of when to choose suite_dir vs suite_file.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.