Skip to main content
Glama
physics91

AI API MCP Server

by physics91

Generate

generate

Create code, text, documentation, or tests from a prompt using AI models and providers.

Instructions

Generate content using AI models

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesModel ID to use
promptYesGeneration prompt
languageNoProgramming language (for code generation)
providerNoOptional provider name
frameworkNoFramework/library (for code generation)
generation_typeYesType of generation ('code', 'text', 'documentation', 'test')

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing: no side-effect profile, no auth/permission requirements, no cost or rate-limit implications, no note about model/provider selection behavior. It repeats only that models are involved.

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

Conciseness3/5

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

It is a single short sentence with no padding, but it is so thin that concision comes at the cost of usefulness for a tool with six parameters. Appropriately front-loaded but under-specified.

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?

For a six-parameter tool with three required inputs and no annotations, the description omits far too much: no mention of the required fields, the generation_type options, or how it differs from 'chat'. The existence of an output schema excuses it only from explaining return values, not from this gap.

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 description coverage is 100%, so the six parameters (including the required prompt, generation_type, and model, and the generation_type value list) are already documented in the schema. The description adds no parameter meaning beyond that, so the baseline of 3 applies.

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

Purpose3/5

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

The description gives a verb ("Generate") and a vague resource ("content") plus the mechanism ("using AI models"), but "content" is broad enough to overlap with the sibling 'chat', and nothing distinguishes this tool from it. The purpose is inferable but not sharp.

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

Usage Guidelines2/5

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

No guidance on when to use this versus the sibling tools 'chat', 'compare', or 'analyze', and no mention of any prerequisite or context. The agent is left to guess the routing entirely.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools