Skip to main content
Glama

Roman Kryvolapov Engineering Blog

Search the blog

search
Read-only

Search the romankryvolapov.com engineering blog: articles on Java, Kotlin, Android, Spring, microservices, gRPC, Kubernetes, databases, and running large language models locally (llama.cpp, LoRA fine-tuning, RAG, prompt engineering). Every article exists in English, Ukrainian, Russian and Bulgarian, and results come in one language: set lang to the user’s language, otherwise it is guessed from the query. Returns matching articles with snippets and URLs; read one with fetch, passing its id.

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

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the articles to return: en, uk, ru or bg — normally the user’s language. Without it: English for a query in Latin script, Ukrainian, Russian or Bulgarian for one in Cyrillic.
limitNoHow many articles to return.
queryYesFree-text search query, in any of the site’s four languages.

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / lang / description
      Previous value: -"Language of the articles to return: en, ru or uk — normally the user’s language. Without it: English for a query in Latin script, Russian or Ukrainian for one in Cyrillic."New value: +"Language of the articles to return: en, uk, ru or bg — normally the user’s language. Without it: English for a query in Latin script, Ukrainian, Russian or Bulgarian for one in Cyrillic."
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "ru",
      -  "uk"
      -]New value: +[
      +  "en",
      +  "uk",
      +  "ru",
      +  "bg"
      +]
    • changedInput schema / properties / query / description
      Previous value: -"Free-text search query, in any of the three languages."New value: +"Free-text search query, in any of the site’s four languages."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the read-only, closed-world, non-destructive profile, and the description adds genuinely useful behavior beyond that: results are returned in exactly one language, the language is guessed from the query when omitted, and results include snippets and URLs. It does not mention result ordering, pagination, or rate limits, which keeps it from 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded with the core purpose and then layers in language behavior and the handoff to fetch. The parenthetical topic list is long but earns its place by defining the searchable domain; no sentence is pure filler.

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?

For a three-parameter search tool with a full schema, an output schema, and safety annotations, the description covers scope, language selection and fallback, return shape, and the follow-up action. An agent has everything needed to call it correctly without guessing.

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. The description still adds meaning by explaining why 'lang' should be set to the user's language and by tying query language to the returned language, which is more than the schema's per-parameter text conveys.

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 the romankryvolapov.com engineering blog') and names the technical domains covered. It also distinguishes itself from the sibling 'fetch' by explaining that fetch reads a single article by id.

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?

Explains when to set 'lang' (normally the user's language) and what happens when it is omitted, and it routes the agent to 'fetch' for reading a single result. It does not state when not to search or how to handle an empty result set, so it falls short of a full when/when-not/alternatives treatment.

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