Skip to main content
Glama

Create a search bin

create_smart_bin

Creates a project-root smart bin that automatically displays all items matching a search query, so you can organize and find relevant assets; returns the bin, its query, and current match count.

Instructions

Create a search bin (smart bin) at the project root: a bin that always shows every project item matching a search query, like typing the query into the Project panel's search box. It cannot be placed in another bin and cannot hold items itself. Returns the new bin with its query and the number of current matches. Use create_bin for a normal bin.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "query": "<query>"
    },
    "name": "create_smart_bin"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesName of the search bin.
queryYesSearch text, e.g. "interview" or ".wav".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare it is a non-read-only, non-destructive, non-idempotent creation; the description adds real behavior beyond that — the bin is created at the project root, cannot be placed inside another bin, and cannot hold items itself. It also discloses the return shape (the new bin with its query and current match count), which the absence of an output schema makes valuable.

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?

Four compact sentences, front-loaded with the definition and followed by constraints, return value, and the sibling alternative. Every sentence carries information; only the parenthetical '(smart bin)' is mild redundancy with the title.

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-parameter creation tool with no output schema, the definition covers purpose, structural constraints, return value, and the sibling alternative — enough to call it correctly. It lacks detail on what happens with invalid or empty matches, but nothing that would misdirect an invocation.

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 100%, so both parameters are already documented with names and examples, establishing a baseline of 3. The description's search-box analogy adds interpretive meaning for how the query is evaluated, but gives no format, escaping, or wildcard guidance beyond the schema examples.

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 and resource (create a search bin) plus the defining property: a bin that always shows every project item matching a query. Explicitly names the sibling it is not (create_bin for a normal bin), so an agent can discriminate without opening either schema.

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

Usage Guidelines4/5

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

The final sentence routes the agent to create_bin for the ordinary case, and the 'like typing the query into the Project panel's search box' analogy tells the agent which situation this tool is for. It stops short of stating explicit exclusions (e.g., don't use for static item collections), so it is a clear context rather than a full when/when-not rule set.

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