Skip to main content
Glama

Grant skill to project

grant_skills_add

Shares a skill with another project so its agent configs can attach it, and returns the grant; ownership doesn't change.

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": {
      "orgID": "<orgID>",
      "skillID": "<skillID>",
      "target_project_id": "<target_project_id>"
    },
    "name": "grant_skills_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIDYesOrganization ID (org_...).
skillIDYesSkill ID (skl_...).
target_project_idYesProject ID (proj_...).

Output Schema

NameRequiredDescriptionDefault
idYesIdentifies this grant; use it to revoke the project's access.
org_idYesOrganization the grant and its skill belong to.
skill_idYesSkill shared by this grant.
created_atYesWhen the skill was granted to the project.
target_project_idYesProject that can attach the skill through this grant.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "OrganizationID": {
      +      "pattern": "^org_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ProjectID": {
      +      "description": "Project ID (proj_...).",
      +      "pattern": "^proj_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "SkillGrantID": {
      +      "pattern": "^skg_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "SkillID": {
      +      "pattern": "^skl_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "Timestamp": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "properties": {
      +    "created_at": {
      +      "$ref": "#/$defs/Timestamp",
      +      "description": "When the skill was granted to the project."
      +    },
      +    "id": {
      +      "$ref": "#/$defs/SkillGrantID",
      +      "description": "Identifies this grant; use it to revoke the project's access."
      +    },
      +    "org_id": {
      +      "$ref": "#/$defs/OrganizationID",
      +      "description": "Organization the grant and its skill belong to."
      +    },
      +    "skill_id": {
      +      "$ref": "#/$defs/SkillID",
      +      "description": "Skill shared by this grant."
      +    },
      +    "target_project_id": {
      +      "$ref": "#/$defs/ProjectID",
      +      "description": "Project that can attach the skill through this grant."
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "org_id",
      +    "skill_id",
      +    "target_project_id",
      +    "created_at"
      +  ],
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
    • addedInput schema / properties / skillID / description
      Added value: +"Skill ID (skl_...)."
    • addedInput schema / properties / target_project_id / description
      Added value: +"Project ID (proj_...)."
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the mutation and non-destructive safety profile, and the description adds genuinely new facts: the call returns the grant object and 'ownership doesn't change', which rules out a transfer. It stops short of addressing duplicates or repeat-call behavior, which matters given idempotentHint=false.

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?

A single well-formed sentence with the action, the recipient, and the ownership caveat front-loaded. Nothing is wasted and no clause requires re-reading.

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

Completeness4/5

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

With an output schema present, the description does not need to enumerate return fields, and it only briefly notes that a grant is returned. For a three-parameter mutation tool it is close to complete, missing only authorization expectations and what happens on a repeat grant.

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

Parameters3/5

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

Schema description coverage is 100%, so all three parameters are already documented with patterns and formats. The description only adds the framing that target_project_id refers to 'another project'; no further meaning beyond the schema is provided, so baseline 3 applies.

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 states a specific verb and resource — it shares/grants a skill to another project — and clarifies the effect ('its agent configs can attach it'). It is clearly distinguishable from grant_skills_delete and grant_skills_list, though it never explicitly names an alternative to contrast with.

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 by the stated effect ('so its agent configs can attach it'), which tells the agent the scenario this tool serves. There is no explicit when-not guidance, no mention of prerequisites such as target-project access, and no pointer to related grant tools.

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.