Skip to main content
Glama

current_element

Retrieve the active form element in a 1C:Enterprise UI testing session to identify which field or control is currently focused.

Instructions

Return the current active form element.

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?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only says 'return', implying a read operation, but never states what the response looks like, what happens when no element is active, or whether the tool waits for an element to become active.

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?

The description is a single, front-loaded sentence with no wasted words. It is efficient, though the brevity comes at the cost of the missing behavioral and usage context noted in other dimensions.

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?

With no output schema and no annotations, a one-sentence description is insufficient. An agent cannot know the return format, the null/empty behavior, or the precondition (e.g., a form must be open). For a getter tool this is a moderate gap; a bit more detail would fully equip the agent.

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?

With 0% schema description coverage, the description must compensate for the undocumented session_id parameter, but it says nothing about it. The parameter is at least inferable from its title 'Session Id' and default value, so the gap is small, but the description adds zero semantic value beyond the schema.

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

Purpose4/5

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

The description states a specific verb and resource: "Return the current active form element." This is clear and an agent can tell it is a read/getter tool. However, it does not differentiate itself from siblings like field_info, form_state, or active_window, which could overlap in the mind of an agent.

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 given about when to use this tool versus alternatives. Siblings such as field_info, form_next_element, form_previous_element, and active_window exist, but the description offers no context for when 'the current active form element' is the right thing to fetch instead of those.

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