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

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
}

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

TDQS

A4.4/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion between tools. The single tool has a clear, distinct purpose.

Naming Consistency5/5

The single tool name 'agentforge_refine_prompt' follows a consistent verb_noun pattern with a server prefix. As there is only one tool, naming consistency is perfect.

Tool Count3/5

Having a single tool is appropriate for the focused purpose of prompt refinement, but it falls on the low end of the typical well-scoped range (3-15 tools). The server could potentially benefit from a few related tools, but the current count is not problematic.

Completeness5/5

The tool fully covers its domain: it refines a coding request with parameters for target tool and style, and returns the refined prompt along with quality and usage information. There are no obvious missing features for its stated purpose.

Maintenance

ActivityInactive
ResponsivenessUnresponsive