Skip to main content
Glama

create_chat_completions

Call the documented chat completions endpoint for a Vika assistant to generate AI responses. Provide the assistant ID and payload to send a request and return the completion result.

Instructions

Call the documented chat completions endpoint under /fusion/ai/{assistantId}/chat/completions.

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": {
      "assistantId": "<assistantId>"
    },
    "name": "create_chat_completions"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadNo
assistantIdYesAssistant ID from the official API path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and openWorldHint=false, so the agent knows this is a non-read, closed-world operation. The description adds essentially nothing behavioral: no statement about what the endpoint does with the payload, whether state is persisted, whether billing/rate limits apply, or what the response looks like. It does not contradict the annotations, but it carries none of the burden beyond them.

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

Conciseness3/5

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

It is a single, front-loaded sentence with no filler, so there is nothing to trim. However, brevity here is under-specification rather than efficiency — the one sentence restates the endpoint path and stops short of any information an agent would need to build a payload.

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?

The tool takes a free-form nested payload with no output schema and a mutation-flagged annotation, which is the exact case where the description must carry the load. Instead it supplies only a URL path, leaving payload construction, authorization needs, and response shape entirely unexplained. For a complex, high-variance tool this is materially incomplete.

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?

Schema description coverage is 50%: assistantId is documented in the schema, but `payload` is an unconstrained nested object with no description anywhere. The description's reference to the 'documented' chat completions endpoint gives a faint hint that the payload follows a documented chat format, but it never names fields (messages, model, temperature, etc.) or constraints. The most consequential parameter of the tool is left completely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Call') and resource (the chat completions endpoint at /fusion/ai/{assistantId}/chat/completions), so the general intent is inferable. But 'documented' outsources the actual meaning to external documentation, and it never says what the call does in functional terms (send a conversation to an assistant and receive a completion). Its purpose is distinct from the datasheet/records siblings, but that is obvious from the name alone rather than from the description.

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 guidance on when to use this tool, when not to, or what alternatives exist for related tasks. No prerequisites are stated — the agent is not told it needs a valid assistant ID, an existing assistant, or any authentication context. Usage is left entirely to inference from the tool name and path.

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