Skip to main content
Glama

detect_dialog

Reads NPC dialog boxes, option menus, and level-up popups currently displayed on screen. Returns parsed text for game state analysis.

Instructions

Read any NPC dialog box, option menu, or level-up popup currently on screen

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fresh_screenshotNoTake a new screenshot before analyzing (default: true). Set to false to reuse the most recent cached screenshot.
Behavior3/5

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

With no annotations, the description partially discloses behavior ('Read any...currently on screen') but does not specify if the operation is read-only, requires permissions, or has side effects. It adds moderate transparency but could detail idempotency or caching behavior.

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 description is a single, front-loaded sentence with no redundancy. Every word contributes to clarity, making it highly concise.

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?

For a simple tool with one parameter and no output schema, the description is complete enough. It clearly states what the tool reads and its scope. Minor gap: it does not mention the output format (e.g., returns text or coordinates), but given the tool's simplicity, it is adequate.

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%, so the baseline is 3. The description does not add extra meaning beyond the schema: the parameter 'fresh_screenshot' is already documented. No additional value from the description.

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 uses a specific verb ('Read') and clearly identifies the target resources (NPC dialog box, option menu, level-up popup). It distinguishes the tool from siblings like detect_combat_state and detect_loot by specifying distinct on-screen elements.

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?

No explicit when-to-use or when-not-to-use guidance is provided. The description implies usage for reading dialog/popups, but does not mention alternatives or contexts where other tools (e.g., analyze_screen) might be more appropriate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ShakyPizza/osrs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server