Skip to main content
Glama

search

Read-onlyIdempotent

Keyword/full-text search over the NEAR knowledge base: docs.near.org and partner docs (NEAR Intents, NEAR AI Cloud, NEAR Agent Market, Trezu), gov.near.org governance and developer threads, NEAR release notes, blog and GitHub issues of NEAR repositories. NEAR only: not for other blockchains, the general web or local files. Use this for exact-term or name lookups; use semantic_search for conceptual how-does-X-work questions, and get_doc to read a full page once you have 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
typeNoall
limitNo
queryYesSearch query

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds genuine scope context by naming the indexed corpora, but says nothing about ranking, result counts, pagination, or what a hit looks like (id? snippet?). Since the annotation bar is already met, a 3 is fair — useful context, no contradiction.

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?

Two sentences, front-loaded with the search scope before the routing guidance. The parenthetical list of partner sources is long but each item carries real information about what is searchable; nothing is pure filler.

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 three-parameter read-only search with no output schema, the description covers the crucial decisions: what corpus, what query style, and when to pick a sibling instead. The residual gaps — the `limit` parameter, the unmentioned `youtube` type, and result shape — are minor for a tool of this simplicity.

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 only 33%: `query` is documented, but `type` and `limit` carry no schema descriptions at all. The description partially compensates by naming the content categories that the `type` enum selects (doc/discussion/blog/github), though it never mentions `youtube` or the `limit` parameter and its 10/50 bounds. Helpful but incomplete against a sub-50% coverage baseline.

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 ("Keyword/full-text search over the NEAR knowledge base") and enumerates the indexed corpora — docs.near.org, partner docs, gov.near.org, release notes, blog, GitHub issues. It also draws a hard boundary ("NEAR only: not for other blockchains, the general web or local files"), which lets an agent separate it from any general search tool without opening 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 Guidelines5/5

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

Gives an explicit selection rule — "use this for exact-term or name lookups" — and names both alternatives with their own trigger conditions: semantic_search for conceptual questions, get_doc to read a full page once an id is known. This is close to a complete routing table among three siblings.

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