Skip to main content
Glama

gateway_admin_grant_access_package

Assign a complete business access package atomically to a subject, with reason, optional TTL, and dry-run support. Requires admin permission.

Instructions

Assign a complete business access package atomically. Requires access:admin.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYes
dry_runNo
ttl_daysNo
package_keyYes
subject_keyYes
subject_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The description discloses two behaviorally relevant traits beyond the annotations: the operation is atomic and requires access:admin. It does not mention side effects, reversibility, or that dry_run defaults to true, which is a notable omission for an admin mutation tool.

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?

The description is two short sentences with no filler. The core action is front-loaded, and the admin permission requirement is provided as useful supplementary information.

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?

Despite having an output schema Alert, the tool has six parameters, four required, and zero schema descriptions. A complete description would clarify required parameter semanticsroutes, especially subject_type values, the dry_run default behavior, and how package grants compare to scope/resource grants. Current description is too sparse for reliable invocation.

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%, so the description must compensate for the six undocumented parameters. It clarifies that package_key refers to a business access packageaging package, but it does not explain subject_type, subject_key, reason, dry_run, or ttl_days. This leaves agents unable to determine valid parameter values.

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 uses a specific verb ('Assign'), a clear resource ('complete business access package'), and a distinctive trait ('atomically'). This differentiates it from sibling tools like gateway_admin_grant_scope and gateway_admin_grant_resource, which operate on narrower access units.

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?

The phrase 'complete business access package' implies this is for package-level grants rather than scopes or resources, so usage context is indirectly conveyed. However, the description does not explicitly state when to use this tool versus alternatives like gateway_admin_grant_scope, gateway_admin_grant_resource, or gateway_admin_revoke_access_package.

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

Deploy Server

Other Tools