Skip to main content
Glama
prismeai

Prisme.ai MCP Plugin

Official
by prismeai

ai_knowledge_completion

Generate text completions directly from LLMs without RAG. Supports chat, OpenAI-compatible endpoints, embeddings, and model listing.

Instructions

Legacy AI Knowledge API: direct LLM completion without RAG. For new direct model calls, use LLM Gateway v1/chat/completions or v1/embeddings.

Methods:

  • chat: Simple completion using project's configured prompt/model

  • openai: OpenAI-compatible chat completions endpoint

  • embeddings: Generate embeddings for text

  • models: List available models configured in the project

IMPORTANT: Before changing a model in a legacy AI Knowledge project, always call this tool with method='models' first to retrieve the list of available models and verify the model name exists.

Requires a legacy AI Knowledge project API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputNoText input for embeddings
modelNoModel name to use
apiKeyYesLegacy AI Knowledge project API key
methodYesCompletion method to use
promptNoUser prompt (for chat method)
streamNoEnable streaming (not recommended for MCP)
messagesNoMessages array (for openai method)
projectIdNoLegacy AI Knowledge project ID
dimensionsNoEmbedding dimensions
max_tokensNoMaximum tokens to generate
environmentNoOptional environment name (from PRISME_ENVIRONMENTS) to use specific API URL
temperatureNoTemperature for generation (0-2)
Behavior3/5

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

No annotations are provided, so the description carries full burden. It mentions legacy status, required API key, and that streaming is not recommended for MCP. However, it does not disclose rate limits, error behavior, response format, or side effects beyond the method descriptions. This is adequate but not thorough.

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 front-loaded with a clear summary, then enumerates methods, and includes a highlighted important note. It is moderately concise; every sentence serves a purpose, though some details could be tightened.

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

Completeness4/5

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

Given 12 parameters, 4 methods, and no output schema or annotations, the description is fairly complete. It explains tool purpose, usage, prerequisites, and the models pre-check. Absence of return value details is a minor gap, but overall adequate for the complexity.

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?

Schema coverage is 100% with all parameters described. The description adds context beyond the schema by explaining the methods and providing an important note about the 'models' method. This adds value, raising it above the baseline of 3.

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 tool is a legacy AI Knowledge API for direct LLM completion without RAG. It lists distinct methods (chat, openai, embeddings, models) and contrasts with the newer LLM Gateway, making the purpose and scope immediately clear.

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

Usage Guidelines5/5

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

Explicitly directs users to use LLM Gateway for new direct model calls, providing an alternative. Also includes an important usage rule: before changing a model, call with method='models' to verify availability. This gives clear when-to-use and when-not-to-use guidance.

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/prismeai/prismeai-mcp-debug'

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