Skip to main content
Glama

xpay Academic Research Collection

get_field_statistics

Get statistical information about field values.

This tool retrieves statistical information about the values of specified fields in the ClinicalTrials.gov database.

Input:

  • field_names: A list of field names to get statistics for.

  • field_types: A list of field types to filter by. Example: ['ENUM', 'STRING']

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
field_namesNoField names to get statistics for
field_typesNoField types to filter by (ENUM, STRING, DATE, INTEGER, NUMBER, BOOLEAN)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It describes the operation as retrieving statistical information, implying a safe read. However, it does not explain the nature of the statistics returned, potential performance implications, or any requirements, so transparency is moderate.

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

Conciseness3/5

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

The first two sentences are redundant ('Get statistical information about field values' and 'This tool retrieves statistical information...'), which wastes space. The input section is clearly structured but could be more concise. Overall, the description is acceptable but not tight.

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

Completeness3/5

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

The tool has only two optional parameters and no output schema, so the description must cover the result format. It explains the inputs well but does not describe what the statistics output looks like (e.g., counts, distributions). This leaves a gap in completeness for a stats tool.

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?

Schema description coverage is 100% (both parameters are described). The description adds value by providing an explicit example for field_types (['ENUM', 'STRING']) and clarifying the purpose of each parameter, which goes beyond the schema alone.

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 retrieves statistical information about field values in the ClinicalTrials.gov database. This is a specific verb+resource pairing that distinguishes it from sibling tools like get_available_fields and trial search tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no explicit guidance on when to use this tool versus alternatives. It implies usage (when you need statistics on field values) but does not offer conditions, exclusions, or references to sibling tools, leaving the agent to infer applicability.

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.

TDQS

C2.6/5.0
Disambiguation1/5

Multiple tools appear to serve the same purpose, such as search_arxiv and search-arxiv, or papers-search-basic, paper-search-advanced, search_papers, and search. The download/read tools for different sources follow similar patterns, but some return 'not supported' messages, making it unclear which tools are actually functional.

Naming Consistency1/5

Tool names mix snake_case, kebab-case, and bare verbs without a consistent pattern. For example, about_nanci, analysis-citation-network, download-full-paper-arxiv, fetch, and search_arxiv all coexist, and the same action for different sources alternates conventions (search-arxiv vs search_arxiv).

Tool Count1/5

With 53 tools, the server is heavily over-scoped. Many tools are redundant or near-duplicates, such as six source-specific search tools plus an aggregate search, and the inclusion of both paper and clinical trial tools in one server creates unnecessary bloat.

Completeness3/5

The server covers a wide range of research workflows, including search, download, read, citations, authors, and clinical trials. However, several tools (crossref/pubmed download/read) are non-functional dead ends, and the redundancy makes it harder to navigate the surface.

Resources