Skip to main content
Glama

AI Manga & Anime Generator - Mangii MCP

Buy API credits

manga.buy_credits
Read-onlyIdempotent

Return the Console billing URL so a human can fund apiPackCredits. Generate-scoped keys cannot create Checkout sessions. Call this after 402 insufficient_credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qualityNoOptional quality you plan to generate next. Included in the response as next_generation_credits so the human knows how many credits to buy.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoMachine error code such as invalid_request, insufficient_credits, or quality_forbidden.
buy_urlYesAbsolute Console billing URL. Always https://mangii.ai/console/billing.
messageNoHuman-readable error. Never includes stack traces or internal paths.
credit_costsYesCredits charged per successful panel.
next_generation_creditsNoCredits needed for the requested quality, or null if quality was omitted.

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint. The description adds useful context: it returns a URL, mentions funding apiPackCredits, and explains a key limitation. It does not contradict annotations and provides extra behavioral detail beyond what's in the 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?

Three concise sentences, no fluff. The primary purpose is front-loaded, and every sentence adds relevant information (what, why, when to call).

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 simple read-only tool with an output schema, the description covers purpose, trigger condition, and the only parameter's significance. No missing critical information; the tool is self-contained and appropriate for its 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 explaining that the parameter's purpose influences the response field next_generation_credits, giving meaningful context beyond the schema's enum description.

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 the tool 'Return[s] the Console billing URL so a human can fund apiPackCredits,' specifying both the action and the resource. It differentiates from what the tool is not (Generate-scoped keys cannot create Checkout sessions) and is not a tautology.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells when to call: 'Call this after 402 insufficient_credits.' It also implies the context (when API credits are insufficient) and the constraint that generate-scoped keys can't use Checkout, providing clear usage guidance even without naming sibling tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: story creation, continuation, regeneration, panel listing, story listing, style listing, credit lookup, credit purchase, and job polling. Even the credit-related tools are clearly separated by purchase versus query. There is no meaningful overlap that would confuse an agent.

Naming Consistency5/5

All tools consistently use the manga. prefix with snake_case verb_noun names like create_story, list_panels, and regenerate_panel. The pattern is uniform across the entire set, making the API predictable and easy to navigate.

Tool Count5/5

Nine tools is a well-scoped size for a manga generation server: three creation-oriented tools, three listing tools, two credit tools, and one async job helper. Each tool serves a clear, non-redundant role in the workflow.

Completeness4/5

The core manga creation lifecycle is well covered: create, continue, regenerate, list stories, and list panels, plus style discovery and credit management. The only notable gaps are destructive operations like deleting stories or panels and perhaps a story detail endpoint, but these are not essential to the primary generation workflow.