Skip to main content
Glama

Grant profile access

grant_profile_access
Idempotent

Give an existing organization member access to a profile, so they can see and work on its jobs. Admins, and managers on profiles they reach. Repeating it is harmless. Refused if the user is not an active member of this organization; for someone still invited use grant_profile_access_to_invitation. Returns the access record.

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": {
      "id": "<id>",
      "userId": "<userId>"
    },
    "name": "grant_profile_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProfile id, from list_profiles.
userIdYesThe member's user id, from list_organization_members.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover write/idempotent/non-destructive/non-open-world, and the description reinforces idempotency with 'Repeating it is harmless'. Beyond annotations it adds genuinely new behavior: the authorization requirement, the refusal condition for non-active members, and the return value. It stops short of describing the error surface or what the access record contains, keeping it off a 5.

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?

Four short sentences, front-loaded with the effect, then permissions, then idempotency, then the failure/alternative. No filler; each clause carries a distinct fact an agent needs.

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

Completeness5/5

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

For a two-parameter mutation with no output schema, the description covers effect, authorization, idempotency, failure condition, sibling alternative, and the return value. Nothing material is left for the agent to infer before calling.

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 coverage is 100% and both parameters carry format, pattern, and provenance hints (list_profiles, list_organization_members), so the baseline is 3. The description adds one semantic constraint not in the schema — that the userId must belong to an active org member — but says nothing about the profile id's validity or scoping rules.

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?

States a specific verb (grant) and resource (profile access) plus the concrete outcome: the member can see and work on the profile's jobs. It also explicitly separates itself from grant_profile_access_to_invitation, so an agent can route between them without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides the precondition (the target must be an existing active organization member), the permission model (admins, and managers on profiles they reach), and the explicit alternative for invited users. When-not-to-use is stated alongside when-to-use, which is the strongest form of guidance.

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