Skip to main content
Glama

6102TTK — Turkish Commercial Law Decisions

Karar say / Count decisions

karar_say
Read-onlyIdempotent

Sorgunun kaç kararla eşleştiğini sayar; sorgudaki her kelime ve öbeğin tek başına kaç kararda geçtiğini ve dizinde neye çevrildiğini döndürür. Karar metni döndürmez. — Counts the decisions matching a query and, for each term, how many decisions contain it alone.

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": {
      "sorgu": "<sorgu>"
    },
    "name": "karar_say"
  }
}

Input Schema

NameRequiredDescriptionDefault
sorguYesArama sorgusu, en çok 500 karakter; sorgu dili sunucu talimatında. Search query (max 500 chars).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real value by disclosing the return shape (match count, per-term and per-phrase counts, index normalization) and by stating that decision text is not returned. It says nothing about limits, cost, or empty-result behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Two sentences, front-loaded with the counting purpose and the negative constraint, which is good ordering. The Turkish and English versions largely duplicate each other, and the English half drops the index-normalization detail, so the bilingualism costs length without full parity.

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-only count tool with no output schema, the description does cover what is returned and what is not. Remaining gaps are the query-language pointer (deferred to server instructions) and any statement about result size or truncation.

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?

With a single parameter at 100% schema coverage, the schema already documents the 500-character query field. The description's phrase 'sorgudaki her kelime ve öbeğin' hints that the query is tokenized into words and phrases, which is mild added semantics, but the query language itself is deferred to server instructions.

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 names a specific verb (say/count) and resource (decisions matching a query), and explicitly rules out returning decision text, which implicitly separates it from text-returning siblings like karar_metni. It stops short of naming any sibling directly, so the differentiation is inferred 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'Karar metni döndürmez' tells the agent this is the counting path rather than the fetch path, which suggests when to prefer it. There is no explicit when-to-use/when-not-to-use guidance or named alternative such as karar_ara.

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