Skip to main content
Glama

apikey_get_scope

Read-only

Returns the scope and permissions of the current API key. No inputs.

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": "apikey_get_scope"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile of this call is fully structured data. The description adds only that it applies to the current API key (i.e., no arguments or target selection needed) and does not describe the shape of the scope/permission data returned, so it contributes modest value beyond the annotations.

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?

Two short sentences, front-loaded with the purpose, with no filler or hedging. The trailing "No inputs." is mildly redundant against the empty schema, but it is cheap and preempts an agent hunting for arguments.

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?

The tool is simple and parameterless, but there is no output schema, so the description is the only place that could have said what fields the returned scope/permissions contain — and it does not. Relative to a low-complexity tool with full annotation coverage this is adequate but leaves the return shape unspecified.

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?

With zero parameters, the baseline is 4, and the description correctly confirms there is nothing to supply via "No inputs." There is no parameter meaning left to convey, and no misleading hint of optional arguments.

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 a specific verb and resource ("Returns the scope and permissions") and scopes it to "the current API key," which is concrete enough that an agent knows exactly what it retrieves. It does not, however, distinguish itself from the similarly-scoped sibling rbac_get_my_access, leaving the overlap to inference.

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?

There is no when-to-use or when-not-to-use guidance, and no mention of the closely related rbac_get_my_access tool that an agent could plausibly pick instead. Usage is only implied by the purpose statement; nothing routes the agent between the two permission-checking options.

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.