Skip to main content
Glama

Aadharsh Site

Ask

ask
Read-onlyIdempotent

Ask aadhar.sh a natural-language question and get NLWeb-shaped results: for each match a url, name, site, score (0-100), description, and a schema.org schema_object. Retrieval is lexical over the site's own corpus and descriptions are extractive, so this returns the passages that answer the question rather than a written answer. mode=summarize and mode=generate are refused by name: this origin runs no language model.

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

Input Schema

NameRequiredDescriptionDefault
modeNolist (the only one served here); summarize and generate are refused rather than degraded
prevNoprevious queries. Received and NOT resolved, since decontextualization needs a model; send decontextualized_query instead
siteNoNLWeb site token; this origin serves one site, so "aadhar.sh" or "all"
queryYesthe question, in natural language
top_kNoMaximum results. `limit` is read when top_k is absent.
decontextualized_queryNothe fully self-contained form of a follow-up question. When present this is what gets searched

Output Schema

NameRequiredDescriptionDefault
modeNo
siteNo
_metaNo
queryNo
totalNo
resultsYes
query_idYes
decontextualized_queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds meaningful behavior on top: lexical retrieval over the site's own corpus, extractive descriptions, and hard refusals for summarize/generate rather than silent degradation. Calling out refusal-by-name is exactly the kind of failure-mode disclosure an agent needs before invoking.

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 purpose and result shape, then the refusal constraint. Slightly dense in the first sentence (enumerating six result fields), but every clause conveys information and nothing is padding.

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?

The tool is simple (one required param, closed-world, output schema present), and the description covers purpose, result shape, and the main failure mode. Re-stating the return fields is mildly redundant given the output schema, but the retrieval-vs-answer distinction is the piece the schema cannot convey.

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 schema already documents every parameter including the mode enum, prev, site, top_k, and decontextualized_query. The description adds only the mode refusal rationale, which the schema also states. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

Specific verb and resource: "Ask aadhar.sh a natural-language question" and it names the exact result shape (url, name, site, score, description, schema_object). It clearly frames the tool as retrieval rather than answer generation. It does not, however, distinguish itself from a sibling such as search_site, so an agent must infer the boundary.

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 description gives real when-to-use and when-not-to-use guidance: it states this returns answering passages rather than a written answer, and that mode=summarize and mode=generate are refused by name because the origin runs no model. That is enough to steer an agent away from expecting synthesis. It stops short of naming an alternative tool for cases where a written answer is wanted.

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.