Skip to main content
Glama

Continue an agent test

continue_agent_test

Send a follow-up message in a preview conversation test_agent started, and wait (up to about 25 seconds) for the agent's answer. With pending: true, read the answer with list_messages after a few seconds; don't ask again. When stillLearning is set, Aide is still reading the website and found nothing yet: tell the user, ask them meanwhile for the facts customers ask most and save each with add_knowledge_article, and test again after the minutes it gives. When sources is empty otherwise, the agent found nothing to answer from: add it with add_knowledge_article and test again.

Input Schema

NameRequiredDescriptionDefault
textYesThe customer's message.
agentIdYesThe agent id, from list_agents.
conversationIdYesThe preview conversation's id, from test_agent.

Output Schema

NameRequiredDescriptionDefault
replyYes
pendingYes
sourcesYes
handedOverYes
stillLearningYes
conversationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / stillLearning
      Added value: +{
      +  "properties": {
      +    "minutesLeft": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "pagesOutOf": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "pagesSoFar": {
      +      "type": "integer"
      +    },
      +    "site": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "tellUser": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "site",
      +    "pagesSoFar",
      +    "pagesOutOf",
      +    "minutesLeft",
      +    "tellUser"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "conversationId",
      -  "reply",
      -  "handedOver",
      -  "sources",
      -  "pending"
      -]New value: +[
      +  "conversationId",
      +  "reply",
      +  "handedOver",
      +  "sources",
      +  "pending",
      +  "stillLearning"
      +]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "conversationId": {
      +      "type": "string"
      +    },
      +    "handedOver": {
      +      "type": "boolean"
      +    },
      +    "pending": {
      +      "type": "boolean"
      +    },
      +    "reply": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "sources": {
      +      "items": {
      +        "properties": {
      +          "title": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "title",
      +          "url"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "conversationId",
      +    "reply",
      +    "handedOver",
      +    "sources",
      +    "pending"
      +  ],
      +  "type": "object"
      +}
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already state this is non-destructive and not open-world; the description adds the valuable non-structured detail that the call blocks for up to ~25 seconds and can return degraded states (stillLearning, empty sources) with prescribed remediation. It does not say whether the sent message persists in the preview conversation or how failures surface, keeping it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core action is front-loaded, but the remainder is a dense run-on chain of branches with awkward phrasing ('When `sources` is empty otherwise') and undefined terms (stillLearning, sources, 'the minutes it gives') that make it harder to parse than it needs to be.

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?

An output schema exists, so return values needn't be enumerated, and the description instead explains how to interpret key output states and what to do next. For a 3-parameter, non-destructive call with full annotation coverage, nothing critical is missing, though the undefined 'pending'/'sources' references leave slight ambiguity.

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 description coverage is 100% and already documents all three parameters (text as the customer's message, agentId from list_agents, conversationId from test_agent). The description adds no additional meaning about parameter formats or constraints beyond the schema, so the baseline 3 applies.

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 ('send a follow-up message in a preview conversation test_agent started') and explicitly anchors itself to the sibling test_agent, so an agent can tell this is the second-turn continuation rather than a new test. The 25-second wait behavior is stated up front.

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

Usage Guidelines4/5

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

Gives explicit conditional routing: use list_messages (don't ask again) for a pending answer, use add_knowledge_article then retest when stillLearning or when sources is empty. The only friction is the reference to 'pending: true', which is not an input parameter in the schema and could be misread as something to pass; otherwise the when/when-not guidance is unusually complete.

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.