Skip to main content
Glama

deny

Rejects a pending access request using the same authority rules as granting, then direct-messages the requester with the outcome.

Instructions

Refuse a pending access request (see grants). Same authority rules as grant. The requester is DM'd the outcome.

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": {
      "request_id": "<request_id>"
    },
    "name": "deny"
  }
}

Input Schema

NameRequiredDescriptionDefault
request_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the full burden. It does disclose two useful traits beyond the bare action: the authority requirement is inherited from `grant`, and the requester receives a DM with the outcome. It omits what happens on an already-resolved request, whether the denial is reversible, and what errors to expect.

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?

Three short clauses, action first, with the pointer to `grants` and the authority/DM facts packed in. No filler and nothing buried behind preamble.

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 one-parameter mutation with no output schema, the definition covers the action, the authority model, and the side effect on the requester. Only edge-case behavior on invalid or stale request ids is left unstated, which is a minor gap at this complexity.

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 0% for the single `request_id` parameter, so the description needs to compensate. It does so indirectly by pointing to `grants` as the source of a pending request id, but it never states the expected form or where exactly the identifier comes from in that listing.

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?

"Refuse a pending access request" gives a specific verb (refuse) and resource (access request), and the parenthetical "(see `grants`)" anchors it to the sibling that lists such requests. An agent can tell it apart from `grant` immediately, though the description never explicitly says grant is the approve counterpart.

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?

The word "pending" implies the precondition that a request must already exist and be unresolved, and "Same authority rules as `grant`" signals who may call it. However, there is no explicit when-to-use/when-not-to-use statement or direct routing to `grant` for the approve case, so the guidance is inferred rather than stated.

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