Skip to main content
Glama

Set up image API

setup_image_api
Idempotent

Set up image API credentials locally with a one-time localhost page. Enter Base URL and API Key without passing secrets as tool arguments.

Instructions

Create a one-time localhost setup page for Base URL and API Key. The secret is submitted locally and never passed as a tool argument.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
messageYes
setupUrlYes
expiresInSecondsYes
Behavior4/5

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

Annotations declare idempotent and non-destructive, and not read-only. The description adds critical behavioral detail: the secret is submitted locally and never passed as a tool argument, which is a security-relevant trait. It also notes the page is localhost. No contradiction with annotations.

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 just two sentences, with the first sentence front-loaded with the core purpose. The second sentence adds a crucial security detail without any fluff. Every word 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 setup tool, the description fully covers what the tool does, where it operates (localhost), and the security model. An output schema exists, so return values need not be explained. It is complete for the tool's simplicity and the annotations provided.

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 and an empty schema, so schema coverage is 100%. With no parameters to describe, the baseline of 4 applies, and the description contains no parameter info because none is needed.

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 uses a specific verb and resource: 'Create a one-time localhost setup page for Base URL and API Key.' It clearly distinguishes from sibling tools like generate_image and edit_image, which are about image operations, and image_config_status, which likely checks status. The purpose is unambiguous.

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 gives clear context: it is a one-time localhost setup page, implying it should be used before image operations. However, it does not explicitly name alternatives or state when not to use this tool. The security note adds context for when it is appropriate, but no explicit exclusion is provided.

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/less55093-collab/my-image-mcp'

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