Skip to main content
Glama

PromptVault

Ask the company documents

ask_documents
Read-onlyIdempotent

Premium. Asks PromptVault a question about your user's company documents and returns its answer, with personal data shown as tokens. If the answer takes longer than a minute you get a task_id: call get_task_result with it. Pass the same conversation_id to continue a thread.

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": {
      "question": "<question>"
    },
    "name": "ask_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionYes
conversation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered; the description adds real behavior on top: results are PII-tokenized, there is a one-minute latency threshold after which a task_id is returned, and 'Premium' flags a plan/entitlement gate. Gaps remain around failure modes and whether the answer is grounded/cited, but the async-vs-sync behavior is the key disclosure and it is present.

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?

Four tight sentences with an explicit conditional ('if the answer takes longer than a minute') and no wasted clauses. Leading with 'Premium.' is slightly odd front-loading for a plan caveat, but everything else is efficient and well ordered.

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?

For a two-parameter, no-output-schema tool, it covers the essentials an agent needs: what it returns, how PII appears, the async escape hatch and its sibling, and conversation continuity. Missing only error/entitlement failure behavior and any note on answer provenance.

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 0%, so the description must carry the parameters, and it explains the non-obvious one well: conversation_id continues an existing thread. 'question' is left implicit, with no note on phrasing, scope or length constraints, which is why this is not a 5.

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 ('asks PromptVault a question') and resource ('your user's company documents') and the shape of the result ('returns its answer, with personal data shown as tokens'). That distinguishes it clearly from document-listing or search siblings without the agent needing to open the schema.

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?

Gives concrete routing rules: if the answer takes over a minute, call get_task_result with the returned task_id, and pass the same conversation_id to continue a thread. It does not explicitly contrast with search_documents or list_documents, but the async and threading conditions are spelled out rather than implied.

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