Skip to main content
Glama

Build, run and import searches

revisia_search_act
Destructive

Use this when preparing stage 2. action build: AI proposes the concept blocks and saves them (save: false to only look); it runs as a job and answers at once, so wait with revisia_jobs (kind strategy) and call build again to get the proposal without new AI. action toggle_block: put a concept block in the query or take it out (comparator and outcome start out on purpose: requiring them narrows the search); without terms it switches on revisia's suggested names. action toggle_term: switch names on or off. action edit_strategy / edit_queries: save the researcher's changes; edit_strategy replaces every block, so send back status detail full blocks with their provenance; names revisia switched off stay off unless you send enabled: true. action run: run searches in the databases the researcher chose (providers, or searches); without them it launches nothing and returns the available databases so you can ask. version_id launches that strategy version and records the run under it. dry_run defaults to true and only reports the counts, dry_run false launches ingestion jobs. action import: import an exported reference file (RIS, BibTeX, CSV, NBIB, WoS, ICTRP) by passing its CONTENT, at most 200,000 characters per call (split a bigger file into several imports); URLs are never fetched. Wait for jobs with revisia_jobs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>",
      "project_id": "<project_id>"
    },
    "name": "revisia_search_act"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNobuild: save the proposed strategy (default true). The researcher still signs stage 2.
blockNotoggle_block, toggle_term: block role or label.
termsNotoggle_term: names to switch (source tells MeSH from free text). toggle_block active true: names to search with; omit for revisia's suggestions.
actionYes
activeNotoggle_block: in the query (AND) or out.
blocksNoedit_strategy: every concept block, as in strategy_blocks of status detail full.
formatNoimport: file format (auto-detected if left out).
sourceNoimport: database the file was exported from, for PRISMA.
contentNoimport: the file CONTENT (RIS, BibTeX, CSV, NBIB/MEDLINE, WoS or ICTRP export), at most 200,000 characters per call: split a bigger file into several imports. Never a URL.
dry_runNoDefault true: only report what would run and the quota used. false launches.
enabledNotoggle_term: switch the names on or off.
queriesNoedit_queries: hand-edited query per database.
searchesNorun: searches to launch. Leave out to use the saved strategy's query for each database in `providers`.
providersNorun: databases to search with the saved strategy, only the ones the researcher chose. Leave out to get the list to ask them.
project_idYesReview id (from revisia_projects list).
version_idNorun: launch this strategy version (id from revisia_search versions) instead of the saved strategy; the run is recorded under it.
idempotency_keyNoSame key within 24 h returns the first launch instead of a second job.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / source / enum
      Previous value: -[
      -  "pubmed",
      -  "openalex",
      -  "europepmc",
      -  "scielo",
      -  "lilacs",
      -  "clinicaltrials",
      -  "wos",
      -  "scopus",
      -  "embase",
      -  "cinahl",
      -  "cochrane",
      -  "psycinfo",
      -  "proquest",
      -  "ictrp",
      -  "other"
      -]New value: +[
      +  "pubmed",
      +  "openalex",
      +  "europepmc",
      +  "scielo",
      +  "lilacs",
      +  "clinicaltrials",
      +  "wos",
      +  "scopus",
      +  "embase",
      +  "cinahl",
      +  "cochrane",
      +  "psycinfo",
      +  "proquest",
      +  "sportdiscus",
      +  "ictrp",
      +  "other"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / searches / items / properties / filters
      Removed value: -{
      -  "properties": {
      -    "from_publication_date": {
      -      "description": "YYYY-MM-DD",
      -      "maxLength": 10,
      -      "type": "string"
      -    },
      -    "language": {
      -      "maxLength": 20,
      -      "type": "string"
      -    },
      -    "to_publication_date": {
      -      "description": "YYYY-MM-DD",
      -      "maxLength": 10,
      -      "type": "string"
      -    },
      -    "type": {
      -      "maxLength": 40,
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedInput schema / properties / version_id
      Added value: +{
      +  "description": "run: launch this strategy version (id from revisia_search versions) instead of the saved strategy; the run is recorded under it.",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
  3. Changed7 schema fields changed
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "build",
      -  "edit_strategy",
      -  "edit_queries",
      -  "run",
      -  "import"
      -]New value: +[
      +  "build",
      +  "edit_strategy",
      +  "edit_queries",
      +  "toggle_block",
      +  "toggle_term",
      +  "run",
      +  "import"
      +]
    • addedInput schema / properties / active
      Added value: +{
      +  "description": "toggle_block: in the query (AND) or out.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / block
      Added value: +{
      +  "description": "toggle_block, toggle_term: block role or label.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / blocks / description
      Previous value: -"edit_strategy: the full list of concept blocks."New value: +"edit_strategy: every concept block, as in strategy_blocks of status detail full."
    • addedInput schema / properties / blocks / items / properties / terms / items / properties / provenance
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Copy back unchanged from status detail full.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / enabled
      Added value: +{
      +  "description": "toggle_term: switch the names on or off.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / terms
      Added value: +{
      +  "description": "toggle_term: names to switch (source tells MeSH from free text). toggle_block active true: names to search with; omit for revisia's suggestions.",
      +  "items": {
      +    "properties": {
      +      "source": {
      +        "enum": [
      +          "mesh",
      +          "free",
      +          "acronym",
      +          "brand",
      +          "user"
      +        ],
      +        "type": "string"
      +      },
      +      "text": {
      +        "maxLength": 120,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "text"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 30,
      +  "minItems": 1,
      +  "type": "array"
      +}
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the destructive/openWorld annotations, it discloses defaults and side effects that an agent could not otherwise know: save defaults true but the researcher still signs, build runs as a job and answers immediately, dry_run defaults true and only reports counts while false launches ingestion jobs, and edit_strategy replaces every block so full blocks with provenance must be sent back. It also warns that import takes file CONTENT with a 200,000-character cap and never fetches URLs, and that names switched off stay off unless enabled: true.

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 opening sentence front-loads the stage context and each clause is action-prefixed, so nothing is pure filler. However, the whole definition is a single semicolon-chained paragraph, which makes scanning seven actions and their gotchas harder than a short per-action breakdown would.

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?

For a 17-parameter, seven-action, no-output-schema tool, the description covers sequencing, defaults, limits, and failure modes such as run launching nothing without providers. The remaining gap is that return payloads (e.g. what build's proposal looks like) are only loosely described, and no output schema exists to fill that in.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 94%, yet the prose still adds operational meaning to high-risk parameters: what version_id does to run recording, that providers must be the researcher's chosen databases or nothing launches, that searches overrides the saved strategy, and that toggle_block defaults the comparator/outcome to off. This is genuine value above the schema text.

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 enumerates all seven actions (build, toggle_block, toggle_term, edit_strategy, edit_queries, run, import) with a specific verb+resource for each, so an agent knows exactly what the tool covers. It does not explicitly contrast itself with revisia_search, so the read/write split must be inferred from the action list and the destructive annotation.

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?

Strong situational framing: 'Use this when preparing stage 2', 'wait with revisia_jobs', 'call build again to get the proposal without new AI', and 'leave out to get the list to ask them' all tell the agent how to sequence calls. What is missing is an explicit exclusion or pointer to revisia_search for the read-only listing path.

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.

Resources