Skip to main content
Glama

Reject governed typed knowledge

dm.reject_governed_knowledge
Destructive

Reject one typed Rule, Skill, or Authorization Policy through the existing human review path. Requires delegated OAuth human reviewer authority and an expected version/hash.

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": {
      "knowledge_type": "<knowledge_type>",
      "object_id": "<object_id>",
      "expected_version": "<expected_version>"
    },
    "name": "dm.reject_governed_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
object_idYes
knowledge_typeYes
expected_versionYes
expected_payload_hashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the risk profile is covered structurally. The description adds genuinely new behavioral context on top: the action runs through a human review path rather than applying immediately, requires delegated human reviewer OAuth authority, and enforces an expected version/hash precondition that guards against stale writes.

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?

Two tight sentences: the action and its scope come first, the authorization and precondition requirements second. No restatement of the title, no filler, and nothing an agent must read to the end to discover.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent mutation with five parameters at 0% schema coverage and no output schema, the definition covers authority, mechanism, and optimistic concurrency well. It omits what actually happens to the knowledge object on rejection (deletion, archival, or status transition), whether the operation is reversible, and what the caller receives back, which are the gaps that matter for a destructive 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?

Schema description coverage is 0%, so the description must carry parameter meaning, and it partly does: it expands the knowledge_type enum into human terms (Rule, Skill, Authorization Policy) and frames expected_version/expected_payload_hash as concurrency preconditions rather than opaque fields. It says nothing about object_id's scope or the optional reason field, whose 4000-char cap and visibility to the submitter are left undocumented.

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 specific verb (Reject), a bounded resource set (one typed Rule, Skill, or Authorization Policy), and the mechanism used (the existing human review path). An agent can distinguish it from dm.approve_governed_knowledge purely on the verb, though the description never names that sibling to make the contrast explicit.

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?

It supplies a real prerequisite — delegated OAuth human reviewer authority — which tells the agent this is not a service-identity action, plus the constraint that a version/hash is expected. It stops short of stating when to pick this over dm.reject_review_proposal or when a rejection should be preceded by a comment or clarification request.

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