Skip to main content
Glama

Select in the Library

library_select
Read-onlyIdempotent

Select rows in the open Library by name, path, #id, or every row in view so Library actions apply to the chosen rows.

Instructions

Select rows in the open Library, as the person's clicks would: by name, path or #id, or every row in view. The Library's verbs act on the selection.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "library_select"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoevery row in view (library_query's filter leaves the rows in view)
rowsNothe rows it acts on; leave out for the rows selected now

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, but the description adds real context the annotations don't: selection is modeled on human clicks and persists as the target for subsequent Library verbs. That downstream-effect disclosure is the key behavioral insight an agent needs, though it doesn't say what happens if no rows match or if the Library isn't open.

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?

Two compact sentences, front-loaded with the action and scope, then the consequence. No filler and nothing restated from the title alone.

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 two-optional-parameter tool with no output schema, the description covers what the tool does, the selector forms, the default behavior, and why the selection matters. Minor gaps remain around error conditions and the exact relationship to set_selection, but an agent can call this correctly from the definition as written.

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?

Schema coverage is 100%, so both parameters (all, rows) are already documented, including the 'leave out for the rows selected now' default. The description echoes the same selector forms ('by name, path or #id, or every row in view') without adding format, precedence, or interaction rules (e.g., what happens if both all and rows are supplied). Baseline 3 applies.

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?

States a specific verb and resource: 'Select rows in the open Library', with the selector forms (name, path, #id, or every row). The phrase 'in the open Library' scopes it away from generic selection siblings like set_selection, but the description never explicitly names or contrasts that sibling.

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?

Implies the precondition that a Library must already be open and explains the downstream purpose ('The Library's verbs act on the selection'), which tells the agent why to call it. It gives no when-not guidance and does not differentiate from set_selection or other selection-related siblings.

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