Skip to main content
Glama

suggest_next_actions

Read-onlyIdempotent

Analyze the current page and recommend relevant browser actions or tools based on page state when an agent is stuck or unsure what to do next.

Instructions

[Agent Browser] Analyze current page and suggest relevant tools/actions. Use when stuck or unsure what to do next. Returns context-aware hints based on:

  • Page type (PDF, canvas, iframes)

  • Forms, modals, error messages

  • Loading states and dynamic content

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "suggest_next_actions"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataNo
hintsNo
messageNo
successNo
suggestionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world behavior, so the safety profile is covered. The description adds genuine value beyond that by disclosing what signals it inspects at runtime: page type (PDF, canvas, iframes), forms, modals, error messages, and loading states. It does not describe the shape of the returned hints, but an output schema exists to cover that.

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?

The triggering condition is front-loaded in the first two lines, and the bullet list of inspected signals is scannable with no redundant phrasing. Every line contributes new information.

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?

With no parameters, full annotation coverage, and an output schema already declaring return values, the description carries only the burden of stating purpose, trigger, and analysis scope, all of which it does. Minor gap: it doesn't indicate whether the tool mutates state or side-effects the browser session, though readOnlyHint covers that.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate. Baseline 4 applies; the description correctly avoids inventing parameter detail it does not need.

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?

The description pairs a specific verb set ('analyze current page', 'suggest relevant tools/actions') with a clear resource scope, so an agent can tell this is an advisory/diagnostic tool rather than a concrete browser action. It does not explicitly contrast itself with action siblings like click or fill, but the meta-purpose is unambiguous from the first sentence.

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?

'Use when stuck or unsure what to do next' gives a concrete triggering condition for invoking the tool. It stops short of stating when NOT to use it (e.g. when the next action is already known) or naming alternatives, so it is strong but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.