Skip to main content
Glama

command_run

Destructive

Run a Zotero CLI command by its exact path, passing positional args and safe flags; control writes via yes, dry-run, and other gate flags.

Instructions

Run one mirrorable Cobra command by its space-separated command path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsNoAdditional positional arguments only; raw flags rejected.
nameYesExact space-separated command path to run, such as "items enrich".
flagsNoSafe flags to pass by name: command-local flags plus, for mutating commands, the write-safety gate flags (yes, dry-run, allow-destructive, allow-zotero-cloud, max-changes, continue-on-error, max-failures) — pass {"yes": true} to apply a write. Inspect available flags via command_search.

Schema Changelog

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

  1. Changed1 schema field changedv0.19.0
    • changedInput schema / properties / flags / description
      Previous value: -"Safe flags to pass by name: command-local flags plus, for mutating commands, the write-safety gate flags (yes, dry-run, allow-destructive, max-changes, continue-on-error, max-failures) — pass {\"yes\": true} to apply a write. Inspect available flags via command_search."New value: +"Safe flags to pass by name: command-local flags plus, for mutating commands, the write-safety gate flags (yes, dry-run, allow-destructive, allow-zotero-cloud, max-changes, continue-on-error, max-failures) — pass {\"yes\": true} to apply a write. Inspect available flags via command_search."
  2. First observedv0.7.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already flag destructive behavior and non-read-only operation, so the bare 'Run' wording does not contradict them. The top-level description adds no further behavioral context such as side effects, write-safety gates, or return behavior; those details appear in the schema, not in the description.

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

Conciseness5/5

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

The description is one compact sentence that front-loads the operation; it has no filler. Detailed flag semantics are correctly deferred to the schema rather than repeated in the description.

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?

The combination of the terse description, the rich flags parameter description, and the destructive/readOnly annotations gives an agent enough to invoke the tool safely. The main unresolved piece is the meaning of 'mirrorable', and there is no mention of output or error behavior, but for a command runner this is a modest gap.

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?

With 100% schema description coverage, the parameters are already documented in the schema. The top-level description adds little beyond restating that the command is addressed by a space-separated path, which duplicates the name parameter's description.

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 concrete action ('Run'), a specific resource ('one mirrorable Cobra command'), and the addressing scheme ('space-separated command path'). It makes clear this executes a command rather than searches for one, but it does not name siblings or explain the unexplained 'mirrorable' qualifier.

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 description implies the use case: given a command path, run it. It does not explicitly state when to choose this over command_search, context, query, or workflow_submit; the only cross-reference is the schema's note to inspect available flags via command_search, which is not in the description itself.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OrgMentem/zotio'

If you have feedback or need assistance with the MCP directory API, please join our Discord server