Skip to main content
Glama
rodoni
by rodoni

get_selection_history

Retrieves the history of all DOM elements selected or inspected in the current session, providing QA with a clear record of previously examined elements for review and traceability.

Instructions

Retorna o histórico de todos os elementos selecionados/inspecionados na sessão atual.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It clarifies the session-scoped nature of the returned history and what the history contains, but it does not mention ordering, limits, or whether the history is cleared or cumulative in any particular way.

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 that directly states the return value and its scope. Every word earns its place, and there is no redundant or vague filler.

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 zero-parameter read tool with an output schema, the description adequately covers what the tool returns and its session boundary. It could be slightly more complete by noting that this is a read-only retrieval operation, but nothing essential is missing for calling it correctly.

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 has zero parameters, so there is no parameter ambiguity to resolve. Per the baseline for tools with no parameters, a score of 4 is appropriate even though the description provides no additional parameter-level detail.

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 states a specific verb ('returns') and resource ('history of all selected/inspected elements in the current session'), making the tool's function immediately clear. It also distinguishes itself from the sibling get_selected_element by indicating that this tool returns history rather than the current single selection.

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?

The description implies that the tool should be used when a list of all previously selected/inspected elements in the session is needed, but it gives no explicit guidance about when to choose this over get_selected_element or scan_elements. No alternatives or exclusions are stated.

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

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/rodoni/dom-explorer'

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