Skip to main content
Glama

Respond to VideoGen assistant action

act_on_assistant_action
Destructive

Approve or reject a specific action offered by this assistant. Use its actual actionId and only actions with requiresApp=false. Approvals can edit the existing project or spend credits; ensure the proposed action is authorized by the user. Supply an explicit decision; never approve app-only actions or fabricate ids. Returns messageId for an acknowledgment; read the chat and project to verify the underlying work. For requiresApp=true, direct the user to that same project in the embedded app.

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>",
      "actionId": "<actionId>",
      "decision": "<decision>"
    },
    "name": "act_on_assistant_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionIdYes
decisionYes
assistantIdYesAssistant id returned by start_assistant_chat or get_project (vg_asst_...).

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, and the description goes beyond them by naming the concrete consequences (edits the existing project or spends credits). It also discloses the return value (messageId acknowledgment) and states that the result must be verified by reading the chat and project, which is real behavioral context for a mutating call.

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?

Front-loaded with the core action in sentence one, then escalating caveats about cost/authorization and the app-only fallback. It is dense and mostly waste-free, though it reads as a run-on list of warnings that could be tightened slightly.

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 three-parameter destructive mutation with an output schema, the description supplies everything an agent needs: the authorization precondition, the app-only escape hatch, the id-fabrication hazard, and a post-call verification step. No significant behavioral gap remains.

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 only 33%, and the description compensates by constraining actionId ('use its actual actionId', no fabricated ids, only actions with requiresApp=false) and by insisting on an explicit decision value. The assistantId parameter is left entirely to the schema's own description rather than being explained in prose.

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?

Opening sentence gives a specific verb pair (approve/reject) and a precisely scoped resource (a specific action offered by this assistant), plus the qualifying condition 'requiresApp=false'. It is distinguishable from message-oriented siblings like send_assistant_message and get_assistant_message because it targets an offered action rather than the chat itself.

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?

Explicitly splits the decision space: act here for requiresApp=false, and for requiresApp=true direct the user to the same project in the embedded app. It also adds exclusions ('never approve app-only actions') and preconditions ('ensure the proposed action is authorized by the user').

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.