Skip to main content
Glama

set_screening_criteria

Save inclusion and exclusion criteria for a medical literature screening run so researchers can specify which studies to keep or reject. Replace existing rules by starting a new revision.

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

C2.9/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false/openWorldHint=false, and 'Save' implies mutation, so the direction is consistent. However, the description omits the significant behavioral trait that supplying replace=true starts a new revision and re-screens everything (only present in the schema), and says nothing about overwrite semantics or required run state. Minimal value added beyond annotations.

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?

Very short and front-loaded, with the purpose stated first. The second sentence ('Rules: guide("screening")') is cryptic internal shorthand that spends a sentence without conveying actionable meaning to an outside agent.

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 and schema coverage is complete, so return values and parameter details are handled elsewhere. What is missing is the usage context (where this fits relative to start_search and record_screening_decisions) for a mutation tool whose replace flag is destructive to prior screening work.

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 coverage is 100%, so run_id, include, exclude and replace are all documented in the schema, including the consequential replace behavior. The description adds no parameter-level meaning of its own, which matches the baseline 3 when the schema does the heavy lifting.

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+resource: save inclusion/exclusion criteria for screening. This clearly separates it from screening-execution siblings like next_screening_batch and record_screening_decisions. It stops short of naming any sibling explicitly, so 4 rather than 5.

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 only usage signal is the opaque 'Rules: guide("screening")' line, which does not state when to call this versus alternatives such as record_screening_decisions, nor any prerequisites or sequencing. An agent can infer this is a setup step but gets no explicit when/when-not guidance.

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