Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGENTFORGE_API_KEYYesRequired. Your API key.
AGENTFORGE_API_URLNoOverride the endpoint (rarely needed).https://agentforge.sciscale.org/api/v1/refine

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
agentforge_refine_promptA

Turn a rough, plain-language coding request into a structured, tool-tuned prompt for an AI coding agent.

AgentForge extracts the real requirements, fills in missing edge cases, formats the prompt for the target agent's conventions, and runs it through a Quality Engine before returning it. Reach for this when a request is vague or under-specified and you want a sharper prompt before handing it to a coding agent.

Args:

  • request (string, required): the coding task in plain language, 1-4000 chars.

  • target_tool (string): one of claude-code, codex, cursor, aider, continue, windsurf, kimi, generic. Default: claude-code.

  • style (string): plan-first, direct-edit, or explore-first. Default: plan-first.

Returns the refined prompt as text. structuredContent additionally carries: { "prompt": string, "tier": "free" | "pro", "quality": { "score": number, "max_score": number, "passed": boolean } | null, "usage": { "used_today": number, "limit": number | null } }

Errors are returned as text, e.g.:

  • "API key not configured" — set AGENTFORGE_API_KEY.

  • "invalid or revoked API key" (401) — check the key at agentforge.sciscale.org.

  • "daily free limit reached" (429) — upgrade to Pro for unlimited calls.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/sciscale-studio/agentforge-mcp'

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