Skip to main content
Glama

Inference chat

inference_chat
Read-only

OpenAI-compatible LLM chat completions API by Moonbeam (base URL https://inference.Moonbeam.dev/v1): 59 models (qwen, deepseek, glm, inkling, kimi, gemma, gpt, ling), streaming, tools and JSON mode. Pay per call in USDC with x402 on Base, Arbitrum One, Arc, Robinhood Chain, Monad, Avalanche C-Chain, Incentiv, Solana or. One call is 0.001 USDC, paid with x402 on Base.

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": "inference_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful behavior beyond that: per-call pricing (0.001 USDC), the x402 payment mechanism, supported settlement chains, and streaming/tools/JSON-mode support. However, it omits failure modes, rate limits, latency, and what a response looks like, and the chain list is visibly truncated ('Solana or.').

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single run-on sentence with duplicated, near-identical pricing statements ('Pay per call in USDC with x402 on Base ...' repeated as 'One call is 0.001 USDC, paid with x402 on Base'), a truncated chain list, and a stray 'or.'. The feature list is buried mid-sentence rather than front-loaded.

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

Completeness2/5

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

With no output schema and an empty input schema, the description carries the full burden of explaining the call and return shape, and it does not. An agent knows the cost and the provider but not what to send or what comes back, which is inadequate for an inference tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema is an empty object with no properties, and the description does not explain how a chat request is actually conveyed — there is no mention of messages, model selection, temperature, or streaming flags. For a chat completions endpoint, a zero-parameter schema is a meaningful gap rather than a neutral baseline, and the description does nothing to compensate.

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 and capability: an OpenAI-compatible LLM chat completions API, with the provider, base URL, model families (qwen, deepseek, glm, kimi, gemma, gpt) and features (streaming, tools, JSON mode). An agent can tell it is an inference endpoint rather than a search or chain tool, though it never explicitly contrasts itself with the similarly-named siblings text_generate or inference_metered.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance. The description never says to prefer this over text_generate, chat_word_count, or inference_metered, nor does it state any preconditions for calling it. Usage is only inferable from the phrase 'chat completions'.

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