Skip to main content
Glama

Get VideoGen assistant message

get_assistant_message
Read-onlyIdempotent

Poll the exact messageId returned by start_assistant_chat, send_assistant_message or act_on_assistant_action until succeeded, failed or cancelled. Returns reply text, actions (including requiresApp), errors and any linked generation. Succeeded means this reply finished, not that all project work finished. Poll linked workflowRunId with get_workflow_run and inspect the project before claiming completion.

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": {
      "messageId": "<messageId>"
    },
    "name": "get_assistant_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageIdYesMessage id returned by an assistant write (vg_mesg_...). Keep polling this same id.

Output Schema

NameRequiredDescriptionDefault
roleYes
errorNo
statusYes
actionsNo
contentYes
messageIdYesMessage id returned by an assistant write (vg_mesg_...). Keep polling this same id.
generationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds context those cannot express: terminal states, that the reply is asynchronous and must be polled, what fields come back (reply text, actions including requiresApp, errors, linked generation), and the semantic caveat that reply success does not mean project completion.

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?

Front-loaded with the action, then state, then returns, then the caveat and next step. Every sentence carries unique information; no filler or restatement of the title.

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

Completeness5/5

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

For a single-poll-parameter tool with an output schema, this covers the polling lifecycle, terminal states, result shape at a summary level, and handoff to get_workflow_run. Nothing needed to invoke and interpret it correctly is missing.

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 100%, so baseline is 3, but the description adds provenance for messageId (which calls produce it, in the vg_mesg_... format) and the reuse invariant 'keep polling this same id', which is not obvious from the schema alone.

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 and resource ('Poll the exact messageId...') and pins its role against named siblings: start_assistant_chat, send_assistant_message, act_on_assistant_action produce the id, and get_workflow_run continues the chain. An agent can distinguish it from get_assistant and the write tools without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use (poll the id returned by the three named write calls), an explicit stopping condition (until succeeded, failed or cancelled), an explicit invariant (keep polling this same id), and explicit follow-up routing (poll linked workflowRunId with get_workflow_run, inspect the project). It even warns against a common misinterpretation of 'succeeded'.

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.