Skip to main content
Glama

assert_visible

Verifies that an element containing the specified text is visible on screen, returning OK or FAIL along with a list of currently visible elements.

Instructions

Vérifie qu'un élément contenant le texte donné est visible à l'écran. Retourne OK ou FAIL avec les éléments actuellement visibles.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesTexte attendu à l'écran
Behavior3/5

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

Aucune annotation fournie, donc la description doit porter le poids du comportement. Elle mentionne le retour (OK/FAIL) mais ne précise pas si l'outil effectue un défilement ou attend, ce qui serait utile pour éviter des suppositions.

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?

Deux phrases concises, sans superflu. Chaque mot est nécessaire et l'information est placée en tête.

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?

Pour un outil simple avec un seul paramètre et aucun schéma de sortie, la description couvre l'essentiel. Elle pourrait néanmoins clarifier qu'il ne défile pas et ne modifie pas l'état.

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?

Le paramètre 'text' a une description dans le schéma (100 % couverte). La description générale ajoute que le texte est 'attendu' mais n'apporte pas de valeur significative au-delà du schéma.

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?

Le verbe 'Vérifie' et la ressource 'élément contenant le texte donné' précisent clairement l'action. La mention 'retourne OK ou FAIL' distingue bien des outils comme 'wait_for_element' ou 'assert_not_visible'.

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?

La description n'indique pas explicitement quand utiliser cet outil plutôt que 'wait_for_element', 'get_ui_tree' ou 'assert_not_visible'.

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/nthImpulse/phantom-mcp'

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