Skip to main content
Glama

List Foundry documents

helix_foundry_list_documents
Read-onlyIdempotent

List the documents a Foundry ontology reads, with what extracting each into the current load made of it; or every document of one of the workspace's document sets. A document with source is a connector's, the text of one row of its table: it can't be renamed, moved or deleted, and new text at the source replaces it with a new document.

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": {
      "ontology_id": "<ontology_id>"
    },
    "name": "helix_foundry_list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
set_idNoEvery document of this document set of the workspace, without extraction; when empty, the documents the ontology reads, each with its extraction.
page_tokenNoOpaque continuation token from the previous call.
ontology_idYesFoundry ontology identifier.
workspace_idNoHelix workspace identifier. May be empty when the caller has only one workspace (a service key always does).

Output Schema

NameRequiredDescriptionDefault
documentsYes
content_trustYes
next_page_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description still adds substantive behavior: extraction results are attached per document, and connector-sourced documents are immutable because re-extraction from the source produces a new document identity. That is real information an agent cannot get from the annotations. What is not covered is the effect of pagination or the size/order of results.

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?

Front-loaded with the verb and resource, and the second sentence earns its place by covering a non-obvious immutability rule. The embedded clause "with what extracting each into the current load made of it" is dense and slows parsing, but no sentence is wasted.

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?

With an output schema present, return values need no explanation, and both operating modes are accounted for. The one gap is pagination expectations for page_token and any ordering, which the description leaves silent for a list tool that can span many documents.

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 set_id, ontology_id, workspace_id and page_token are already documented in the schema, including the empty-set_id fallback. The description reinforces what set_id selects but adds no new format, default, or constraint beyond the schema. Baseline 3 is appropriate.

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?

Names a specific verb and resource ("List the documents") and immediately scopes two distinct modes: documents an ontology reads with their extraction outcome, or all documents of one document set. That is more than a restatement of the name. It stops short of naming a sibling it is not, so an agent does not get explicit routing help against the other helix_foundry_list_* tools.

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?

The definition conveys which mode you get based on whether set_id is supplied, which is real contextual guidance. However, it never states when to prefer this tool over a sibling (for example a document-set listing elsewhere or an ontology getter), and no exclusions or prerequisites are given.

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