Skip to main content
Glama

Organizar evidencias con fuentes

answer_with_sources
Read-onlyIdempotent

Retrieve and organize verifiable judicial passages with sources and version provenance. When allowed_modes is omitted, retrieval defaults to natural hybrid thematic search. Use allowed_modes=['judicial_text'] for explicit textual retrieval; require_semantic is preserved when supplied. Does not provide legal advice or determine the outcome of the user's case.

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

Input Schema

NameRequiredDescriptionDefault
questionYes
countriesNo
allowed_modesNo
max_citationsNo
source_groupsNo
require_semanticNo
response_languageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so the description is free to add retrieval behavior instead – and it does, disclosing the default mode when allowed_modes is null and that require_semantic is honored when supplied. Provenance/version tracking is also surfaced. It still omits output shape and citation-count behavior, which matters since no output schema exists.

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?

Three tightly packed sentences with the core purpose front-loaded and no filler. The allowed_modes sentence is efficient but slightly redundant with the schema default of null, costing a bit of density.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter tool with zero schema coverage and no output schema, the description leaves most of the surface undocumented. An agent cannot tell what countries, source_groups, max_citations or response_language accept, nor what the returned citations/provenance look like.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, so the description must carry the semantics and largely does not. It meaningfully explains only allowed_modes and require_semantic; countries, source_groups, max_citations, response_language and question are left entirely to bare titles and defaults.

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 pair ('retrieve and organize') plus resource ('verifiable judicial passages with sources and version provenance') makes the operation concrete. It stops short of stating the key differentiator from siblings such as search_evidence or search_decisions – namely whether it returns a synthesized, cited answer versus raw search hits.

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?

Gives real conditional guidance for one parameter family: default hybrid thematic search when allowed_modes is omitted, explicit textual retrieval with ['judicial_text']. It also sets a boundary ('does not provide legal advice or determine the outcome'). However, it never says when to pick this tool over search_evidence or search_decisions, which is the main routing decision an agent faces.

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