Skip to main content
Glama

Warstwa: dokumenty i pomoc

Szukaj w dokumentach

search_docs
Read-only

Use to answer questions about Warstwa's rules: returns and 14-day withdrawal, complaints, delivery and payment, privacy, terms, personalisation and care. Searches the legal documents and help answers (Polish) and returns matching documents.

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_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesKeywords, e.g. 'zwrot', 'reklamacja', 'dostawa', 'napis'

Output Schema

NameRequiredDescriptionDefault
countYes
documentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint and openWorldHint annotations already establish that this is a safe, closed-world read operation. The description adds that the source documents and help answers are in Polish, which is useful behavioral context. However, it does not mention result ranking, limits, or how matching is performed, so it adds only modest value beyond the annotations.

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 two front-loaded sentences with little waste. The first establishes when to use the tool, and the second specifies the sources and language. The phrase 'returns matching documents' is mildly tautological for a search tool, but the description remains efficient overall.

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?

This is a simple one-parameter search tool, and an output schema exists, so the description need not explain return values. It covers the domain, source types, and language, which is enough for an agent to invoke it correctly. Additional detail about matching or result ordering would be helpful but is not essential.

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?

Schema description coverage is 100%, so the single query parameter is fully documented in the schema, including keyword examples. The description implies that Polish-language queries are appropriate, but it adds no further syntax or semantic guidance beyond that implication. This fits the baseline of 3 when the schema carries the parameter documentation.

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 gives a specific verb and resource: it searches legal documents and help answers and returns matching documents. It also enumerates the domain topics it covers, which makes its purpose clear. It does not explicitly distinguish itself from sibling tools such as list_docs or get_doc, so it falls short of a 5.

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?

The opening phrase 'Use to answer questions about Warstwa's rules' gives clear when-to-use guidance and lists the relevant topic areas. It does not name alternatives or state exclusions, such as when to prefer get_doc, so it remains below a 5.

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