Skip to main content
Glama

Grant secret to project

grant_secrets_add

Grant a secret to a target project by providing organization, secret, and project IDs, enabling scoped access control for agents.

Instructions

Create secret grant

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgIDYes
secretIDYes
target_project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is partly covered. The description adds nothing beyond that: it doesn't explain what granting does, whether duplicate grants error (relevant given idempotentHint=false), or what permissions are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three words is not conciseness but under-specification; the text is too thin to be front-loaded meaningfully. It earns its place only by being harmless, not by being informative.

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 non-idempotent mutation tool with no output schema and zero parameter documentation, the description omits the target semantics, error behavior for duplicate grants, and required authorization context. The annotations cover part of the safety story but the definition remains inadequate for correct 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% across three required parameters (orgID, secretID, target_project_id), yet the description names none of them. Only the regex patterns in the schema hint at the expected ID formats, so the description fails to compensate for the documentation gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title 'Grant secret to project' plus the name 'grant_secrets_add' do convey the specific verb and resource, and the resource (secrets) distinguishes it from grant_machines_add/grant_models_add siblings. However, the description itself, 'Create secret grant,' is essentially a restatement of the name with no scope, target, or effect detail.

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?

No guidance on when to use this versus grant_secrets_delete or grant_secrets_list, no prerequisites, and no indication of when a grant is appropriate. The agent must infer everything from the name alone.

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