Skip to main content
Glama
cardloom-mcp

cardloom-mcp

by bangca85

Update Card Status

update_card_status

Verify, deprecate, or reconfirm a card after human review; deprecation requires a reason and preserves the file.

Instructions

Change a card's status. action="verify" (draft -> verified, only after a human reviewer approves it) or action="deprecate" (draft/verified -> deprecated, requires reason; the file is kept, never deleted — FR3). action="reconfirm" (verified only: a human re-checked the card and it is still right; refreshes last_verified without changing status; refused for a card that needs review). deprecated is terminal, there is no un-deprecate. When deprecating a draft because the learning is wrong, a duplicate or not worth keeping, start the reason with "rejected:". Any other transition returns invalid_transition with the valid options.

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": {
      "id": "<id>",
      "action": "<action>"
    },
    "name": "update_card_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNoWho performed this action — defaults to REVIEWER_NAME or "human-reviewer"
idYesCard id
actionYesOne of: verify, deprecate, reconfirm
reasonNoRequired when action is "deprecate"
expected_hashNoFor action "reconfirm": sha256 of the card file as it was listed; refused if the file changed since
verification_methodNoHow the card was verified, for action "verify" — defaults to "chat-approval". When approving a candidate from `npm run promote-merged`, pass the evidence it printed (e.g. "merged:owner/repo@sha+chat-approval").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it does well on consequences: the file is kept and never deleted (FR3), deprecated is terminal with no reverse, and invalid transitions are rejected with an error name. However, it says nothing about permissions/authorization beyond "human reviewer approves", no rate or concurrency behavior, and no indication of what a successful call returns.

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?

It is front-loaded and every sentence is informative, but it is delivered as one dense run-on paragraph mixing transition rules, error behavior, and a naming convention. Splitting the per-action rules from the error/termination rules would make it markedly easier to scan.

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 six-parameter mutation tool with no annotations and no output schema, the description covers the risky parts well: valid transitions, required preconditions, terminality, and rejection behavior. The main remaining gap is what a successful result looks like, since no output schema exists to cover it.

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 every parameter already has its own description and the baseline is 3. The description adds genuine value beyond the schema only in the reason convention (start with "rejected:" when deprecating a wrong/duplicate/not-worth-keeping draft) and in tying the action enum to state preconditions; it does not explain expected_hash or verification_method beyond what the schema already says.

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?

The description opens with a specific verb+resource ("Change a card's status") and then defines each of the three actions with their exact state transitions (draft -> verified, draft/verified -> deprecated, verified only for reconfirm). This is far more than the title restated and lets an agent distinguish it from read-oriented siblings like get_card.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the precondition for each action (a human reviewer approved, verified-only for reconfirm, reason required for deprecate) and explicitly states what is refused and why, including that any other transition returns invalid_transition with valid options listed. It also names the terminal-state exclusion (no un-deprecate) and the "rejected:" convention for a specific deprecate case.

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