Skip to main content
Glama
zK0G0w

gpt-image-mcp

by zK0G0w

端点检查

check_endpoint
Read-onlyIdempotent

Verifies endpoint connectivity by requesting its model list and checking response format and model availability. Use as a preliminary check before actual image generation.

Instructions

请求当前端点的模型列表,检查响应格式和模型是否在列表中。不会发送生图或编辑请求;即使检查通过,图片能力仍需实际调用验证。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
editingYes
messageYes
generationYes
httpStatusYes
modelListedYes
configurationYes
modelsEndpointYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the tool as read-only, idempotent, and non-destructive. The description adds meaningful context beyond annotations by explicitly stating it sends no generation or editing requests and by warning that a passing check does not guarantee actual image capability. This is valuable behavioral nuance.

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?

Two sentences with no wasted words. The primary action and purpose come first, followed by the critical limitation. Every sentence earns its place.

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

Completeness5/5

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

For a zero-parameter diagnostic tool with full annotations and an output schema, the description covers purpose, side-effect absence, and the key limitation. The agent has everything needed to invoke and interpret this tool correctly.

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 has zero parameters, so there is nothing for the description to clarify about parameter usage. The baseline of 4 applies because the description does not need to compensate for any schema gaps.

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 states a specific action: request the current endpoint's model list and check the response format and model presence. It also explicitly distinguishes itself from the sibling tools generate_image and edit_image by stating it will not send generation or editing requests.

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 clearly indicates when not to rely on this tool: even a successful check does not verify actual image capabilities, which require real invocation. It implies this tool is for endpoint/model-list validation, and the sibling names make the alternative clear, though it stops short of explicitly naming which sibling to use.

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