Skip to main content
Glama
Drafts MCP Server

Drafts MCP Server

by Automaat

search_drafts_db

Searches local Drafts titles and content by query text to locate matching drafts.

Instructions

Search drafts by text content in the local database

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_drafts_db"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesSearch text in draft content and titles

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only says the search covers local database content. It does not state matching semantics (substring vs. fuzzy vs. tokenized), ranking, result limits, or what the response contains.

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?

A single compact sentence with the resource and scope front-loaded and no filler. Its brevity is efficient, though it borders on under-specification rather than over-verbosity.

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?

For a one-parameter read tool without annotations or an output schema, the description is minimally adequate but omits return shape, result limits, and how it relates to the sibling search_drafts. An agent could invoke it, but not confidently choose it over the alternative.

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?

The single parameter is fully documented in the schema (100% coverage), so the baseline is 3. The description's 'text content' phrasing roughly restates the schema's 'draft content and titles' without adding syntax or behavior such as case sensitivity or multi-word handling.

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?

States a specific verb (Search) and resource (drafts) plus a scope qualifier (by text content in the local database), which is more than a restatement of the name. It does not, however, explicitly distinguish itself from the sibling search_drafts, leaving the agent to guess why two search tools exist.

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?

No when-to-use or when-not-to-use guidance is given, and no alternative is named. With a sibling literally called search_drafts in the same family, the absence of any routing guidance is a meaningful gap.

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