Skip to main content
Glama
runapi-ai

Flux MCP Server

by runapi-ai

login

Authenticate RunAPI via browser PKCE login to save your API key for Flux image generation tasks.

Instructions

Authenticate RunAPI by opening a browser PKCE login flow and saving the API key to ~/.config/runapi/config.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoRe-run browser login when the current credential comes from the local config file.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses key behaviors: opening a browser, using PKCE flow, saving to a config file. It lacks details on whether it overwrites existing credentials or if it blocks, but is otherwise transparent for a login action.

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?

A single, well-structured sentence with no superfluous words. Every part adds value, front-loading the action and its result.

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, no output schema, no nested objects), the description is complete. It explains the core functionality and the parameter adequately.

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

Parameters5/5

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

The sole parameter 'force' is well-described in the schema, and the tool description adds context by explaining when it is used ('when the current credential comes from the local config file'). Schema coverage is 100%, and the description enriches understanding.

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 verb 'Authenticate', the resource 'RunAPI', and the method 'PKCE login flow', specifying the output saved to a config file. It effectively distinguishes from sibling tools like text_to_image and get_task.

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

Usage Guidelines3/5

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

The description implies this tool is for authentication before using other tools, but it does not provide explicit guidance on when to use it versus alternatives, nor does it mention prerequisites like browser availability or when a re-login is needed beyond the 'force' parameter.

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/runapi-ai/flux-mcp'

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