Skip to main content
Glama
nirholas

@three-ws/ibm-x402-mcp

by nirholas

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WATSONX_URLNoIBM watsonx.ai URL (default: https://us-south.ml.cloud.ibm.com).
WATSONX_API_KEYYesIBM Cloud API key for watsonx.ai.
WATSONX_MODEL_IDNoGranite model ID for chat (default: ibm/granite-3-8b-instruct).
WATSONX_SPACE_IDNowatsonx.ai deployment space ID (alternative to WATSONX_PROJECT_ID).
WATSONX_PROJECT_IDNowatsonx.ai project ID (alternative to WATSONX_SPACE_ID).
X402_FACILITATOR_URLNox402 facilitator URL (default: https://facilitator.payai.network).
X402_FEE_PAYER_SOLANANoSolana address of the fee payer (default: three.ws fee payer).
WATSONX_EMBED_MODEL_IDNoGranite embedding model ID (default: ibm/granite-embedding-278m-multilingual).
MCP_SVM_PAYMENT_ADDRESSYesSolana wallet address to receive USDC payments.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
ibm_granite_getting_startedA

FREE — start here. Returns an overview of this server: the IBM Granite tools available, their per-call USDC prices, how the x402 pay-per-call flow works, setup requirements, and runnable example calls. No payment required. Call this first to orient before invoking a paid tool.

ibm_granite_chatA

Chat completion powered by IBM Granite foundation models (default: ibm/granite-3-8b-instruct). Send a conversation as role/content message pairs and receive the assistant reply with token usage. No IBM Cloud account required — pay $0.02 USDC per call via x402.

ibm_granite_codeA

Code generation, review, refactoring, and explanation via IBM Granite instruct models. Provide a task type and code/prompt; receive the generated or reviewed code with explanation. No IBM Cloud account required — pay $0.025 USDC per call via x402.

ibm_granite_embedA

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.

ibm_granite_analyzeA

Structured document analysis powered by IBM Granite: extract entities, sentiment, risk signals, a concise summary, and recommended next steps from any text (contracts, reports, emails, code reviews, etc.). Returns a machine-readable JSON analysis. No IBM Cloud account required — pay $0.04 USDC per call via x402.

ibm_granite_forecastA

Zero-shot time-series forecasting via IBM Granite TTM (Tiny Time Mixer). Provide a numeric series with ISO-8601 timestamps and a cadence, receive the forecast horizon. No training required. Suitable for revenue, traffic, sensor, energy, and financial series. No IBM Cloud account required — pay $0.05 USDC per call via x402.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.3/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a uniquely defined purpose (analysis, chat, code, embedding, forecasting, and getting started) with no ambiguity between them. An agent can easily distinguish which tool to invoke.

Naming Consistency5/5

All tool names follow the consistent pattern 'ibm_granite_<action>', using snake_case and a clear verb describing the operation. This pattern is uniform across all 6 tools.

Tool Count5/5

The server has 6 tools, which is well-scoped for a focused MCP server offering IBM Granite model capabilities. Each tool covers a distinct use case without being overwhelming or insufficient.

Completeness4/5

The tool set covers common AI tasks (chat, code, analysis, embeddings, forecasting) and includes a getting started guide. Minor gaps like model customization or batch operations are absent, but core functionality is complete for the stated purpose.

Maintenance

ActivitySlowing
ResponsivenessNo issues