Skip to main content
Glama

Egquery

egquery
Read-onlyIdempotent

Global query across all Entrez databases.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "term": "COVID-19 vaccines"
    },
    "name": "egquery"
  }
}

Input Schema

NameRequiredDescriptionDefault
termYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "term": "COVID-19 vaccines"
      +  },
      +  {
      +    "term": "CRISPR gene editing"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "NCBI egquery response - global query results across all databases",
      +  "type": "object"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety and repeatability are covered structurally. The description adds the behavioral scope (all databases at once rather than one), which is meaningful context, but says nothing about result shape, hit-count semantics, or limits.

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?

A single short sentence that front-loads the key qualifier 'Global' and fits the low complexity of the tool. It is efficient rather than padded, though it is arguably too terse to earn full marks.

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?

An output schema exists, so return values need not be explained. However, for a cross-database query tool the missing pieces are important: what 'term' accepts as syntax and what a per-database result set looks like when the agent decides between this and esearch.

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% and the description does not explain the single 'term' parameter at all — no mention of whether it accepts plain keywords, Boolean operators, or Entrez field tags. The two schema examples show simple keyword strings, which gives a weak hint, but query syntax remains undocumented.

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?

The description names a specific action (global query) and scope (across all Entrez databases), which distinguishes it from single-database siblings like esearch or efetch. It stops short of saying what a 'global query' returns, so it is clear but not fully discriminating.

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?

There is no statement of when to use this versus esearch, esummary, or efetch, nor any exclusion such as 'use this only for a quick cross-database count'. The agent must infer that this is a broad scouting query from the word 'global' alone.

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.