Skip to main content
Glama

promptarch_generate_artifact

Generate an AI agent context artifact (e.g. context_pack, claude_md) from a project description. Requires a PromptArch API key configured as an Authorization: Bearer pk_... header on this MCP server. Consumes credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
artifactYesArtifact id. See promptarch_list_artifact_types. Other Studio artifact types need artifact-specific inputs this tool does not accept.
commandsNo
tech_stackNo
project_nameYes
target_modelNoTarget model family (default Claude).
repo_structureNoDirectory tree or structure summary. Max 1900 chars: summarize a large repo rather than pasting a full tree.
coding_conventionsNoConventions, invariants, house rules. Max 1900 chars.
project_descriptionYes

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description bears full responsibility. It discloses the need for authentication and credit consumption, which is useful. However, it does not mention other behavioral traits such as idempotency, error behavior, rate limits, or whether the tool is destructive, leaving gaps in the agent's understanding of side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, consisting of two clear sentences plus a reference. It front-loads the purpose and follows with requirements. No unnecessary words, but a slightly more structured format (e.g., bullet points for requirements) could improve scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 8 parameters, 3 required, no output schema, and no annotations, the description is insufficient. It does not explain how the inputs are used to generate the artifact, what the output looks like, or how the artifact will be consumed. The mention of credit consumption and API key is good, but overall context is lacking for a complex tool.

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?

Schema coverage is 50% (4 of 8 parameters have descriptions). The description adds value by referencing 'promptarch_list_artifact_types' for the 'artifact' parameter, but otherwise does not elaborate on parameters lacking schema descriptions (e.g., 'commands', 'tech_stack'). The baseline of 3 is appropriate since the description moderately supplements the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: 'Generate an AI agent context artifact... from a project description.' It provides specific examples like 'context_pack' and 'claude_md', making the resource type clear. However, it does not explicitly distinguish this tool from siblings like promptarch_lint_artifact or promptarch_list_artifact_types, though the verb 'generate' and examples hint at the difference.

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 mentions prerequisites ('Requires a PromptArch API key...') and cost ('Consumes credits'), which are important usage constraints. However, it lacks guidance on when to use this tool versus alternatives (e.g., when to generate vs. list or lint), and does not provide exclusions or best practice context.

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

A3.9/5.0
Disambiguation5/5

Each tool has a distinct purpose: generate an artifact, lint an artifact, and list artifact types. There is no overlap or ambiguity.

Naming Consistency5/5

All tools follow the consistent pattern 'promptarch_verb_noun' (generate_artifact, lint_artifact, list_artifact_types). The slight variation for listing types is still clear and predictable.

Tool Count4/5

With only 3 tools, the server is minimal but sufficient for its focused domain of PromptArch artifact generation and linting. It could benefit from additional tools like update or delete, but the count is not inappropriate.

Completeness4/5

The tool set covers the core operations: generation, linting, and listing available types. Missing are update or deletion tools, but these may not be necessary given the artifact lifecycle implied.

Resources