Skip to main content
Glama

doc_list

Retrieve and paginate all documents within a Pickaxe studio to manage knowledge bases and content efficiently.

Instructions

List all documents in the Pickaxe studio with pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
studioNoStudio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION
skipNoNumber of documents to skip. Default: 0
takeNoNumber of documents to return. Default: 10

Implementation Reference

  • Handler function for the 'doc_list' tool. It extracts skip and take parameters from args, constructs the Pickaxe API endpoint `/studio/document/list`, calls pickaxeRequest to fetch the list of documents, and returns the JSON stringified result.
    case "doc_list": {
      const skip = args.skip ?? 0;
      const take = args.take ?? 10;
      const result = await pickaxeRequest(`/studio/document/list?skip=${skip}&take=${take}`, "GET", undefined, studio);
      return JSON.stringify(result, null, 2);
    }
  • Input schema definition for the 'doc_list' tool, specifying properties for studio (optional), skip, and take parameters with types and descriptions.
    inputSchema: {
      type: "object",
      properties: {
        studio: studioParam,
        skip: {
          type: "number",
          description: "Number of documents to skip. Default: 0",
        },
        take: {
          type: "number",
          description: "Number of documents to return. Default: 10",
        },
      },
    },
  • src/index.ts:210-227 (registration)
    Registration of the 'doc_list' tool in the tools array, including name, description, and inputSchema. This array is returned by the ListToolsRequestHandler.
    {
      name: "doc_list",
      description: "List all documents in the Pickaxe studio with pagination.",
      inputSchema: {
        type: "object",
        properties: {
          studio: studioParam,
          skip: {
            type: "number",
            description: "Number of documents to skip. Default: 0",
          },
          take: {
            type: "number",
            description: "Number of documents to return. Default: 10",
          },
        },
      },
    },
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions pagination, which is useful, but doesn't describe what 'documents' contain, the return format, error conditions, rate limits, authentication requirements, or whether this is a read-only operation. For a list tool with zero annotation coverage, this leaves significant behavioral gaps.

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 is a single, efficient sentence that communicates the core functionality without unnecessary words. It's appropriately sized for a list operation and front-loads the essential information. Every word earns its place.

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?

Given the tool's moderate complexity (list operation with pagination), no annotations, and no output schema, the description is minimally adequate but incomplete. It covers the basic action and mentions pagination, but doesn't address what constitutes a 'document', return format, error handling, or relationship to sibling tools. For a tool with no structured behavioral hints, it should provide more context.

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 the schema already fully documents all three parameters. The description adds no additional parameter information beyond mentioning 'pagination' generally, which aligns with skip/take parameters but provides no extra semantic context. This meets the baseline for high schema coverage.

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?

The description clearly states the action ('List all documents') and resource ('in the Pickaxe studio'), making the purpose immediately understandable. It distinguishes from siblings like doc_get (retrieve specific document) and doc_create/delete (mutations). However, it doesn't explicitly differentiate from other list operations like studios_list or products_list.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention when to choose doc_list over doc_get for retrieving documents, or how it relates to other list operations like studios_list. There's no context about prerequisites, permissions, or typical use cases.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aplaceforallmystuff/mcp-pickaxe'

If you have feedback or need assistance with the MCP directory API, please join our Discord server