Skip to main content
Glama

create_llm

Configure a custom large language model by specifying provider, model, API key, and parameters like temperature and max tokens.

Instructions

Create a custom LLM configuration.

Args: name: Display name for the LLM provider: LLM provider (e.g., "openai", "anthropic") model: Model name (e.g., "gpt-4", "claude-3") api_key: API key for the provider base_url: Custom base URL (for self-hosted models) temperature: Sampling temperature max_tokens: Maximum output tokens

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
providerYes
modelYes
api_keyNo
base_urlNo
temperatureNo
max_tokensNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It states the tool creates a configuration but does not mention side effects, idempotency, error behavior, or any constraints beyond parameter descriptions. The description merely repeats parameter info without adding behavioral context.

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 with a single introductory sentence and a documented list of args. It is front-loaded with the purpose. The list could be more compact, but it is clear and well-structured.

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

Completeness3/5

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

The description covers all 7 parameters with basic explanations, which is adequate for a creation tool. However, it lacks context on error cases, uniqueness constraints, or return value format (though an output schema exists). Behavioral aspects like idempotency are missing, making it moderately complete.

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

Parameters4/5

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

With 0% schema description coverage, the description adds meaning to all parameters (e.g., 'Display name for the LLM', 'Custom base URL'). However, some explanations are minimal (e.g., 'Sampling temperature' lacks range or default). Overall, it compensates well for the missing schema descriptions.

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 action 'Create' and the resource 'custom LLM configuration'. It distinguishes from sibling tools like 'update_llm' and other 'create_*' tools that create different entity types (e.g., avatar, persona).

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?

The description implies that the tool is used to create an LLM configuration but provides no explicit guidance on when to use it versus alternatives (e.g., update_llm, other creation tools). There are no when-not-to-use conditions or examples.

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/anam-org/anam-mcp'

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