Skip to main content
Glama

Search company library

search_company_library
Read-only

List or search the company library: the team's own docs, templates, and files for every client. Team only.

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": {
      "orgId": "<orgId>"
    },
    "name": "search_company_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIdYesCompany ID.
queryNoSearch text.
categoryNoOnly this category key, from get_config.
includeOldNoInclude versions a newer one has replaced.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 safety and world-boundary are known. The description adds one genuine behavioral fact — the library is team-restricted — but says nothing about matching behavior, result ordering, or pagination for what is a search 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?

A single front-loaded sentence stating what is searched, what it contains, and who can see it. No filler and no redundancy with the title beyond the tool name itself.

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 read-only tool with fully documented parameters and no output schema, the definition covers purpose, scope, and access. Missing only search-behavior details (substring vs fuzzy, whether it spans file contents) that an agent would want before choosing it over search_library.

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 the baseline is 3: the schema already explains orgId, query, category (with a pointer to get_config), and includeOld. The description adds only the weak hint that query is optional ("list or search"), and nothing about matching semantics for the query parameter.

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 clear verb pair (list or search) and a specific resource (the company library), then scopes it as the team's own docs, templates, and files. That content scoping implicitly separates it from the client-facing search_library sibling, though it never names that sibling 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?

"List or search" implies that omitting a query lists everything, and "Team only" sets an access precondition. However, there is no explicit when-to-use guidance versus search_library, get_library_item, or list_library_rules, leaving the agent to infer the routing.

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