Skip to main content
Glama
tillbooks

tillbooks

Official

vendor_portal_revoke

Revoke a vendor portal access grant by stamping revoked_at, so its token is denied as grant_invalid. Vendor-only and never deletes the grant, preserving the access trail.

Instructions

Widerrufe einen Lieferanten-Portalzugang (US-F03.4): stamps revoked_at so any read of the token now denies as grant_invalid. Fenced to kind=vendor (a non-vendor id returns not_found), so the vendor verb never touches a customer grant. The row is NEVER deleted (the grant history is the revDSG access trail). Revoking an already-revoked grant is a no-op returning the original state.

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": {
      "workspaceId": "<workspaceId>",
      "grantId": "<grantId>"
    },
    "name": "vendor_portal_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
actorNo
grantIdYes
workspaceIdYes
idempotencyKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the destructiveHint=false annotation: it discloses the mechanism (stamps revoked_at), the downstream effect (reads deny as grant_invalid), that the row is never deleted for audit-trail reasons, and that repeat calls are idempotent. This is exactly the mutation context an agent needs before acting.

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?

Four tight sentences, front-loaded with the action and requirement tag, each carrying distinct information (mechanism, scope fence, durability, idempotency). No filler, though the German/English mix makes it marginally denser to parse.

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 mutation with no output schema and only a destructiveHint annotation, the behavioral picture is nearly complete, including the return semantics of already-revoked calls. The remaining gap is undocumented parameters, which is the one thing an agent still has to infer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description never explains grantId, workspaceId, actor, or idempotencyKey. The idempotency behavior is implied behaviorally, but nothing says what the params are or how they interact, so an agent must guess from names alone.

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 ('Widerrufe einen Lieferanten-Portalzugang') and cites the requirement ID US-F03.4. Crucially it scopes itself to kind=vendor and explicitly says it never touches a customer grant, which separates it from the near-identical portal_grant_revoke sibling.

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?

The fencing condition ('a non-vendor id returns not_found') plus the no-op-on-already-revoked rule tell an agent exactly when this call is appropriate and safe to repeat. It stops short of naming the customer-grant sibling as the alternative to use instead, leaving the routing inference implicit.

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

Deploy Server

Other Tools