Skip to main content
Glama

检查生图服务

check_image_service

Probes the image service endpoint to verify reachability and API key validity, then lists the server-declared models. Run it when troubleshooting image generation or editing failures.

Instructions

探测中转站是否可达、API Key 是否有效,并列出服务端声明的模型清单。排障时先运行它。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/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 the three checks performed (reachability, key validity, model listing) and is non-destructive, but says nothing about latency, rate limits, failure responses, or what happens if the endpoint is unreachable — gaps for a probe tool, though the read-only nature is implied.

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?

A single compact sentence covering three checks plus a front-loaded action cue for troubleshooting. No filler, and the most actionable instruction is placed last for emphasis.

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

Completeness3/5

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

Adequate for a zero-parameter probe, and return-value details are partly implied by naming what it checks. However, with no output schema and no annotations, more could be said about the shape of the diagnostic result or common failure modes.

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?

The tool takes zero parameters, so the baseline is 4. The description correctly implies no inputs are needed — connectivity and credentials come from configuration — and adds no misleading parameter expectations.

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 names a concrete verb set and resources: probe whether the relay station is reachable, whether the API Key is valid, and list the server-declared model list. This is clearly a diagnostic capability distinct from the sibling image generation/editing tools.

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?

Explicitly states to run it first when troubleshooting ("排障时先运行它"), which gives clear when-to-use guidance. It does not say when not to use it or explicitly name generate_image/edit_image as alternatives, so it stops short of full routing guidance.

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

Deploy Server

Other Tools