Skip to main content
Glama
msicilia

mcp-server-redcap

by msicilia

get_metadata

Retrieve REDCap project metadata (data dictionary) with field definitions, types, labels, choices, validation, branching logic, and required status. Filter by specific fields or forms using optional parameters.

Instructions

Get the data dictionary (metadata) for the REDCap project.

Returns field definitions including type, label, choices, validation, branching logic, and required status.

Args: fields: Filter to specific field names. None returns all fields. forms: Filter to specific instrument/form names. None returns all forms.

Returns: JSON array of field definitions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formsNo
fieldsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description must carry the full behavioral disclosure burden. It discloses the JSON array return format and explains the filtering behavior of None meaning 'all'. However, it does not explicitly state that the operation is read-only or mention any permissions or side effects, leaving a notable gap.

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 structured into clear sections: summary, parameter definitions, and return type. It is concise, with no filler or redundant content, and every sentence serves a purpose.

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?

Given the tool's simple two-parameter interface and the presence of an output schema, the description covers the essential information an agent needs: purpose, parameters, defaults, and return format. It is sufficiently complete for correct tool selection and invocation.

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

Parameters5/5

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

The input schema has zero description coverage, so the description must explain the parameters entirely. It does so effectively by defining both 'fields' and 'forms' as filters, including the meaning of None (return all). This adds essential semantics beyond the bare schema types.

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 explicitly states it retrieves the data dictionary/metadata for the REDCap project, listing the specific field attributes returned. This clearly distinguishes it from sibling tools like get_instruments (which lists instrument names) or get_project_structure.

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?

The description implies use when metadata is needed but offers no explicit guidance on when to prefer this tool over siblings such as export_field_names or get_project_structure. No exclusions or alternative tools are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/msicilia/mcp-server-redcap'

If you have feedback or need assistance with the MCP directory API, please join our Discord server