Skip to main content
Glama

run_self_test

Read-onlyIdempotent

Run a self-test across all SEC-AI tools to verify functionality and return diagnostic results for troubleshooting.

Instructions

Run comprehensive self-test of all SEC-AI tools.

Returns: Dictionary containing test results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false, and openWorld=true, so the safety profile is fully covered structurally. The description adds the useful scope fact that it exercises ALL tools (not a single subsystem), but says nothing about runtime, side effects on downstream services, or failure behavior. Adds modest value over annotations.

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?

Very short and front-loaded, which suits a no-arg tool. The trailing 'Returns: Dictionary containing test results' sentence is largely redundant given an output schema exists, but it costs little.

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?

For a no-parameter diagnostic with rich annotations and a present output schema, the description covers the essential scope. It stops short of stating how long the test takes or what a failure implies, which an agent running it might want to know.

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

Parameters4/5

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

Zero parameters, so there is nothing to document and the baseline is 4. Schema coverage is reported as 100% and the empty object schema is unambiguous.

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?

States a specific verb ('Run') and resource ('comprehensive self-test of all SEC-AI tools'), with scope made explicit. None of the sibling tools (all SEC data-retrieval tools) overlap with this diagnostic purpose, so an agent can immediately tell it apart.

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

Usage Guidelines2/5

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

There is no guidance on when to run this diagnostic — before a session, after failures, as a health check — and no prerequisites or cost/time warnings. Usage is only implied by the tool name, not stated.

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