Skip to main content
Glama

set_screening_criteria

DestructiveIdempotent

Save inclusion and exclusion criteria to define screening rules for medical literature reviews, enabling consistent and auditable study selection.

Instructions

Save the researcher's inclusion and exclusion criteria for screening. Rules: guide("screening").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesRun ID from start_search
excludeYesExclusion criteria in the researcher's words
includeYesInclusion criteria in the researcher's words
replaceNoRequired to change existing criteria; starts a new revision and re-screens everything

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.2/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is partially covered. Yet the description says nothing about the destructive consequence — that setting criteria starts a new revision and re-screens everything — which the schema only reveals under 'replace'. For a mutation with real re-screening side effects, this is a significant disclosure gap.

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?

Two short sentences with the core action front-loaded and no filler. The trailing 'Rules: guide("screening")' is cryptic and reads as a stray directive rather than a useful rule, slightly weakening structure.

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?

An output schema exists, so return values need not be explained, and parameter docs are complete. But for a destructive, re-screening mutation, the description omits the behavioral consequences an agent needs, leaving a real gap despite the rich schema.

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%, including the key nuance on 'replace' (new revision, re-screens everything), so the schema does the heavy lifting. The description only echoes the include/exclude purpose already documented, adding no new parameter meaning. 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 verb (Save) and resource (inclusion/exclusion criteria for screening), which is clear. However it does not distinguish this tool from siblings like record_screening_decisions or start_search, so an agent cannot route confidently on the description alone.

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 only usage hint is 'Rules: guide("screening")', which points to a sibling tool for methodology rules rather than explaining when to call this tool versus alternatives. It implies a mandatory procedural step but never states when this must be invoked relative to screening.

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