Skip to main content
Glama

hedwigai

Ask a short question

ask
Read-only

A question whose answer is a word or a value, answered from this account's workbooks and programs without starting a run: 'Is Moderna NASDAQ:MRNA a biotech company with public float above $5B?', 'What is Alterity Therapeutics' lead program?'. answer is yes, no, unsure, invalid_premise (what the question names is not there: no such company, or a name and ticker that are two different companies) or the value asked for. Amounts are compared in code against the figure a program returned (claims says which, as of when); sources cites each program run and workbook section the answer rests on. It answers unsure rather than guess when the evidence does not settle it. Give context to have it answer from your own text instead, among options if you pass them. Reads only; programs it runs use the account's balance.

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
contextNoText the answer must rest on — a study's abstract, a clinical note, a policy. Given, nothing is looked up: no program, no workbook, no search, and `sources` cites only this text. At most 60,000 characters.
optionsNoThe answers you take, e.g. ["yes", "no", "maybe"]: `answer` is one of them, or `unsure` when ask is not sure enough of any; `probabilities` gives each. Only with `context`.
questionYesThe question, in your own words.
skip_cacheNoRead the workbooks, outlines and programs afresh for this question, setting aside what ask has kept for this account — for just after a workbook or an outline changed. Off by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / llm_model
      Removed value: -{
      -  "description": "The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess.",
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess.",
      +  "type": "string"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Text the answer must rest on — a study's abstract, a clinical note, a policy. Given, nothing is looked up: no program, no workbook, no search, and `sources` cites only this text. At most 60,000 characters.",
      +  "type": "string"
      +}
    • addedInput schema / properties / options
      Added value: +{
      +  "description": "The answers you take, e.g. [\"yes\", \"no\", \"maybe\"]: `answer` is one of them, or `unsure` when ask is not sure enough of any; `probabilities` gives each. Only with `context`.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 40,
      +  "minItems": 2,
      +  "type": "array"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-idempotent, and the description adds real context on top: programs it runs consume the account's balance, it prefers `unsure` over guessing, `invalid_premise` covers the missing-entity case, amounts are compared in code against program-returned figures, and `sources`/`claims` document provenance. It is also internally consistent with readOnlyHint=true ('Reads only').

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?

Dense and information-rich with little true waste, but it opens with a relative clause and embedded examples instead of a front-loaded purpose statement, and the `answer` enumeration plus provenance details make the first paragraph heavy to parse. Slight tightening would improve scanability.

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 no output schema, the description still describes the return surface (`answer`, `claims`, `sources`, `probabilities`) and their meaning, plus cost and caching behavior. For a four-parameter question-answering tool this leaves nothing an agent needs in order to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the per-parameter descriptions are already detailed, so the description's parameter content is largely restatement of `context`/`options` mechanics. It still adds one non-obvious interaction: passing `context` suppresses all lookup and restricts `sources` to that text, which helps an agent reason about precedence beyond what the schema states.

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 capability: answer a short factual question from this account's workbooks and programs, explicitly 'without starting a run', with two concrete examples. That phrase alone distinguishes it from run_workbook and read_workbook in the sibling set, and the `answer` taxonomy (yes/no/unsure/invalid_premise/a value) pins down the output shape.

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?

Clear when-to-use signals: word-or-value questions rather than analyses, `context` when the answer must rest on supplied text (nothing is looked up), `options` only alongside `context`, and `skip_cache` right after a workbook or outline changed. It stops short of naming run_workbook as the alternative for heavier computation, leaving that routing implicit.

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.