Skip to main content
Glama

ask

Read-only

Retrieve descriptions of matching knowledge items for a question and cite their item IRIs without invoking a model.

Instructions

Return the descriptions of the best-matching items for a question, citing their item IRIs; no model is called.

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": {
      "question": "<question>"
    },
    "name": "ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-structured information: no model is invoked, so results are deterministic lookups rather than generated text. It does not disclose result count, ranking, or how many items come back.

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?

A single front-loaded sentence with no filler; the return shape and the no-model caveat both land early. Slightly wasteful only in that the one noun slot in the sentence is spent on the vague 'items' rather than the actual corpus.

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?

There is no output schema, and the description compensates by stating what is returned (item descriptions plus IRIs) and that no generation occurs. For a one-parameter read-only tool this is nearly sufficient; the remaining gap is that the item domain and result-count behavior are never defined.

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?

One required parameter with 0% schema description coverage, so the description carries the burden. It does clarify that 'question' is a natural-language query whose matches are ranked by best fit, but it gives no constraints on phrasing or length and does not mention the missing optional filters.

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?

States a specific verb+resource: returns the descriptions of best-matching items for a question, with item IRIs cited. The phrase 'no model is called' cleanly separates it from generation-style siblings such as 'explain' or 'compose'. The weak point is 'items', which never names the corpus, so an agent must infer what is being matched.

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: ask with a natural-language question when you want raw matching descriptions rather than a synthesized answer. There is no explicit when-not guidance and no named alternative (e.g. 'search' or 'read') for cases where the agent wants full documents or a narrative response.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools