Skip to main content
Glama

embeddings

embeddings
Read-only

OpenAI-compatible embeddings endpoint (bge-m3, 1024 dimensions, 100+ languages): same request and response shape as OpenAI /v1/embeddings, including encoding_format base64. Up to 100 inputs per call, flat price, no API key: point any OpenAI SDK at https://agentrxi.com/v1 and pay per request with x402. Priced by size and model: $0.003 + 3x the model token cost (bge-m3 is cheapest). Costs $0.143 USDC per call (x402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesText to embed (POST also accepts an array of up to 100 strings)
modelNoIgnored; always bge-m3
encoding_formatNofloat (default) | base64

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered by structured data. The description adds substantive context beyond that: a 100-input-per-call cap, x402 per-request payment with no API key, and the cost model. Auth and rate/limit behavior are disclosed, which is above the annotation baseline.

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?

The core purpose is front-loaded, which is good, but the tail is dense and partly redundant: the general pricing formula ($0.003 + 3x model token cost) and the flat $0.143 USDC per-call figure overlap, and the pricing detail crowds out the more decision-relevant sibling routing.

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?

There is no output schema, and the description compensates by stating the response shape matches OpenAI /v1/embeddings including base64, which is the key return-format fact. Combined with input limits and auth, an agent has enough to call it correctly; only the sibling-disambiguation gap remains.

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 all three parameters are already documented; the description largely restates them (base64 encoding_format, array-of-100 inputs, model ignored). It does confirm that POST accepts an array, but adds little syntax or format detail beyond the schema, matching the baseline 3.

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 names a specific resource (embedding endpoint) and pins down the implementation: OpenAI-compatible shape, bge-m3 at 1024 dimensions, 100+ languages. It is clear what the tool does, but it never distinguishes itself from close siblings like embed, vectors, or rerank, so an agent cannot resolve the overlap from the text alone.

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

Usage Guidelines3/5

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

It gives practical usage context ('point any OpenAI SDK at https://agentrxi.com/v1', 'no API key'), which helps an agent invoke it, but provides no when-to-use-vs-alternative guidance despite several near-duplicate embedding/vector siblings in the same server. Usage is implied rather than directed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources