Skip to main content
Glama
jamesdeane2

MCP IT Glue Server

by jamesdeane2

get_organization_documents

Fetch all documents for an organization, applying optional folder filters, pagination, and output format choices to return only the needed data.

Instructions

Get all documents for a specific organization.

Args: organization_id: The organization ID folder_id: Optional folder filter page: Page number (starts at 1) page_size: Number of results per page (max 1000) output_format: Output format - "full" (all fields), "compact" (key fields only), or "summary" (counts and IDs only). Default: compact save_to_file: If True, saves full results to a temp file and returns the path for jq processing

Returns: JSON string with the organization's documents

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
folder_idNo
page_sizeNo
save_to_fileNo
output_formatNocompact
organization_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the return type, output_format behavior, and the save_to_file side effect of writing a temp file. However, it does not clarify the apparent tension between 'get all documents' and paginated page/page_size parameters, nor does it describe error or permission behavior.

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?

The description opens with a one-line purpose, then uses a clean Args block and a Returns line. Every sentence adds useful information, and the structure is scannable. Despite being longer than many descriptions, it is efficient because all parameter details matter.

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 tool with six parameters and no annotations, the description covers inputs, output format, and unusual file-saving behavior well. It is missing guidance on choosing among sibling tools and edge-case behavior, but what is needed to make a correct call is largely present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description fully compensates by documenting all six parameters: organization_id, folder_id, page starting at 1, page_size max of 1000, allowed output_format values, and save_to_file behavior. This is exactly the semantic enrichment an agent needs beyond the bare 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?

The description states a specific verb and resource: 'Get all documents for a specific organization.' This clearly distinguishes it from generic document tools like list_documents or get_document by adding the organization scope. The purpose is immediately understandable.

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

Usage Guidelines2/5

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

There is no explicit guidance about when to use this tool versus alternatives such as list_documents, search_documents, or get_document. The organization-scoped purpose implies usage, but no conditions or exclusions are stated. An agent must infer when this is the right choice over sibling tools.

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

Deploy Server

Other Tools