Skip to main content
Glama

test_llm_connection

Read-only

Test the tenant's AI settings with real calls: a short chat reply from the configured model, whether the model calls an offered tool, and (if configured) speech-to-text and text-to-speech. Reports each part separately. Never falls back to OpenAI for a tenant on its own AI server.

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": "test_llm_connection"
  }
}

Input Schema

NameRequiredDescriptionDefault
include_audioNoAlso probe STT/TTS (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the bar is lower, yet the description still adds real value: it discloses that actual model calls are made, that results are reported per component, and that no fallback to OpenAI occurs for tenants on their own AI server. It does not mention latency or cost implications of live calls, which keeps it short of a 5.

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?

The core probe list is front-loaded in one dense sentence, followed by a short caveat about reporting and fallback. Every clause carries information; only minor density in the first sentence works against it.

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 and one optional parameter, the description supplies enough to call it correctly: what will be exercised, that audio is conditional, and how results are surfaced. Failure semantics (what a partial failure looks like) are left implicit, but not essential for invoking the tool.

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?

The single parameter is fully documented in the schema (100% coverage), so the baseline is 3. The description's '(if configured) speech-to-text and text-to-speech' echoes what include_audio already conveys without adding format or default details.

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 ('Test the tenant's AI settings') and enumerates exactly what is probed: a chat reply, a tool call, and optional STT/TTS. It is distinguishable from the sibling 'test_*_connection' tools because it targets the tenant's own AI configuration rather than an external integration, though it never names a sibling to reinforce that contrast.

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?

Usage is implied (verify AI settings are functioning) but the description gives no explicit when-to-use or when-not-to-use guidance, and does not point to alternatives such as the other connection tests. An agent can infer the context but must decide on its own when this is the right diagnostic.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.