Skip to main content
Glama
itsablabla

perplexity-control-mcp

by itsablabla

embeddings_create

Generate dense vector embeddings for semantic search, similarity comparison, and RAG. Converts text strings into base64-encoded vectors for retrieval applications.

Instructions

Generate dense vector embeddings for one or more text strings (POST /v1/embeddings). Use for semantic search, similarity comparison, or retrieval-augmented generation (RAG). Returns vectors in base64 format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesText string or array of strings to embed.
modelNoEmbedding model. '0.6b' is faster and cheaper; '4b' produces higher quality vectors.pplx-embed-v1-0.6b
dimensionsNoOutput vector dimensions (128-2560). Defaults to model's native dimensionality.
encoding_formatNoEncoding format for the returned embedding vectors.
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the endpoint and that vectors are returned in base64 format, but omits potential behavioral details such as statelessness, authentication requirements, input limits, or error behavior. The base64 note adds value but the description is not rich.

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?

Three sentences: purpose with endpoint, use cases, and return format. Each sentence earns its place, is front-loaded, and contains no filler.

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?

There is no output schema, so the description must explain return values. It mentions base64 vectors but does not describe the response object structure (e.g., data array, index, usage). For a tool with four parameters and no nested objects, this is adequate but leaves gaps.

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 has 100% coverage with descriptions for all parameters. The description does not add meaning beyond the schema, so the baseline of 3 is appropriate.

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 generates dense vector embeddings for text strings, with specific use cases (semantic search, similarity, RAG). It does not explicitly distinguish itself from the sibling tool embeddings_contextualized, so it misses the top score for sibling differentiation.

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

Usage Guidelines4/5

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

The description provides explicit use cases (semantic search, similarity comparison, RAG) making the intended context clear. However, it does not mention when not to use this tool or suggest alternatives like embeddings_contextualized, so it stops short of a 5.

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/itsablabla/perplexity-control-mcp'

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