Skip to main content
Glama

Check Pollinations Balance

pollinations_check_balance
Read-onlyIdempotent

Check your Pollinations pollen balance or API key budget to avoid failed generations. Use before expensive image/video requests to confirm sufficient credits.

Instructions

Check the authenticated Pollinations pollen balance or API key budget by calling /account/balance. Use this before expensive image/video generation when the user asks about available pollen, credits, budget, or why a generation may be failing with payment/balance errors. Requires POLLINATIONS_API_KEY in the MCP client's env block. Args: - response_format (string, optional, default markdown): markdown for readable balance output, json for raw account/budget response. Returns: The remaining pollen balance or API key budget fields returned by Pollinations. Error handling: 401 means the MCP server is missing POLLINATIONS_API_KEY or the key is invalid. 403 means the key lacks account:usage permission. 402 on generation tools means insufficient pollen, so use this tool to confirm the balance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
response_formatNoMCP response format: markdown for readable balance output, json for raw Pollinations account response.markdown
Behavior5/5

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

Annotations already declare readOnly, idempotent, and non-destructive behavior. The description adds critical context beyond that: the requirement for POLLINATIONS_API_KEY in the MCP client's env block, and detailed HTTP error semantics (401/403/402). This equips the agent for real-world deployment and troubleshooting.

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 well-structured with clear sections for purpose, usage timing, auth, args, returns, and errors. Every sentence conveys necessary information without fluff or redundancy, making it dense yet easily parsed.

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?

Given the tool's simplicity (one optional parameter, read-only, no output schema), the description covers all relevant aspects: what it does, when to use it, required environment setup, what it returns, and error handling. An agent has everything needed to invoke it correctly and interpret results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already fully describes response_format with enum values, default, and a description. The tool description's arg explanation ('markdown for readable balance output, json for raw account/budget response') essentially restates the schema's description without adding new meaning, so it meets the baseline but adds no extra semantic value.

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 ('Check') and names the exact resource ('Pollinations pollen balance or API key budget') plus the underlying endpoint ('/account/balance'). This clearly differentiates it from the sibling generation and model-listing tools.

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 states when to use: 'Use this before expensive image/video generation when the user asks about available pollen, credits, budget, or why a generation may be failing with payment/balance errors.' This gives actionable, context-rich guidance that an agent can directly apply.

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/pinkpixel-dev/nectar-mcp'

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