Skip to main content
Glama

Save a fixed library draft

library_save_draft
Destructive

Fetch Hive staff only. Copy the workflow opened with library_open_draft back over the library draft and run the quality check once (about 0.10 USD). 80 or more with a clean template check moves it to Ready for review. Call without approved first, and with approved: true after the person agrees.

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": {
      "template_id": "<template_id>",
      "workflow_id": "<workflow_id>"
    },
    "name": "library_save_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
approvedNotrue only after the person has agreed.
template_idYes
workflow_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses a per-call cost (~0.10 USD), that the quality check runs exactly once, the 80-point threshold with a clean template check that promotes the draft to Ready for review, and a two-phase approval protocol. It also makes the destructive behavior concrete by saying the working workflow is copied back OVER the library draft, which is the specific thing overwritten.

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?

Three tight sentences with no filler, and the access restriction plus core action are front-loaded. The phrasing '80 or more with a clean template check' is compressed to the point of being slightly opaque, costing a bit of clarity.

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, non-idempotent, cost-incurring mutation with no output schema, the description covers the important ground: cost, threshold outcome, and the approval sequence. It does not say what happens when the score falls below 80 or what a failed template check returns, which an agent would need to handle the result.

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 33%: only 'approved' is documented in the schema, and the description largely repeats that rule. It implies a mapping between workflow_id (the copy opened with library_open_draft) and template_id (the library draft being overwritten), but never states it explicitly, leaving the two string identifiers ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: copy the workflow opened via library_open_draft back over the library draft and run the quality check. It explicitly ties itself to the sibling library_open_draft as the prerequisite, so an agent can distinguish the pair without opening either schema.

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 a concrete call protocol: invoke without 'approved' first, then again with approved: true after the person agrees, plus an audience restriction ('Fetch Hive staff only'). It does not name an alternative for cases where the agent only wants to test a workflow (e.g. test_run_draft), so it falls short of full when-not guidance.

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