Skip to main content
Glama

Manage private CRID access

manage_crid_access
Destructive

Configure and enforce a private resource's access policy, send or revoke invitations, list grants, and approve or deny access requests and credentials.

Instructions

Manage a private resource's access policy, invitations, access requests, and grants. Invite takes only action, resource_id and email; omit expected_version, approval and policy. Report the exact invited email addresses without shortening them. Check every page of list_invitations before claiming nobody else was invited. If listing is denied, report the send receipts and say the list is unconfirmed; do not resend. Accepted delivery does not prove enrollment. Configure the next policy version, send or resend an email invitation, list invitations or consumer grants, approve or deny a request, approve a credential with id new, or revoke access. Read the current version before a decision; configuring the first policy on an existing private resource uses expected_version 0. For approve, put expected_version inside approval; zero is allowed only for id new. Existing requests use the listed decision id and version without credential fields. A six-digit code alone never authorizes approval on a resource with consumer_access. Ask which listed request the user wants to approve (the verified email for review); keys needs the intended public credential and contract needs a trusted entitlement receipt. Wait for that instruction. After an uncertain invite result, list invitations before retrying. Invite-only access has no consumer requests. Contract approval requires a trusted publisher entitlement receipt and expiry, not an unverified payment claim. A removal is complete only when session_cleanup is complete; retry the same removal/version while pending. Email proves mailbox control, not legal identity. Only listed fields are returned; invitation secrets and bearer links are never returned.

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": {
      "action": "<action>",
      "resource_id": "<resource_id>"
    },
    "name": "manage_crid_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
emailNo
limitNo
actionYes
cursorNo
policyNo
approvalNo
resource_idYesThe resource public key, CRID, or legacy r_ ID to manage access.
expected_versionNoCurrent listed version for configure, resend, revoke_invitation, deny or revoke_grant. Omit on invites and listings; approve uses approval.expected_version.

Output Schema

NameRequiredDescriptionDefault
grantNo
actionYes
grantsNo
resourceNo
invitationNo
invitationsNo
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.6
    • addedInput schema / properties / expected_version / description
      Added value: +"Current listed version for configure, resend, revoke_invitation, deny or revoke_grant. Omit on invites and listings; approve uses approval.expected_version."
  2. Changed2 schema fields changedv0.2.3
    • changedOutput schema / properties / grant / properties / credential_kind / enum
      Previous value: -[
      -  "passkey",
      -  "device"
      -]New value: +[
      +  "passkey",
      +  "device",
      +  "email"
      +]
    • changedOutput schema / properties / grants / items / properties / credential_kind / enum
      Previous value: -[
      -  "passkey",
      -  "device"
      -]New value: +[
      +  "passkey",
      +  "device",
      +  "email"
      +]
  3. Addedv0.2.2

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already flag a destructive, open-world, non-idempotent operation, and the description adds substantial behavioral context beyond them: removal is incomplete until session_cleanup finishes, pending cleanup should be retried with the same version, pagination must be checked fully, denied listing must be reported as unconfirmed, and invitation secrets/bearer links are never returned. It also clarifies the security limits of email verification.

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

Conciseness3/5

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

The content is valuable but delivered as a very long, dense paragraph with many unrelated operational rules in sequence. The opening sentence is front-loaded, but the remaining guidance is difficult to scan and would benefit substantially from bullets or action-based grouping.

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?

For a complex nine-action tool with nested policy and approval objects, the description covers most decision-critical behavior: sequencing, versioning, approval evidence, pagination, retry rules, and return-value limits. Some action-specific details, especially around grants and cursor/limit usage, remain thin, but the output schema covers return structure.

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?

Schema description coverage is low at 22%, so the description must carry meaning, and it does for the critical action-specific cases: which fields invite uses, where expected_version belongs for approve, why zero is reserved for id new, and what decision id/version and credential fields mean. It does not fully explain limit/cursor or every policy mode, which keeps this below the top score.

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?

Opens with a specific verb and resource: 'Manage a private resource's access policy, invitations, access requests, and grants.' It then names the concrete operations (configure, invite, list, approve/deny, revoke), making it clearly distinct from the sibling qurl tools.

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 explicit action-specific guidance: invite omits expected_version/approval/policy, configure reads the current version first, approve nests expected_version inside approval, zero is allowed only for id new, and uncertain invite results require listing before retrying. It also states when to ask the user rather than act, which is unusually strong procedural guidance.

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