Skip to main content
Glama
nirholas

@three-ws/ibm-x402-mcp

by nirholas

IBM Granite Embed ($0.005)

ibm_granite_embed
Read-onlyIdempotent

Generate embedding vectors for semantic search, RAG retrieval, and similarity scoring using IBM Granite models. Supports up to 64 texts per call with no IBM Cloud account required.

Instructions

Generate embedding vectors for one or more texts using IBM Granite (default: ibm/granite-embedding-278m-multilingual). Returns one float array per input, suitable for semantic search, RAG retrieval, and similarity scoring. Up to 64 texts per call. No IBM Cloud account required — pay $0.005 USDC per call via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoOverride the embedding model id (e.g. ibm/granite-embedding-125m-english). Defaults to ibm/granite-embedding-278m-multilingual.
inputsYesTexts to embed. 1–64 strings per call, up to 8,000 characters each.
Behavior4/5

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

Annotations (readOnlyHint, openWorldHint, idempotentHint) declare safety and idempotency. The description adds context: uses IBM Granite model with a specified default, returns float arrays per input, and notes no IBM Cloud account required. This is non-contradictory and enhances transparency.

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 two sentences, front-loading the essential purpose and key constraints. Every word adds value; there is no redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple embedding tool with full schema and annotations, the description covers return type (float array), limits, cost, default model, and use cases. No output schema exists, but the description adequately explains output. Completeness is high.

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 the schema already documents both parameters. The description adds the default model string and reiterates limits (1-64 texts, 8000 characters), which is helpful but only marginally extends schema information. Baseline 3 is appropriate.

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 uses precise language: 'Generate embedding vectors for one or more texts' and specifies the default model, output format (float array), and use cases (semantic search, RAG retrieval, similarity scoring). It clearly distinguishes from sibling tools like ibm_granite_chat or ibm_granite_code.

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 states the maximum number of texts (64) and the cost model ($0.005 USDC per call via x402), providing practical usage guardrails. It does not explicitly mention when not to use or alternatives, but the sibling names make the distinction clear.

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/nirholas/ibm-x402-mcp'

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