Skip to main content
Glama

check_access

Asks the controller how current access rules would treat a connection from a user, group, or device to an IP address or DNS name, with optional port, protocol, and deployment.

Instructions

Ask the controller how it would treat a connection under the rules as they stand now. who is {"user": email}, {"user_group": name} or {"device": name or id}. destination is an IP address or DNS name.

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": {
      "who": "<who>",
      "destination": "<destination>"
    },
    "name": "check_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
whoYes
portNo
protocolNotcp
deploymentNo
destinationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read-only simulation of current policy but does not state side effects, permissions, rate limits, or return format.

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?

The description is short and front-loaded, with purpose first and parameter clarifications after. It avoids unnecessary wording, though the parameter notes are incomplete.

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

Completeness2/5

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

For a 5-parameter tool with a nested `who` object and no output schema, the description is incomplete. It does not explain optional connection parameters or the shape of the controller’s response.

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 explains only `who` and `destination` formats. It omits meaning for `port`, `protocol`, and `deployment`, which are relevant to a connection access check.

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 gives a specific verb and resource: ask the controller how it would treat a connection under current rules. It is clear what check_access does, though it does not explicitly distinguish itself from sibling tools such as get_auth_decisions or check_prerequisites.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no explicit when-to-use guidance, prerequisites, or alternatives. It implies this is for live access evaluation, but does not say when to prefer it over related tools like get_auth_decisions.

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