Skip to main content
Glama

Deny access request

deny_access_request
DestructiveIdempotent

Deny a pending access request: the requester is not added to the allowlist and stays unable to view the site. Use list_access_requests to find the request_id. For anyone who may edit the site; rejected requests (forbidden, plan_limit, not_found) make no change.

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

Input Schema

NameRequiredDescriptionDefault
site_idYesThe id of the site the request belongs to
request_idYesThe id of the access request to deny
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds value beyond that by spelling out what is NOT changed on success (allowlist untouched, viewer still blocked) and by enumerating no-op rejection outcomes for `forbidden`, `plan_limit` and `not_found`. It does not state the required permission level precisely, which caps it at 4.

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?

The effect is front-loaded, which is good, but the second sentence "For anyone who may edit the site" is a dangling fragment with no verb, and the third sentence packs error codes into an awkward run-on. The content is short but the phrasing is not clean.

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 two-required-parameter write with full annotation coverage and full schema coverage, the description supplies the missing pieces: outcome semantics, a discovery route for the id, and known no-op failure modes. Only the permission requirement sentence is too garbled to rely on.

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 100%, so both required parameters and the workspace_id fallback logic are already fully documented in the schema. The description's only added parameter meaning is that request_id originates from list_access_requests; it says nothing about workspace_id, so baseline 3 applies.

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 names a specific verb and resource ("Deny a pending access request") and states the concrete consequence: the requester is not added to the allowlist and stays unable to view the site. This clearly distinguishes it from the sibling approve_access_request without needing to open the 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?

It gives a concrete routing instruction — "Use list_access_requests to find the `request_id`" — which tells the agent the prerequisite step. It gives a rough audience scope ("For anyone who may edit the site") but that fragment is unclear, and it never explicitly names approve_access_request as the alternative for the opposite decision.

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.