Skip to main content
Glama

Dismiss an access request

dismiss_repo_capability_request
DestructiveIdempotent

Dismiss an access request for good: it does not reopen when an agent reports the same need again. Workspace admins or owners only; requires the repository environments feature.

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": {
      "workspace_id": "<workspace_id>",
      "repo_id": "<repo_id>",
      "request_id": "<request_id>"
    },
    "name": "dismiss_repo_capability_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_idYesThe repository id from get_workspace.
request_idYesAn access request id from list_repo_capability_requests.
workspace_idYesThe workspace id (from whoami).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the meaningful consequence: the request does not reopen when an agent reports the same need again. It also discloses authorization level and a feature-flag dependency, which annotations cannot express. It stops short of describing the response or any notification side effects.

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 short sentences with zero filler: the permanence semantics come first, then the authorization and feature prerequisites. Every clause carries information an agent needs before calling.

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 three-parameter mutation tool with strong annotations and no output schema, the description covers the destructive semantics, permission model, and feature prerequisite. The remaining gap is minor: it does not say what the tool returns or whether the requesting agent is notified.

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% and each parameter already documents its source (get_workspace, whoami, list_repo_capability_requests), so the schema does the heavy lifting. The description adds no parameter-level meaning at all, making the baseline 3 correct.

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?

Specific verb (dismiss) plus resource (access request) and an explicit scope qualifier ('for good'), which distinguishes it semantically from a plain denial. It never names deny_access_request or approve_access_request directly, so an agent must infer the boundary from wording rather than an explicit sibling reference.

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?

Gives real prerequisites in 'Workspace admins or owners only; requires the repository environments feature', which tells an agent whether the call is even permitted. However, it offers no explicit when-to-use-vs-alternative guidance (e.g. choose this over deny_access_request when the request should never resurface), leaving the main selection decision implicit.

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