Skip to main content
Glama

Find documents (deprecated)

find_diagrams
Read-only

Deprecated: use find_documents instead; this name is removed on 2027-04-30. It takes the same input as find_documents.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYesHow many documents matched.
documentsYesThe matches, most relevant first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +{}
    • removedInput schema / properties / limit
      Removed value: -{
      -  "description": "Max results (default 20).",
      -  "maximum": 50,
      -  "minimum": 1,
      -  "type": "integer"
      -}
    • removedInput schema / properties / query
      Removed value: -{
      -  "description": "Only documents whose name contains this text.",
      -  "type": "string"
      -}
  2. Changed5 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Only diagrams whose name contains this text."New value: +"Only documents whose name contains this text."
    • changedOutput schema / properties / count / description
      Previous value: -"How many diagrams matched."New value: +"How many documents matched."
    • removedOutput schema / properties / diagrams
      Removed value: -{
      -  "description": "The matches, most relevant first.",
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "id": {
      -        "description": "The diagram id.",
      -        "type": "string"
      -      },
      -      "library": {
      -        "description": "Where it lives: \"personal\", or the name of the team whose library holds it.",
      -        "type": "string"
      -      },
      -      "name": {
      -        "description": "The diagram name.",
      -        "type": "string"
      -      },
      -      "updatedAt": {
      -        "description": "When it was last saved, as a ms epoch.",
      -        "type": "number"
      -      },
      -      "url": {
      -        "description": "Link that opens the diagram in the livediagram editor.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "updatedAt",
      -      "library",
      -      "url"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / documents
      Added value: +{
      +  "description": "The matches, most relevant first.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "description": "The document id.",
      +        "type": "string"
      +      },
      +      "library": {
      +        "description": "Where it lives: \"personal\", or the name of the team whose library holds it.",
      +        "type": "string"
      +      },
      +      "name": {
      +        "description": "The document name.",
      +        "type": "string"
      +      },
      +      "updatedAt": {
      +        "description": "When it was last saved, as a ms epoch.",
      +        "type": "number"
      +      },
      +      "url": {
      +        "description": "Link that opens the document in the livediagram editor.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name",
      +      "updatedAt",
      +      "library",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "count",
      -  "diagrams"
      -]New value: +[
      +  "count",
      +  "documents"
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context the annotations lack — the deprecation deadline and input parity with find_documents — but says nothing about results or side effects.

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, deprecation status front-loaded ahead of the redirect. No filler. The only inefficiency is the misleading title, which isn't part of the description text.

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 the deprecation notice plus redirect plus removal date cover what an agent needs to decide whether to call it at all. Adequate for a deprecated alias.

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

Parameters4/5

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

Zero parameters, so there is nothing to disambiguate; baseline 4 applies. The note that it accepts the same input as find_documents is a small helpful pointer even though the schema is empty.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never directly states what the tool does; it only declares deprecation and points at find_documents. The name find_diagrams and the parity claim ('takes the same input as find_documents') let an agent infer it finds diagrams, but the title 'Find documents' actively muddies the resource.

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?

It names the replacement explicitly ('use find_documents instead') and gives the lifecycle condition (removed on 2027-04-30), which is clear enough for routing. It stops short of a full 'use X when / use this when' split, since this tool's only legitimate use is legacy compatibility.

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