Skip to main content
Glama

a2ui_send

Send more A2UI messages to a session from a2ui_open and return the screen after them. The result says how many were applied and lists each refused message with the reason.

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": {
      "session": "<session>",
      "messages": "<messages>"
    },
    "name": "a2ui_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionYesSession from open_app
messagesYesA2UI messages to apply in order

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With annotations only covering readOnly/destructive hints, the description adds real behavioral detail: messages are applied in order, the screen is returned afterwards, and the outcome is partial-friendly — a count of applied messages plus each refused message with a reason. It does not explain why messages get refused, whether a session survives a full refusal, or the message format expected.

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?

Two short sentences, front-loaded with the action and followed by the return contract. No filler and nothing redundant to the annotations.

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?

A two-parameter write tool with no output schema, and the description still covers the observable result (post-application screen, applied count, per-message refusals). Only the expected message payload shape remains undocumented, which matters for a free-form object array.

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 coverage is 100% for both parameters, so the schema already documents 'session' and 'messages'. The description repeats the ordering semantics ('after them' / applied in order) already present in the schema, and its reference to a2ui_open slightly conflicts with the schema's 'Session from open_app', adding confusion rather than clarity.

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 ('Send more A2UI messages to a session') and anchors the session to its origin tool (a2ui_open). 'More' signals it is a continuation of a2ui_open rather than an entry point, though it does not differentiate itself from a2ui_actions or say what an A2UI message is.

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 prerequisite ('a session from a2ui_open') is implied clearly enough that an agent knows a session must exist first. There is no explicit guidance on when to use this instead of related tools such as a2ui_actions, and no statement about what happens on an invalid session.

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.