Skip to main content
Glama

Together AI MCP by usefulapi

Chat completion

together_chat_completion
Destructive

Run a chat completion on a Together model (billed per token). Non-streaming. For a dedicated endpoint pass its <project_slug>/<endpoint_slug> as the model. Together: POST /chat/completions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoSeed for reproducible sampling.
stopNoStop sequences.
modelYesModel name, e.g. meta-llama/Llama-3.3-70B-Instruct-Turbo.
top_kNo
top_pNo
messagesYesThe conversation so far.
max_tokensNoMaximum tokens to generate.
temperatureNo
reasoning_effortNoReasoning effort for reasoning models that support it.
repetition_penaltyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only supply destructiveHint=true, so the description carries most of the behavioral burden and does well: it discloses the non-streaming constraint and the per-token billing model, both real behavioral traits a calling agent must account for. It does not contradict the annotation; it simply omits return-shape details.

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, front-loaded with the core action and constraint, with zero filler. Each sentence earns its place by adding a distinct fact (what it does, streaming behavior, endpoint routing, underlying API).

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

Completeness4/5

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

For a 10-parameter inference tool with no output schema, the description covers the essentials an agent needs to invoke it correctly (billing, non-streaming, endpoint addressing). It does not describe the response shape or sampling-parameter tradeoffs, but those are standard for a chat-completions API.

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

Parameters4/5

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

Schema coverage is 60%, so the schema handles most parameters, but the description adds genuinely non-obvious meaning for 'model' by explaining the `<project_slug>/<endpoint_slug>` form used for dedicated endpoints. The remaining sampling parameters (temperature, top_p, seed, etc.) are left to the schema.

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?

States a specific verb+resource ('Run a chat completion on a Together model') and immediately distinguishes itself from siblings like together_create_embeddings and together_generate_image by naming the exact modality. The scope qualifiers ('Non-streaming', billed per token) sharpen the purpose further.

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?

The description gives practical routing guidance ('For a dedicated endpoint pass its `<project_slug>/<endpoint_slug>` as the model'), which is useful for choosing between a shared model and a dedicated endpoint. However, it never states when to use this tool versus alternatives or any exclusions, leaving that to inference.

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.