Skip to main content
Glama
AbhishekMore-1

LiteLLM MCP Server Bridge

create_embedding

Generate vector embeddings from text or arrays of text using a specified LiteLLM model, enabling semantic search, clustering, and similarity measurements.

Instructions

Generate embeddings using LiteLLM

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesText or array of texts to embed
modelYesThe embedding model to use (e.g., text-embedding-ada-002)
Behavior2/5

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

With no annotations, the description carries the burden of disclosing behavior. It only states the function without mentioning side effects, authentication requirements, rate limits, or return format. 'Generate' implies a creation, but no context is given regarding whether this is a safe read-only operation or incurs costs.

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

Conciseness5/5

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

The description is a single, concise sentence that is front-loaded with the action and resource. It contains no filler or redundant information.

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 two-parameter tool with no output schema and no annotations, the description is too sparse. It does not explain what the output looks like, typical use cases, or call constraints. Given the sibling list includes multiple model-related tools, some differentiation guidance is expected.

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?

The schema description covers 100% of parameters, so the description need not add much. However, it adds no additional meaning beyond the schema—it does not explain how the model and input parameters interact or provide examples.

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 ('Generate') and the resource ('embeddings'), and specifies the framework ('using LiteLLM'). This unambiguously distinguishes it from sibling tools like chat_completion, create_image, and create_speech.

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 is provided on when to use this tool versus alternatives. There is no mention of scenarios, prerequisites, or exclusions relative to other model-related tools.

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/AbhishekMore-1/litellm-proxy-mcp'

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