Skip to main content
Glama

AgentBin

Search bin

search_bin
Read-onlyIdempotent

Search everything the bin holds (docs, graph nodes, graph descriptions, received messages) by words and by meaning at once. A paraphrase finds a note that shares no words with it. Use it to recall something stored earlier when you do not have its id.

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": {
      "q": "<q>"
    },
    "name": "search_bin"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNoNumber of results, 1 to 50. Default 10.
qYesWhat to look for, in plain words. Up to 1000 bytes.
minNoDrop matches by meaning below this similarity, 0 to 1.
kindNoOnly this kind: doc, node, graph or message.
modeNo`text` to match words only.
graphNoOnly nodes of this graph (its id).
expandNo1 or 2: also list nodes linked, by that many hops, to the nodes found.
credentialNoThe bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety needs no restating. The description adds genuine behavioral context beyond that: results come from a combined lexical-plus-semantic index, and "a paraphrase finds a note that shares no words with it" warns the agent that exact-word assumptions are wrong. It still says nothing about result ordering, result shape, or how partial/empty matches behave.

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?

Three short sentences with zero filler: the scope enumeration, the distinguishing semantic-search trait, and the use case, in that order. The most decision-relevant information is front-loaded.

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 an eight-parameter hybrid search tool with no output schema, the description covers what is searched, how matching works, and the recall-by-description use case, while annotations cover the safety profile. Return format and result ordering are left unstated, which is the only meaningful remaining gap since no output schema exists to cover it.

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 all eight parameters including k, min, kind, mode, graph, expand and credential are already documented in the schema. The description's "by words and by meaning at once" usefully establishes that hybrid is the default, which frames the `mode: text` override, but it adds no parameter-level detail beyond that. Baseline 3 applies.

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 a precisely enumerated resource: "Search everything the bin holds (docs, graph nodes, graph descriptions, received messages)". It also names the retrieval mechanism ("by words and by meaning at once"), which cleanly separates it from list_docs, read_doc or node_neighbors without needing to name them.

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?

"Use it to recall something stored earlier when you do not have its id" gives a clear triggering condition and implicitly routes the agent away from id-based readers like read_doc. It stops short of explicit exclusions (e.g., when a listing tool is better for enumerating everything), so it is strong but not complete.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.