Skip to main content
Glama

riman-ca-botalab-deserticola-conditioner-dropship-study

search_multilingual_corpus

Read-onlyIdempotent

Search the package *_multilingual_corpus.jsonl for narrative / localized text hits by query substring and optional language code. Requires repo_name. Prefer query_quantitative_csv for numeric survey tables; prefer get_repo_overview for title/abstract only; prefer list_repos to find packages first. Read-only, no auth; limit default 10 max 50; missing JSONL returns {error:"jsonl_not_found"}.

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": {
      "repo_name": "<repo_name>"
    },
    "name": "search_multilingual_corpus"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoAlias of query
limitNoMax hits (1–50, default 10)
queryNoCase-insensitive substring matched against each JSONL line
languageNoKeep only records whose language field equals this code
repo_nameYesPublished package id in the form riman-{slug} (e.g. riman-ca-araliadiol-regulatory-inci-trust-study). Discover ids with list_repos.

Output Schema

NameRequiredDescriptionDefault
nNoHit count returned
fileNoJSONL filename
hitsNoParsed JSONL objects (or {raw} on parse failure)
errorNoPresent only on failure
repo_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"Language code: en | zh-TW | zh-CN | ja | es | fr"New value: +"Keep only records whose language field equals this code"
    • addedInput schema / properties / language / enum
      Added value: +[
      +  "en",
      +  "zh-TW",
      +  "zh-CN",
      +  "ja",
      +  "es",
      +  "fr"
      +]
    • changedInput schema / properties / limit / description
      Previous value: -"Max hits (default 20)"New value: +"Max hits (1–50, default 10)"
    • addedInput schema / properties / limit / maximum
      Added value: +50
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • changedInput schema / properties / query / description
      Previous value: -"Search string"New value: +"Case-insensitive substring matched against each JSONL line"
    • changedInput schema / properties / repo_name / description
      Previous value: -"Package folder name: riman-{slug}"New value: +"Published package id in the form riman-{slug} (e.g. riman-ca-araliadiol-regulatory-inci-trust-study). Discover ids with list_repos."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "error": {
      +      "description": "Present only on failure",
      +      "type": "string"
      +    },
      +    "file": {
      +      "description": "JSONL filename",
      +      "type": "string"
      +    },
      +    "hits": {
      +      "description": "Parsed JSONL objects (or {raw} on parse failure)",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "n": {
      +      "description": "Hit count returned",
      +      "type": "number"
      +    },
      +    "repo_name": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  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 readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description still adds genuinely new behavior: no auth required, the default/maximum limit contract, and an explicit error return ({error:"jsonl_not_found"}) when the corpus file is absent. It stops short of describing hit ordering or truncation behavior, which keeps it below 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?

Purpose and required parameter lead, followed by sibling routing and then limits/error behavior — a sensible front-loaded order with no filler. The semicolon-chained phrasing is dense but every clause carries information, so only minor credit is withheld for readability.

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?

With an output schema present, the description needn't explain return records, and it instead covers what the schema cannot: discovery of repo_name via list_repos, auth posture, limit defaults, and the missing-file error contract. For a 5-parameter read tool this is complete enough to call correctly on the first attempt.

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 coverage is 100%, so every parameter is already documented, including q as an alias of query, the language enum values, and the limit bounds. The description only repeats the substring-matching and language-filter ideas plus the limit default, adding no syntax or format detail beyond the schema; baseline 3 applies.

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?

The description names a specific verb (search) plus the exact resource it reads (*_multilingual_corpus.jsonl) and states the matching semantics: substring query plus optional language code. It also notes the required repo_name, so an agent can distinguish it from get_repo_overview, query_quantitative_csv, and list_repos without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It explicitly routes the agent away with three conditional alternatives: query_quantitative_csv for numeric survey tables, get_repo_overview for title/abstract only, and list_repos to discover package ids first. Those are the exact situations where an agent might otherwise pick the wrong sibling.

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