Skip to main content
Glama

Presentations & Slides by Slaide

Search Slaide documents

search_documents
Read-onlyIdempotent

Use this when the user refers to an existing presentation or document in their own Slaide library — by name, topic or recency ("my Project Alpha deck", "the deck I edited last") — or asks what they have. Matches the title only, as one phrase; if nothing matches, search again with a single keyword or without query to see the most recently edited ones. Do this FIRST: you need a document_id before you can read, update or export anything, and document_ids are opaque ids, never titles, so never guess one. Do NOT use it to create anything. Returns a short list; follow up with get_document to see the content.

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": "search_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many documents to return. Omit for 10.
queryNoWords from the document title, matched as one phrase. Omit to list the most recently edited documents.
offsetNoHow many documents to skip, for the next page of results. Pass `next_offset` from the previous answer. Omit for the first page.

Output Schema

NameRequiredDescriptionDefault
countYesNumber of entries in `documents`.
has_moreYesTrue when more documents match than were returned. Fetch them with `offset` set to `next_offset`.
documentsYesThe matching documents. Empty when nothing matched.
next_offsetNoPresent only when `has_more` is true: the `offset` for the next page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/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 safety is covered; the description adds genuinely new behavior: phrase-only title matching, the fallback on no match, and the hard constraint that document_ids are opaque and never titles (an anti-hallucination rule). It does not mention rate limits, permissions, or result ordering beyond the recency default implied by the schema, which keeps it off a 5.

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?

Roughly four sentences, front-loaded with the trigger condition, then the matching caveat and recovery, then the prerequisite warning, then the exclusion and follow-up. No sentence is filler; the sequence mirrors how an agent would need to act.

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

Completeness5/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 need not be described, yet the description still flags that results are a short list to be followed by get_document. For a 3-optional-parameter read-only search, everything needed to call it and handle a miss is present.

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?

Schema coverage is 100%, so the baseline is 3, and the description still adds value by explaining the match semantics as 'one phrase' and prescribing the single-keyword fallback strategy when nothing matches. `limit` and `offset` are left entirely to the schema, which is acceptable since they are fully described there.

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 ('Search Slaide documents') and scopes it to the user's own library by name, topic or recency, with concrete example phrasings. It explicitly separates itself from creation ('Do NOT use it to create anything') and points to get_document for content, so an agent can distinguish it from siblings without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit triggering conditions (user names their own deck, asks what they have), an explicit exclusion (do not use to create), ordering guidance ('Do this FIRST' because a document_id is a prerequisite), and a recovery path when the phrase match fails (retry with one keyword or drop `query`). This is when/when-not/alternatives coverage.

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