Skip to main content
Glama

check_dialog

Commit or close the current backend dialog via a button ID, optionally transitioning to a target dialog path.

Instructions

Commit/close the current dialog on the backend stack (optionally transitioning to target_dialog_path).

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": "check_dialog"
  }
}

Input Schema

NameRequiredDescriptionDefault
button_idNoID_BTNOK
target_dialog_pathNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden for a mutating operation. It doesn't say whether committing saves entered form data, whether it is irreversible, whether unsaved changes are discarded, or what preconditions (an open dialog) must hold. 'Commit/close' hints at side effects but never specifies them.

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?

A single front-loaded sentence with no filler, and the optional transition is parenthetically placed. It is efficient, though the terseness is part of why semantics are thin rather than a model of clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/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 need not be described. However, for a zero-annotation mutation tool with two undocumented parameters, the definition omits prerequisites, side effects, and the meaning of button_id. It is not complete enough for an agent to invoke confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, but it only mentions target_dialog_path. The more consequential button_id (default 'ID_BTNOK') is never explained, so the agent cannot tell whether it selects OK vs Cancel or how it interacts with the commit behavior. Half the parameters remain semantically opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a verb-plus-resource ('Commit/close the current dialog on the backend stack'), but it conflates two distinct operations in a slash and never resolves them. The tool name 'check_dialog' doesn't match 'commit/close', leaving the agent unsure whether this validates, saves, or dismisses the dialog. It also doesn't distinguish itself from siblings like get_dialog or close_declaration.

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

Usage Guidelines2/5

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

There is no explicit statement of when to call this versus get_dialog, close_declaration, or the declaration tools. The optional transition to target_dialog_path implies a navigation flow but never states the condition under which that should be used. The agent must infer the calling context entirely.

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