Skip to main content
Glama

List documents

list_documents
Read-only

List Document Vault file metadata the caller can see, newest first: organization-wide files plus those on profiles and jobs they can access. Each row has id, kind (RESUME, COVER_LETTER, OFFER_LETTER, NDA, OTHER), name, fileName, mimeType, sizeBytes, source, profileId and jobId. File contents, upload and download are not available here — the web app handles them. Resume-builder resumes are listed by list_resumes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdNoOnly documents attached to this job, from list_jobs.
globalNotrue: only documents not tied to any job. Takes precedence over jobId.
profileIdNoOnly documents attached to this profile, from list_profiles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds real substance beyond that: permission-based scoping ('the caller can see'), result ordering ('newest first'), and the fact that binary content and upload/download are out of scope here. It omits any mention of pagination or result-size limits, which matters for a list tool that can return organization-wide results.

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 sentences, front-loaded with the scope and ordering, followed by the returned fields and then the exclusions. Nothing is redundant, and the field enumeration earns its space because there is no output schema.

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 no output schema, the description correctly compensates by enumerating every returned field and its possible kinds, and it covers visibility scope, ordering, and out-of-scope behaviors. The only material gap is pagination/limit behavior for a listing that can span organization-wide 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% and all three filters (jobId, global, profileId) are documented in the schema, including the precedence rule that global overrides jobId. The description only alludes to profile and job scoping in prose and adds no filter syntax, defaults, or combination behavior of its own, so the schema does the heavy lifting and the baseline 3 applies.

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?

States a specific verb and resource (list Document Vault file metadata) plus the visibility scope (organization-wide plus profiles/jobs the caller can access) and ordering (newest first). It also explicitly carves out resume-builder resumes and points at list_resumes, so an agent can distinguish it from that sibling without reading either schema.

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?

The description says clearly what it covers (metadata only for accessible documents) and explicitly excludes file content, upload and download, redirecting to the web app, and routes resume-builder resumes to list_resumes. It stops short of stating a positive 'use this when you need to find a document by job/profile' trigger or noting any exclusions beyond resumes, so it is strong but not fully explicit about when-not.

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