Skip to main content
Glama

Answer a question about Hispanic Legacy

answer
Read-onlyIdempotent

Answer a question from the corpus, or refuse. Returns only the claims that bear on the question, each with the sources it cites and its editorial confidence. When the corpus cannot answer, answered is false and abstention_reason plus missing_topics say what was not covered — a refusal is a real result here, not an error. Use this when the user asked a question in words; use search when you want to see the candidates yourself.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionYesThe question to answer, in the words the user asked it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
claimsNo
entityNo
marginNoRelative gap between the best candidate and the runner-up. A small margin means the corpus cannot tell them apart.
answeredYes
coverageNoShare of the question's information the winning object accounts for, weighted by term rarity.
candidatesYesNear misses, so a refusal is still a lead. Present whether or not the question was answered.
match_scoreNo
matched_fieldsNo
missing_topicsYesMeaningful words in the question that appear nowhere in the winning object — the gap, named.
match_thresholdYesThe coverage this corpus requires before it will answer at all.
match_confidenceNoHow well the answer fits the QUESTION — retrieval confidence, not editorial. Never confuse it with a claim's own confidence, which is how much the corpus stands behind the statement.
matched_questionNoThe stored question this was matched to, when the answer came from one.
abstention_reasonNoWhy the corpus declined: empty_query, no_candidates, below_coverage, ambiguous_candidates or no_intent_match.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changed
    • addedOutput schema / properties / abstention_reason
      Added value: +{
      +  "description": "Why the corpus declined: empty_query, no_candidates, below_coverage, ambiguous_candidates or no_intent_match.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / candidates
      Added value: +{
      +  "description": "Near misses, so a refusal is still a lead. Present whether or not the question was answered.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coverage": {
      +        "type": "number"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "score": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "score",
      +      "coverage"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / claims / items / properties / relevance
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / properties / claims / items / required
      Previous value: -[
      -  "text",
      -  "confidence",
      -  "sources"
      -]New value: +[
      +  "text",
      +  "confidence",
      +  "sources",
      +  "relevance"
      +]
    • addedOutput schema / properties / coverage
      Added value: +{
      +  "description": "Share of the question's information the winning object accounts for, weighted by term rarity.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / entity / properties / x
      Added value: +{
      +  "additionalProperties": {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "description": "Indexed instance-specific attributes, grouped by namespace — the same fields api/index.json publishes. Absent when the instance declares none.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / margin
      Added value: +{
      +  "description": "Relative gap between the best candidate and the runner-up. A small margin means the corpus cannot tell them apart.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / match_confidence
      Added value: +{
      +  "description": "How well the answer fits the QUESTION — retrieval confidence, not editorial. Never confuse it with a claim's own confidence, which is how much the corpus stands behind the statement.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / match_score
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / match_threshold
      Added value: +{
      +  "description": "The coverage this corpus requires before it will answer at all.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / matched_fields
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / matched_question / description
      Added value: +"The stored question this was matched to, when the answer came from one."
    • addedOutput schema / properties / missing_topics
      Added value: +{
      +  "description": "Meaningful words in the question that appear nowhere in the winning object — the gap, named.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "answered"
      -]New value: +[
      +  "answered",
      +  "match_threshold",
      +  "missing_topics",
      +  "candidates"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / question / description
      Added value: +"The question to answer, in the words the user asked it."
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds meaningful behavior beyond that: it details the return composition (claims with sources and editorial confidence) and explains the refusal semantics (answered=false, abstention_reason, missing_topics). This gives the agent a precise model of what happens in both success and abstention cases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, each earning its place: the core action, the behavioral detail, and the routing guidance. It is front-loaded with the main purpose and avoids any filler or redundant restatement of the title.

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 one parameter, a complete output schema, and annotations covering safety and idempotency, the description needs to handle only the behavioral and selection nuances. It does so thoroughly by explaining refusal behavior and distinguishing itself from search. Nothing essential is missing.

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 fully documents the single 'question' parameter. The description reinforces the intended usage ('in the words the user asked it') but adds no new semantic information beyond the schema. A 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Answer a question from the corpus, or refuse.' It clearly distinguishes the tool from the sibling search by saying 'Use this when the user asked a question in words; use search when you want to see the candidates yourself.' This leaves no ambiguity about what the tool does.

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?

The description provides explicit when-to-use guidance: 'Use this when the user asked a question in words' and explicitly names the alternative: 'use search when you want to see the candidates yourself.' It also handles the refusal case, explaining that a refusal is a real result, not an error.

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.