Skip to main content
Glama
surplus-mcp

surplus-mcp

Official
by surplusrh

Run inference on Surplus

chat

Send a prompt or full conversation to an open or frontier LLM and get its reply, billed to your configured API key. Call list_models first to pick a model id.

Instructions

Send a prompt to a model on Surplus and return its reply. Billed to the configured API key. Pass prompt for a single turn, or messages for a full conversation. Call list_models to pick a model id.

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

Input Schema

NameRequiredDescriptionDefault
modelNoModel id, e.g. "qwen/qwen3.8-flash"
promptNoUser message for a single-turn request
systemNoOptional system prompt, used with `prompt`
messagesNoFull conversation; overrides prompt/system
max_tokensNo
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already flag the operation as non-read-only and open-world, so safety is covered. The description adds genuine value by disclosing that usage is billed to the configured API key, but it omits what happens when neither `prompt` nor `messages` is supplied despite zero required parameters, and says nothing about default model selection.

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?

Three short sentences with the core action first, then the mode rule, then the model-id prerequisite. Nothing is redundant and no sentence is filler.

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

Completeness3/5

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

For a six-parameter inference call with no output schema, the definition covers the essentials of how to invoke it. However, with no required parameters it leaves the agent guessing what a bare call with neither message field does, which is a material gap for this call shape.

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 sits at 67%, so the description must compensate and it does partially — the single-turn-versus-conversation split adds meaning over the raw property list. It does not explain that `messages` overrides `prompt`/`system` (only the schema says so) and leaves `max_tokens` and `temperature` entirely undiscussed.

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 definition opens with a specific verb and resource: send a prompt to a model and return its reply. 'On Surplus' scopes it to a platform, and the mention of list_models makes clear this is an inference sibling to the listing/account tools.

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?

It gives explicit mode selection — `prompt` for a single turn, `messages` for a full conversation — and routes the agent to list_models before choosing a model id. There are no stated exclusions or failure conditions, so it stops just short of full guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools