Skip to main content
Glama

owner_command

Destructive

Run an owner command against the live app (changes are audited). Commands that cannot be undone or reach users (publish, prices, offers, deletes, API keys) do nothing and return { code: "needs_confirm", plan } first: show the plan to the owner, then ask the owner to approve the returned challenge in the admin (approval_url). You cannot approve it yourself, and confirm: true alone does nothing. Once approved, call again with the same args and approval: . An approval works once, for 10 minutes, for exactly those args.

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": {
      "app": "<app>",
      "command": "<command>"
    },
    "name": "owner_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
argsNo
commandYes
approvalNoChallenge id the owner approved; pass the same args

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / approval
      Added value: +{
      +  "description": "Challenge id the owner approved; pass the same args",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, destructiveHint=true) by disclosing the safe-fail behavior: destructive commands do nothing and return { code: 'needs_confirm', plan }. It also documents the approval lifecycle — single use, 10-minute window, bound to exactly those args, owner-approved out of band via approval_url — plus the fact that all changes are audited.

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 purpose is front-loaded in the first clause, then the gating behavior, then the exact recovery procedure. Every sentence carries operational information; nothing is padding, even the parenthetical list of gated command classes.

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 destructive tool with a nested free-form args object and no output schema, the description covers the risky path thoroughly, including the one non-obvious return shape. The remaining gap is discovery: it never explains where the set of valid commands and their args come from (e.g., owner_describe), which an agent needs before its first call.

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 only 25% schema coverage, the description must compensate, and it does well for `approval` (challenge id, same args required, single use) and implies `args` must match exactly. However, `command` and `app` are completely opaque — no hint about valid command names or how to discover them — leaving the most important parameter undocumented in both schema and 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?

States a specific verb and resource: 'Run an owner command against the live app', with the mutating scope made explicit ('changes are audited'). It is distinguishable from siblings like owner_describe or approvals_list, but it never names a sibling or says what class of 'owner command' this covers, so it stops short of a 5.

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?

Gives clear conditional guidance for the two-phase path: destructive or user-reaching commands return needs_confirm, the agent must show the plan and have the owner approve, then re-call with approval. It also implicitly excludes self-approval ('You cannot approve it yourself', 'confirm: true alone does nothing'), which steers away from the approval_approve sibling, but it never explicitly says when to prefer that sibling or when no approval is needed at all.

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.