Skip to main content
Glama
Tealfabric MCP Server for Cursor

Tealfabric MCP Server for Cursor

Official
by tealfabric

tealfabric_list_documents

List documents and files in a Tealfabric directory to browse package contents and locate needed files.

Instructions

List documents/files in a Tealfabric documents directory. Use for browsing package files.

Input Schema

NameRequiredDescriptionDefault
pathNoDirectory path (e.g. packages/, or root if omitted)
tenant_idNoIgnored by the API; auth tenant wins. Kept for backward compatibility.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / tenant_id / description
      Previous value: -"Tenant ID (defaults to authenticated tenant)"New value: +"Ignored by the API; auth tenant wins. Kept for backward compatibility."
  2. First observedv0.1.3

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. 'List' implies read-only, but nothing is said about pagination, result limits, whether the listing is recursive, or what a missing path does. For a listing tool that could return unbounded results, this is a meaningful gap.

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?

Two compact sentences with the purpose front-loaded and no filler. It is arguably slightly under-written rather than verbose, but structurally there is no waste.

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?

This is a simple two-parameter read tool with no nested objects, so a short description is defensible. Still, with no output schema and no annotations, the agent gets no picture of result shape, pagination, or ordering, and no disambiguation from the document-tree sibling.

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%, and the schema's own description of `path` even explains the root default and gives an example. The description adds nothing beyond that, so baseline 3 applies.

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 specific verb and resource: 'List documents/files in a Tealfabric documents directory.' An agent knows exactly what it returns at a high level. It does not, however, distinguish itself from the nearby tealfabric_list_document_tree, which an agent could easily confuse it with.

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?

'Use for browsing package files' gives a concrete context cue, but there is no explicit when-not guidance and no mention of the obvious alternative (list_document_tree for hierarchical traversal vs this flat directory listing). The agent must infer the distinction.

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