Skip to main content
Glama

Select Project Item

select_project_item
Read-onlyIdempotent

Selects an item or member in the Xojo IDE Navigator by dot-separated path, returning the landing location and type so tools acting on the current item target the right place.

Instructions

Selects an item or member in the Xojo IDE's Navigator by dot-separated path and returns where the IDE landed and its type. A path that does not exist is an error naming where the IDE is instead, so a near miss shows the right spelling. Changes only the IDE's selection, not the project. Tools that take a location select it themselves; use this for those that act on the current item: get_selected_text, set_selected_text, analyze_project with scope 'item', and create_project_item without parent_location. Needs the Xojo IDE running with the project open.

Input Schema

NameRequiredDescriptionDefault
item_pathYesDot-separated path, e.g. 'App', 'Module1.MyMethod', or on Xojo 2026r3+ 'Window1.Controls.Button1.Pressed'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.7.1
    • changedInput schema / properties / item_path / description
      Previous value: -"Dot-separated path (e.g. 'App', 'Module1.MyMethod')"New value: +"Dot-separated path, e.g. 'App', 'Module1.MyMethod', or on Xojo 2026r3+ 'Window1.Controls.Button1.Pressed'"
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, so the bar is lower, yet the description adds real behavior: it mutates only IDE selection state, not the project, and a nonexistent path errors by naming where the IDE actually is, which doubles as spell-check feedback. It does not spell out what the return payload contains beyond 'where the IDE landed and its type'.

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?

Three sentences, each carrying distinct load: what it does, its error affordance, its selection-only scope, then the routing list and prerequisite. Dense but front-loaded and free of filler; only the enumerated sibling list runs long relative to a one-parameter tool.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, non-destructive tool with no output schema, the description covers action, return shape, error behavior, state-mutation scope, prerequisite, and the exact sibling contexts it serves. Nothing an agent needs in order to call it correctly is missing.

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?

Schema coverage is 100% and already carries the dot-separated path examples, so the baseline is 3. The description adds failure semantics for the parameter (nonexistent path → error naming the current location) and echoes the path form, giving modest value beyond the schema.

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?

States a specific verb+resource+mechanism: selects an item in the Xojo IDE Navigator by dot-separated path, and returns where the IDE landed plus its type. It also distinguishes itself from the large sibling set by naming the tools that select their own location instead of relying on this one.

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

Usage Guidelines5/5

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

Gives an explicit routing rule: tools that take a location select it themselves, so this is for those acting on the current item, with four named callers (get_selected_text, set_selected_text, analyze_project with scope 'item', create_project_item without parent_location). Prerequisite ('Xojo IDE running with the project open') is stated outright.

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