Skip to main content
Glama
live-agent-bridge

live-agent-bridge

by huaidj

sample_library

Inspect sample library roots and status, run incremental background rescans, and add or remove extra sample folders to maintain the local sample index.

Instructions

Manage the sample index: show roots/status, rescan (incremental, runs in background), or add/remove an extra sample folder.

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": "sample_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNostatus
folderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, closed-world mutation, and the description adds a genuinely operational detail beyond them: rescan is incremental and runs in the background, so an agent should not block on it. The remaining gap is that remove_folder's effect on the underlying files (index-only vs. disk deletion) is never stated, which matters for a mutating tool.

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?

One front-loaded sentence with the verb first and a compact enumeration of actions; every clause carries information and nothing is padded.

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

Completeness3/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 parameter descriptions, the definition leaves open what status returns (root list plus scan state?) and what folder must contain. For a small two-parameter tool this is workable but not complete, and the missing folder semantics are the most likely cause of a bad call.

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 description coverage is 0%, so the description must carry the load. It successfully glosses the action enum (status/rescan/add_folder/remove_folder), but the folder parameter is never explained — no indication of whether it is a path, when it is required, or which actions consume it.

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+resource ("Manage the sample index") and enumerates the four supported operations (show roots/status, rescan, add/remove folder), which maps cleanly onto the enum values. It is clearly distinct from siblings like load_sample, sample_search, and sample_analyze, though it does not name them explicitly.

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 action list implicitly tells an agent which operation to pick for which intent, and it notes that rescan is incremental. However, there is no explicit when-not-to-use guidance, no statement that this indexes folders rather than loading/analyzing samples, and no pointer to the sibling tools that handle those jobs.

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