Skip to main content
Glama

wanyra_chat

Send prompts to Wanyra text and reasoning models via an OpenAI-compatible chat completions endpoint. Provide model, prompt, and optional settings; requires WANYRA_API_KEY.

Instructions

Call any Wanyra text/reasoning model (Claude, GPT, Gemini, DeepSeek, Qwen, Grok) via OpenAI-compatible /v1/chat/completions. Requires WANYRA_API_KEY.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model": "<model>",
      "prompt": "<prompt>"
    },
    "name": "wanyra_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesModel ID such as star1age-deepseek-v4.1-flash or star1age-claude-sonnet-5.5.
promptYesUser message prompt.
systemNoOptional system prompt.
max_tokensNo
temperatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two useful behavioral facts: the API-key prerequisite and that the call follows OpenAI-compatible /v1/chat/completions semantics, which tells the agent the request/response shape. It omits that this is a billable generation call with variable latency, that a sibling exists for estimating cost, and nothing about error or rate-limit behavior.

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

Conciseness4/5

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

Two dense sentences with the capability and endpoint front-loaded and the auth requirement last; nothing is wasted. The vendor-name parenthetical is slightly listy but does communicate model routing at a glance.

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 5-parameter network call with no annotations and no output schema, the description is adequate but thin: the OpenAI-compatible reference partly covers the return shape, yet nothing is said about response content, token/cost implications, or failure modes. An agent could invoke it but would lack context for planning around cost or errors.

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 60%: model, prompt, and system are documented in the schema, while max_tokens and temperature rely on their numeric bounds. The description adds no parameter meaning at all, so it neither compensates for the gap nor earns credit above baseline.

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?

States a specific verb and resource ('call any Wanyra text/reasoning model') and grounds it in the OpenAI-compatible /v1/chat/completions endpoint, which implicitly separates it from the image, video, cost, and model-listing siblings. What it doesn't do explicitly is name those siblings, so differentiation is inferential rather than stated.

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?

Usage context is only implied: an agent can infer this is the text/chat path because of the endpoint and the model families listed. There is no explicit when-to-use versus wanyra_estimate_cost or wanyra_list_models, and no guidance on checking model IDs before calling. The one concrete prerequisite given is the WANYRA_API_KEY requirement.

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