Skip to main content
Glama

clear_file_dialog_result

Clear queued file selection dialog results to reset automation state and prevent unintended file choices from affecting subsequent UI interactions.

Instructions

Clear queued file selection dialog results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNodefault-18

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.3

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only says 'clear' without explaining side effects, such as whether it clears results for the specified session only, whether it is destructive to other state, or what happens to the queue. This is insufficient for a mutation operation.

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 description is a single sentence and is concise, but it is under-specified rather than efficiently worded. It lacks essential context, so the brevity does not serve the agent well.

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?

For a simple tool with one parameter and no annotations, the description still fails to explain the relationship with set_file_dialog_result, the meaning of 'queued', or the effect on the session. An agent cannot fully understand when or how to use this tool correctly.

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

Parameters1/5

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

The schema provides no description for the session_id parameter (0% coverage), and the description does not explain its meaning or how it relates to the queued results. The agent has no guidance on what value to pass or why it matters.

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 clearly states the action (clear) and the target (queued file selection dialog results), and implicitly distinguishes itself from the sibling tool set_file_dialog_result by being the inverse operation. The verb-resource pair is specific and unambiguous.

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?

No guidance is provided on when to invoke this tool versus the sibling set_file_dialog_result, nor are any prerequisites or typical workflows mentioned. The agent must infer usage from the name alone.

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

Deploy Server

Other Tools