Skip to main content
Glama

search_org_knowledge

Search what this organization has written down — policies, runbooks, decisions, postmortems, onboarding docs, past projects. ACL-filtered to you: content you lack a role for is never returned. Omit folder to search everything you can reach.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
howNoauto (default) searches by meaning where available and falls back to text; meaning = semantic; text = exact string; titles = file metadata only
limitNomax results this page (clamped to the server cap MAX_PAGE_SIZE)
queryYeswhat you want to know, in the user's own words
tokenNoBearer token identifying the principal. Usually omitted — supplied by the transport (HTTP Authorization header or the server's AGENTLEFS_TOKEN env). Only pass this to override.
offsetNoresults to skip — pass the previous page's nextOffset to page
locationNofull path to scope to, e.g. "handbook" or "handbook/vendor". Omit to cover everything you can reach.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

There are no annotations, so the description carries the behavioral disclosure burden. It discloses a key non-obvious behavior: results are ACL-filtered so content the user lacks a role for is never returned. It also implies a read-only search operation and explains scope behavior. It does not describe result shape or pagination behavior, but the most important hidden behavior is covered.

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 description is compact at three sentences and front-loaded with purpose, followed by a key behavioral note and a scope usage tip. It has almost no waste, but the misleading backticked 'folder' reference costs a point against an otherwise clean structure.

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?

The description covers the most important non-obvious aspects: what content is searched, the ACL filtering behavior, and how to expand scope. However, with no output schema and six parameters, it gives no indication of the return shape, result ordering, or how matches are presented, and the folder/location ambiguity is a real gap. It is adequate but not fully 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 description coverage is 100%, so the baseline is 3. The description adds high-level context about content types and the scope-widening behavior, but it does not add per-parameter detail beyond the schema. Its use of 'folder' where the schema has 'location' muddles rather than enhances the schema's already clear parameter documentation.

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?

The description opens with the verb 'Search' and clearly identifies the resource: organizational written knowledge, enumerating representative content types like policies, runbooks, decisions, and postmortems. This distinguishes it from siblings such as read_org_doc or list_org_docs, even though it does not name them explicitly. The minor 'folder' vs 'location' wording does not obscure the tool's overall purpose.

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?

It provides clear context for when to use the tool: when looking for information the organization has written down, with a notable ACL-filtering constraint. It also gives an explicit usage tip, 'omit folder to search everything you can reach.' However, it does not state exclusions or point to alternatives like list_org_docs for directory-style browsing, so it stops short of full routing guidance.

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