Skip to main content
Glama
Aditya-Khadye

mcp-clinical-doc-agent

cluster_adverse_events

Groups adverse event mentions from clinical trial protocols into clusters by body system such as gastrointestinal, cardiovascular, and neurological.

Instructions

Identify and group adverse-event mentions across one or more protocols.

Returns clusters bucketed by body system (gastrointestinal, cardiovascular,
neurological, dermatological, hematological, hepatic, respiratory, infections,
metabolic, other). If ``document_ids`` is omitted, clusters across all protocols.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description implies a read-only operation through 'Identify and group' and describes the output structure. It lacks explicit statements on safety (e.g., non-destructive) or side effects, which would raise the score. The parameter behavior (omission => all protocols) is well explained.

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 two concise sentences with no unnecessary words. The first sentence states the primary action, the second details output and parameter behavior, making it efficient and front-loaded.

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?

Given one optional parameter and an existing output schema (not shown but referenced), the description is nearly complete. It explains output and parameter behavior. A minor gap is the lack of explicit mention that it operates on existing mentions without modification.

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?

Despite 0% schema description coverage, the description adds significant meaning to the only parameter (`document_ids`) by explaining that omission clusters across all protocols. This compensates for the schema's lack of detail, though it could clarify what constitutes a document ID.

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 clearly states the tool groups adverse-event mentions by body system, with a specific verb ('Identify and group') and resource ('adverse-event mentions'). It distinguishes from siblings like `extract_entities` and `list_documents` by focusing on clustering adverse events across protocols.

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?

It provides clear context for when to use the tool (across one or more protocols) and behavior for the optional parameter. However, it does not explicitly state when not to use it or mention alternatives like `summarize_protocol`, though the sibling names make the distinction inferable.

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/Aditya-Khadye/mcp-clinical-doc-agent'

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