Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LABNANA_API_KEYYesLabnana API key.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_subscriptionB

获取当前 API Key 账户的订阅状态、可用积分(月度/永久/限时)、免费额度(freeUsages)与重置时间。

estimate_creditsA

根据模型、尺寸、宽高比等参数预估生成图片所需的积分。同步返回,不实际生成图片、不扣除积分。适合在批量生成或使用 4K 前先确认成本。

generate_imageA

文生图 / 图生图 / 改图的一站式工具:默认保存完整原图,同时返回有大小上限的 MCP 图片预览、结构化元数据和 JSON 文本兜底。大图(4K)会自动走异步任务并在内部等待完成,无需手动轮询。支持 Gemini 系列、GPT-Image-2 / 2.5、Wan2.7、Seedream 5.0 Pro,模型由 model 参数选择,无需指定提供商。

list_generation_tasksA

按创建时间倒序返回当前 API Key 用户的图片生成任务历史,可按状态过滤。

get_generation_taskA

查询图片生成任务状态与结果。任务成功时返回统一结构化 envelope、有界 MCP 图片预览和原图 URL。generate_image 等待超时后可用返回的 taskId 在这里取回结果。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Labnana 图片结果显示 Labnana 生成的图片预览、状态和原图位置。

TDQS

A4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: account subscription, credit estimation, image generation, task listing, and single-task retrieval. The only potentially related pair, list_generation_tasks and get_generation_task, is cleanly separated by list vs. single-task-by-ID semantics.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: get_subscription, estimate_credits, generate_image, list_generation_tasks, get_generation_task. The repeated get_ prefix is used predictably for retrieval operations.

Tool Count5/5

Five tools is well-scoped for an image-generation API surface. Each tool corresponds to a meaningful operation without obvious redundancy or filler.

Completeness4/5

The surface covers account status, cost estimation, generation, task listing, and task retrieval, which supports the main workflows. Minor gaps such as task cancellation or model listing are not covered, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo issues