Skip to main content
Glama

vision_test_connection

Checks a configured vision provider's connectivity by verifying key, model, and endpoint settings. Optionally sends a minimal request to validate authentication.

Instructions

测试某个已配置 provider 的连通性(Key/模型/端点)。默认只检查配置;perform_request=true 时发送最小文本请求验证认证。不会接收 API Key。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
provider_idYes要测试的视觉模型 ID
perform_requestNo是否真正发送一次最小请求验证 Key 有效性
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool does not accept an API Key, that perform_request sends a minimal text request, and that the default is config-only. This adds meaningful behavioral context beyond the schema, though it does not explicitly state whether the operation is read-only or has side effects.

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 two sentences, front-loaded with the core purpose, and contains no filler. Every clause adds relevant information about behavior and constraints, making it highly efficient.

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 simple tool with two parameters and no output schema, the description covers purpose, default behavior, optional request mode, and a key constraint. It lacks explicit details about return values or error handling, but for a test-connection tool this is adequate and matches the tool's simplicity.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds value by emphasizing that perform_request=true sends a minimal request to verify authentication, and by clarifying that provider_id refers to a vision model. It also sets expectations by stating that no API Key is accepted, which indirectly informs parameter use.

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 '测试某个已配置 provider 的连通性' – a specific verb (test), resource (configured provider), and scope (Key/Model/Endpoint). It also distinguishes from siblings like vision_list_models (listing) and vision_analyze (analysis), making the tool's unique purpose clear.

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 explains two usage modes: default config-only check and perform_request=true for actual authentication verification. It also notes that it does not accept an API Key, implying it is for pre-configured providers. However, it does not explicitly mention alternatives or when not to use this tool, missing an opportunity for clearer differentiation.

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/wotonger/vision-router-mcp'

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