Skip to main content
Glama

Explain access

explain_access
Read-onlyIdempotent

Who has access to what, in sentences; with who and permission, yes or no and why (the chain that grants it, or what is missing); activity: what this identity did with it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "explain_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
whoNoAn address, group:<name>, service_account:<name>, app:<project>/<service>, task:<project>/<task>, or token:<id or name>.
scopeNo{}: the organization; otherwise down to a table, or a connection.
projectNoShortcut for scope.project.
activityNoWith who: what the identity did (log, calls).
permissionNoWith who: "can X <permission> on the scope?".
organizationNoThe organization.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and non-open-world, so the safety profile is covered. The description adds that answers come back 'in sentences' and that a permission verdict includes the granting chain or what is missing, which is genuinely useful for a tool with no output schema. However, it says nothing about what is required to call it (auth, org membership) or about result size/latency when activity is included.

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?

It is short and front-loads the core question ('Who has access to what'), with zero filler. But the compression comes at a cost: the three modes are run together in one semicolon chain with elliptical grammar, so a reader must re-parse it to extract the modes. Structuring the three answer types as distinct clauses or bullets would cost no extra length.

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

Completeness3/5

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

For a six-parameter, zero-required, nested-scope tool with no output schema, the description should carry the burden of explaining what comes back, and it only sketches three answer shapes in compressed form. The nested scope object (paths, table, schema, columns, connection, environment) gets no narrative treatment beyond the schema's own descriptions. It is adequate to attempt a call but not to predict the response.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description earns a bump by disclosing parameter interplay: permission is only meaningful together with who, and activity answers what the identity did 'with it' on the given scope. That conditional relationship is not obvious from the schema alone. It still does not explain the organization/project shortcut relationship or how scope narrowing changes the answer.

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 names three concrete question types: who-has-access-to-what, whether an identity holds a permission on a scope, and what an identity did. That is specific enough to separate it from mutation siblings like grant_role or request_access. It loses a point because the telegraphic semicolon packing ('with who and permission, yes or no and why') makes the verb+resource framing harder to parse than it needs to be.

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?

Usage is implied through parameter coupling ('with who and permission', 'activity: what this identity did') rather than stated. There is no explicit when-to-use or when-not guidance, and no routing to siblings such as get_activity_log, which the agent might otherwise pick for the activity case. The agent can infer the modes but must reason about overlap itself.

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