Skip to main content
Glama

Find a Docmint tool for a task

find_pdf_tool
Read-onlyIdempotent

Match a plain-language PDF or image task (for example "make this PDF under 2 MB", "turn these photos into one PDF", "remove the password") to the best Docmint tools. Returns up to 5 matches with their id, a ready link and the settings each accepts. Use it when the person wants to do something to a PDF or image and you don't know which tool fits. It does not receive, open or change any file.

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": {
      "task": "<task>"
    },
    "name": "find_pdf_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesWhat the person wants to do, in their words.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, and idempotentHint=true, so the safety profile is covered. The description adds useful behavior beyond that: it returns up to 5 matches with id, a ready link, and accepted settings. It also explicitly clarifies that no file is received, opened, or changed, which reinforces the non-destructive annotation rather than contradicting it.

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?

The description is three sentences and front-loads the core action before giving examples. Each sentence contributes: purpose, return shape, when to use, and the no-file-access boundary. It is slightly longer than strictly necessary but not wasteful.

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?

There is no output schema, and the description compensates by explaining that up to 5 matches are returned with id, link, and accepted settings. It also covers the usage trigger and the non-file-access boundary. For a single-parameter lookup tool, nothing material is missing.

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 single task parameter is already documented as 'What the person wants to do, in their words.' The description still adds value by illustrating acceptable plain-language phrasing such as "turn these photos into one PDF" and "remove the password." This goes beyond the schema by showing the expected input style.

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 uses a specific verb and resource: it matches a plain-language PDF or image task to the best Docmint tools. Concrete examples like "make this PDF under 2 MB" and "remove the password" make the scope unambiguous. It does not explicitly name the sibling tools list_pdf_tools or get_tool_link, so differentiation is implied rather than stated.

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 gives a clear trigger: use it when the person wants to do something to a PDF or image and you do not know which tool fits. It also rules out file handling by stating it does not receive, open, or change any file. It stops short of naming list_pdf_tools as the alternative when the agent already knows the tool name.

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.