Skip to main content
Glama

AnyShare by Anysoft

Find documents

list_documents
Read-onlyIdempotent

Search document names in the connected organization. Results are paginated; use next_cursor for subsequent pages.

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
limitNo
queryNo
cursorNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context — that results are paginated and must be walked with a cursor — though it names that cursor 'next_cursor', which does not match any schema parameter, leaving the paging contract slightly ambiguous.

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 short sentences, front-loaded with the search scope and followed by the paging note; nothing is redundant. It is tight to the point of being under-specified, but no sentence fails to earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values needn't be described, but for a three-parameter search tool with zero schema coverage the definition leaves too much open: what 'query' matches against, how 'limit' interacts with pagination, and how this differs from get_document. The cursor naming mismatch further weakens completeness for a tool whose only stated behavior is pagination.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for all three parameters and does not: query matching semantics (substring? prefix? case sensitivity?), the limit default of 20 / max of 50, and the cursor lifecycle are all unaddressed. Worse, the only parameter it does discuss is called 'next_cursor', which does not exist in the schema ('cursor'), so the one piece of guidance is mislabeled.

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?

Clear verb+resource+scope, but no sibling differentiation.

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?

Usage is only implied: 'search document names' suggests a lookup-by-name use case and the pagination sentence suggests iterative paging. There is no explicit statement of when to prefer this over get_document, list_data_rooms, or get_document_analytics, 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