Skip to main content
Glama

list_org_docs

List the documents you are authorized to read in a folder. Use this to browse; use search_org_knowledge to answer a question. Filtering by label matches labels INHERITED from a folder or directory as well as a document's own, so a folder's label returns everything inside it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNodeprecated alias for `label`
typeNoonly documents of this type (meeting-notes, playbook, spec, brand-asset, web-clip, contract, misc); set it with frontmatter on write
labelNolabel to filter by — matches a document's own labels AND any inherited from a folder or directory above it. Organization only; labels never affect what you are allowed to read
limitNomax results this page (clamped to the server cap MAX_PAGE_SIZE)
shareNothe share id, when this location was shared with you from another workspace — list_org_folders prints it. Omit for your own folders.
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
locationYesfull path from the workspace root, e.g. "handbook/vendor/acme.md" (as printed by list_org_docs or search_org_knowledge)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses the authorization scope ('documents you are authorized to read') and the non-obvious inherited-label matching behavior. It stops short of stating the return shape or confirming non-mutation, but 'list' and 'browse' make the read-only nature clear.

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: purpose, usage routing, and one subtle filtering behavior. No fluff, and the most important info 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 a list tool with an eight-parameter schema that is fully self-describing, the description plus schema covers what is needed to call it. A note on the exact return fields or output shape would be the only meaningful addition, given there is no output schema.

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 description's label sentence largely restates the schema's label property, so it adds little incremental parameter meaning; other parameters are already fully described in the schema.

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?

Opens with a specific verb and object: 'List the documents you are authorized to read in a folder.' It also distinguishes the tool from search_org_knowledge by framing it as browsing, so an agent can tell them apart immediately.

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

Usage Guidelines5/5

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

Explicitly instructs when to use: 'Use this to browse; use search_org_knowledge to answer a question.' This names the alternative and the deciding condition with no inference required.

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