Skip to main content
Glama

FMF Tools AI

embeddings

Text embeddings (multilingual) ($0.0005 per call, paid via MPP on Tempo). Dense vector embeddings for up to 100 texts per call (BAAI bge-m3, 1024 dimensions, 100+ languages, MIT licence), L2-normalised for cosine similarity. OpenAI-style response (data[i].embedding). HTTP POST https://mpp-ai.fmf-x402.workers.dev/mpp/embeddings. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "embeddings"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNo
textsNoup to 100 texts, 8,000 chars each
normalizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does a good job: it discloses cost ($0.0005 per call), the payment mechanism, that the wrapper does not settle payment itself, the required Payment Authorization header, the model, dimensionality, normalization, and the OpenAI-style response shape. It omits rate limits, batching error behavior, and what happens when both 'text' and 'texts' are supplied.

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?

A single dense block that front-loads the resource and cost before mechanics, with no filler sentences. The raw HTTP endpoint URL is arguably operational noise for an MCP caller, but it earns its place by explaining the mppx fallback route.

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 no annotations and no output schema, the description supplies pricing, auth, model identity, vector format, and response shape, which is close to what an agent needs. The remaining gap is ambiguity between the 'text' and 'texts' parameters, which materially affects how the tool is invoked.

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 coverage is only 33%, so the description must compensate: it documents the 100-text ceiling and implies that 'normalize' (default true) is why vectors are L2-normalised. However, the singular 'text' parameter is never explained, nor is its precedence relative to 'texts', nor per-text char limits (8,000 chars appears only in schema). Partial compensation for a low-coverage schema.

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?

Names the resource (text embeddings), the concrete output (dense vectors, 1024 dims), and the underlying model (BAAI bge-m3), so an agent knows exactly what it produces. It does not explicitly contrast itself with the sibling tools chat/rerank/translate, leaving the agent to infer the difference.

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?

Deployment context is implied (embeddings for up to 100 texts, L2-normalised for cosine similarity), which hints at retrieval similarity use cases. The only routing guidance given is about payment ('use mppx against the HTTP route' as an alternative to the Authorization header), not about when to pick this tool over rerank or chat, so the when-to-use guidance is only implied.

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