Skip to main content
Glama

Chat with the AI agent

asks_chat

Sends a message to the workspace's AI agent and returns its full reply (no streaming). This is NOT a sandbox: every call is a real conversation on the API channel — it spends AI credits (essential 1, pro 4, ultra 8 per reply) and appears in the Asks inbox. Pass conversation_id from the previous reply to continue a thread; omitting it starts a new conversation each time. Never call it just to check the connection (use asks_whoami). Requires the API channel to be on (AI Agent → Deploy) and the Premium plan.

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": {
      "message": "<message>"
    },
    "name": "asks_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesThe message, as the customer would write it.
customerNoOptional identity for a NEW conversation (ignored when continuing).
conversation_idNoContinue this API-channel conversation (from a previous reply).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that every call spends AI credits with tier-specific costs, appears in the Asks inbox, is non-streaming, and starts a new conversation when conversation_id is omitted. These side effects and prerequisites are exactly the behavior an agent needs before invoking a non-idempotent, open-world tool.

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?

The description is dense but well structured, front-loading the core action and reply behavior before cost, threading, exclusions, and prerequisites. Every sentence carries useful information, though the density of details makes it slightly heavy for a single description.

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 non-idempotent, open-world tool with no output schema, the description covers the return behavior, cost model, side effects, threading, alternative tool, and environment prerequisites. There is no material gap for an agent to call it correctly.

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 parameter definitions are already rich. The description still adds meaningful semantics beyond the schema: passing conversation_id continues a thread, omitting it starts a new conversation each time, and the customer identity applies only to new conversations.

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?

The description states a specific action, resource, and scope: it sends a message to the workspace's AI agent and returns the full non-streamed reply. It explicitly distinguishes itself from asks_whoami and clarifies that the call is a real API-channel conversation rather than a sandbox.

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?

It gives explicit when-to-use guidance for conversation_id, explains that omitting it starts a new conversation, and names asks_whoami as the correct alternative for connection checks. It also states the required API channel and Premium plan prerequisites.

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.

Resources