Skip to main content
Glama

spraay_compute_embeddings

Generate text embeddings for retrieval-augmented generation, semantic search, and clustering. Each request costs $0.005 USDC.

Instructions

Generate text embeddings via Spraay Compute. For RAG, semantic search, clustering. Costs $0.005 USDC.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesText string or array of strings to embed
modelNoEmbedding model (default 'auto')auto

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the gateway call succeeded; false when it returned an error.
dataNoThe gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block).
errorNoHuman-readable error message, present only when ok is false.
Behavior4/5

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

Annotations already indicate non-destructive behavior (destructiveHint=false, readOnlyHint=false). The description adds valuable context: cost ($0.005 USDC) and that it uses 'Spraay Compute', which implies a paid service. This goes beyond what annotations provide.

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?

Two sentences that efficiently convey the core action, use cases, and cost. No unnecessary words; front-loaded with the primary purpose.

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?

For a tool with two parameters and an output schema, the description covers what it does, why it's used, and cost. It could mention the output format (e.g., vector array) but the output schema likely handles that. Overall, it is complete enough for agent selection.

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 100%, and the description does not add further meaning beyond what the schema already describes (input string/array, model default). Baseline 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 text embeddings and lists use cases (RAG, semantic search, clustering). However, it does not explicitly differentiate from sibling tools like spraay_bittensor_embeddings, which likely serve a similar purpose.

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?

The description mentions typical use cases (RAG, semantic search, clustering), implying when to use it, but provides no guidance on when not to use it or alternatives (e.g., bittensor_embeddings).

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/plagtech/spraay-x402-mcp'

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