Skip to main content
Glama

Manawa Terminal

Search research library

search_library
Read-only

Full-text search across the authenticated user's library documents.

Args:
    query: Search terms
    limit: Max results (default 20, capped at 50)

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": {
      "query": "<query>"
    },
    "name": "search_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
strategy_idNoStrategy this call belongs to. UUID from list_strategies. The card this call writes keeps that id. Omit when the call is not part of a strategy.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / strategy_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Strategy this call belongs to. UUID from list_strategies. The card this call writes keeps that id. Omit when the call is not part of a strategy.",
      +  "title": "Strategy Id"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds the meaningful scoping fact that only the authenticated user's library is searched, but says nothing about ranking, pagination beyond the limit cap, or result ordering — and an output schema exists so return-shape detail is rightly omitted.

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?

The core capability is stated in a single front-loaded sentence with no waste. The trailing docstring-style "Args:" block is slightly redundant as a format but each line carries real content, notably the limit cap.

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?

For a read-only search with annotations and an output schema, the essentials are present, but an agent still cannot tell how this differs from list_library_items or finance_search, whether results are ranked or paginated beyond the limit, or what role strategy_id plays in a search call. Adequate, not complete.

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 33%: only strategy_id carries a schema description, and the description usefully compensates for limit by disclosing the cap of 50 that the schema does not state. The query definition ("Search terms") is a bare restatement with no syntax, matching, or phrase behavior, and strategy_id's effect on this call is left entirely to the schema.

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?

"Full-text search across the authenticated user's library documents" gives a specific verb (full-text search) and a specific resource (library documents), which separates it from list_library_items / get_library_item in the sibling set. It stops short of explicitly naming those siblings as alternatives, so the differentiation is inferable rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use / when-not guidance and no named alternative among the many library and search siblings (list_library_items, finance_search, run_deepdive). The only scoping signal is that the search is confined to the authenticated user's own library.

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.

Resources