Skip to main content
Glama

Ver metadata de una encuesta ANDA

get_anda_survey_info
Read-only

Retrieve full metadata for one ANDA survey by its ID, including scope, variables, microdata availability, and access terms to evaluate dataset fit and access conditions.

Instructions

Full metadata for one ANDA survey (string idno from search_anda): scope, variables, microdata availability and access terms.

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": {
      "idno": "<idno>"
    },
    "name": "get_anda_survey_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
idnoYesSurvey idno or numeric id from search_anda ("idno" or "id" field)
formatNotext summary (default) or json structured result.text

Output Schema

NameRequiredDescriptionDefault
sourceNo
metadatosYes
url_fuenteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "metadatos": {
      +      "properties": {
      +        "contrato": {
      +          "const": "ecudatamcp.response.v1"
      +        }
      +      },
      +      "required": [
      +        "contrato"
      +      ],
      +      "type": "object"
      +    },
      +    "source": {},
      +    "url_fuente": {}
      +  },
      +  "required": [
      +    "metadatos"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.13.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "type": "object"
      -}New value: +null
  3. Changed1 schema field changedv0.12.0
    • changedInput schema / properties / idno / description
      Previous value: -"Survey identifier from search_anda (the \"idno\" field)"New value: +"Survey idno or numeric id from search_anda (\"idno\" or \"id\" field)"
  4. Changed2 schema fields changedv0.10.0
    • addedInput schema / properties / format / description
      Added value: +"text summary (default) or json structured result."
    • addedInput schema / properties / idno / description
      Added value: +"Survey identifier from search_anda (the \"idno\" field)"
  5. Changed4 schema fields changedv0.8.14
    • removedInput schema / properties / format / title
      Removed value: -"Format"
    • removedInput schema / properties / idno / title
      Removed value: -"Idno"
    • removedInput schema / title
      Removed value: -"get_anda_survey_infoArguments"
    • removedOutput schema / title
      Removed value: -"get_anda_survey_infoDictOutput"
  6. First observedv0.8.12

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, and an output schema exists, so the safety profile and return shape are covered elsewhere. The description adds content scope by naming the metadata categories returned, but discloses nothing about failure modes (invalid idno), pagination, or how access terms are represented.

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?

A single front-loaded sentence with a colon-delimited field list; every clause carries 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?

With a rich output schema, full parameter documentation and read-only annotations, the description only needs to state the resource and its contents, which it does. A brief note on invalid-idno behavior or the format parameter's effect would make it complete.

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 both idno and the format enum are fully documented in the schema. The description only echoes the idno provenance ('string idno from search_anda') and says nothing about the format parameter, adding no meaning beyond the schema. Baseline 3 applies.

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 resource and scope: 'Full metadata for one ANDA survey', plus which fields are returned (scope, variables, microdata availability, access terms). It qualifies itself against sibling download_anda_microdata implicitly by framing the result as metadata rather than data files, though it never names that sibling.

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?

Points the agent to search_anda as the source of the idno, which implies a lookup-first workflow. However, it never states explicitly when to prefer this over download_anda_microdata or other get_*_info siblings, leaving the routing to inference.

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