Skip to main content
Glama

Grant or ask for access

access_grant
Destructive

Give access, ask for it, or decide on it. A grant changes who can read the content and cannot be unread, so every action here is treated as consequential. A request goes to the lowest common ancestor of you and the data's owner and climbs until it reaches someone who can grant it. Actions — share: grant members of this organization, by email or by member id from browse action=people, viewer or editor (or manager) on a folder or document; two calls, the first previews who would be granted and returns a confirm_token, and an address or id that is no member is refused. The second is all or nothing: if it fails partway, nobody was granted. request: ask for a role on something (location or node, role, reason); wait=true with a deadline registers a wait for the decision. approve: approve a request routed to you (request_id, note). decline: decline a request routed to you (request_id, note). declassify: release what your session has read so your next write is not labeled with it (sources), or one label on a document (location or node, source). hold: place a legal hold so nothing under it can be erased or purged (location or node, or identity; reason). share_out: offer a folder or document to a person in another organization by email (location or node, to, role); an agent below a person's own client proposes instead, and that person decides in the console. An address with no account is invited. The answer says whether they were emailed and carries recipient_link. accept_share: accept an offer made to you, a person (share_id), into the organization this connection is in; the answer names it. organization, if given, must be that one: a person in several picks another in the console. It lands under its own name at the top level, or inside location: a folder only you can see (refused, with the reasons, anywhere else). Only you and your agents read it. decline_share: decline an offer made to you (share_id). decide_share: a person decides a proposal (share_id, approve); refused to every AI client. set_settings: set whether editors may share a folder or document (location or node, editors_can_share: true, false, or null to inherit); owner or manager only. grant_capability: let the agents working in a folder and below it get a short-lived credential for an outside service (location or node, target: github:/, permissions: GitHub App permission name:read or :write, repeatable, max_ttl_s at most 3600); manager only, for a repository whose owner the organization's GitHub App is installed on.

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>"
    },
    "name": "access_grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoshare_out: the recipient's email
nodeNorequest, declassify, hold, share_out, set_settings: the document or folder, by id instead of location. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · grant_capability: the folder, by id instead of location. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too.
noteNoapprove, decline: a note to the requester
roleNoshare: viewer opens it; editor also edits; manager can also approve access requests for it, share it and grant within it. Sharing needs manager on this folder or one above it, or editor there to share as viewer or editor, unless its owner turned editor sharing off (access_grant action=set_settings). reader, writer and approver are deprecated aliases for viewer, editor and manager · request, share_out: default viewer. editor can also edit; manager (request only) can also share it, grant within it and decide requests for it. An approved request gives the role to everyone you work under who lacks it, too. Asking for a role you already hold, or one below it (manager implies editor, editor implies viewer), is refused. reader, writer and approver are deprecated aliases for viewer, editor and manager
seatNothe seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent, and each call that carries it keeps the seat yours for a whole lease from that call
waitNorequest: also register a wait for the decision
actionYeswhat to do; each action takes the arguments its line names
emailsNoshare: email addresses to share with; give emails, members or both (at most 20 recipients per call)
reasonNorequest, hold, share_out, grant_capability: why you are doing this, in one line (at most 200 characters); recorded with the event and exported with the log
sourceNodeclassify: the label's source, a path or node id. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too.
targetNogrant_capability: the outside service: github:<owner>/<repo>
approveNodecide_share: true to offer it, false to decline
membersNoshare: member ids from browse action=people, for a person whose address you do not have; the preview names who each one is
sourcesNodeclassify: which read sources to release (paths or node ids); default all. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too.
deadlineNorequest: with wait: when to stop waiting (ISO)
identityNohold: an identity id, to hold its drafts
locationNoshare: full path from the workspace root, e.g. "handbook/vendor/acme.md" (as printed by browse action=documents or search). A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · request, declassify, hold, share_out, accept_share, set_settings: the document or folder, by path; accept_share: the folder to put it in, only you can see (default the top level) · grant_capability: the folder, by path. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too.
share_idNoaccept_share, decline_share, decide_share: the share's id, from access_read action=offers, shared or proposals
acting_asNoan agent identity below you, or one working in a folder you can write (pass its seat too), by its id (from identity_write action=spawn) or its @handle (brief_me lists your agents with both), to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person
max_ttl_sNogrant_capability: the longest a credential issued under it lives, in seconds (default and most 3600)
request_idNoapprove, decline: the request's id, from access_read action=requests or my_requests
scope_typeNoshare: folder (the default) shares everything beneath the path; document shares that one file. A pasted link's kind is used when omitted.
permissionsNogrant_capability: GitHub App permission name and level, repeatable, e.g. issues:write, contents:read
continuationNorequest: with wait: a note to your future self for when it resolves
organizationNoaccept_share: the organization to put an accepted share in, by id or name: only the one this connection is in; omit for that one
confirm_tokenNoshare: from the first call. Calling without it PREVIEWS: nothing is shared.
idempotency_keyNoAny unique string you choose for this write, e.g. a UUID. If you retry the call with the same key and the same arguments, the first answer is returned and nothing is done twice. Reusing a key for a different request is refused. Keys are kept 24 hours.
editors_can_shareNoset_settings: true lets editors share here, false stops them, null clears this node's own setting so it inherits

Output Schema

NameRequiredDescriptionDefault
holdNo
roleNo
textNothe answer as prose, for an action that answers in prose
waitNo
acrossNo
actionYesthe action that answered
canSeeNo
labelsNo
emailedNoshare_out when offered or invited: whether the recipient is emailed; when false, send them recipient_link
refusedNo
requestNo
revokedNo
requestsNo
scope_idNo
settingsNo
invitationNo
scope_typeNo
subject_idNo
capabilitiesNo
declassifiedNo
organizationNoaccept_share: the organization it went into
subject_typeNo
recipient_linkNoshare_out: when offered, the recipient's inbox for this offer; when invited, the invitation's preview, names only. Absolute; absent when the console's public URL is not configured. It grants no access
not_emailed_reasonNoshare_out when invited: why the recipient is not emailed, when emailed is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / seat / description
      Previous value: -"the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent, and each call that carries it keeps the seat yours for its lease"New value: +"the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent, and each call that carries it keeps the seat yours for a whole lease from that call"
  2. Changed10 schema fields changed
    • changedInput schema / properties / acting_as / description
      Previous value: -"an agent identity below you, by its id (from identity_write action=spawn) or its @handle (brief_me lists your agents with both), to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person"New value: +"an agent identity below you, or one working in a folder you can write (pass its seat too), by its id (from identity_write action=spawn) or its @handle (brief_me lists your agents with both), to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person"
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "share",
      -  "request",
      -  "approve",
      -  "decline",
      -  "declassify",
      -  "hold",
      -  "share_out",
      -  "accept_share",
      -  "decline_share",
      -  "decide_share",
      -  "set_settings"
      -]New value: +[
      +  "share",
      +  "request",
      +  "approve",
      +  "decline",
      +  "declassify",
      +  "hold",
      +  "share_out",
      +  "accept_share",
      +  "decline_share",
      +  "decide_share",
      +  "set_settings",
      +  "grant_capability"
      +]
    • changedInput schema / properties / location / description
      Previous value: -"share: full path from the workspace root, e.g. \"handbook/vendor/acme.md\" (as printed by browse action=documents or search). A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · request, declassify, hold, share_out, accept_share, set_settings: the document or folder, by path; accept_share: the folder to put it in, only you can see (default the top level)"New value: +"share: full path from the workspace root, e.g. \"handbook/vendor/acme.md\" (as printed by browse action=documents or search). A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · request, declassify, hold, share_out, accept_share, set_settings: the document or folder, by path; accept_share: the folder to put it in, only you can see (default the top level) · grant_capability: the folder, by path. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too."
    • addedInput schema / properties / max_ttl_s
      Added value: +{
      +  "description": "grant_capability: the longest a credential issued under it lives, in seconds (default and most 3600)",
      +  "maximum": 3600,
      +  "minimum": 60,
      +  "type": "integer"
      +}
    • changedInput schema / properties / node / description
      Previous value: -"request, declassify, hold, share_out, set_settings: the document or folder, by id instead of location. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too."New value: +"request, declassify, hold, share_out, set_settings: the document or folder, by id instead of location. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · grant_capability: the folder, by id instead of location. A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too."
    • addedInput schema / properties / permissions
      Added value: +{
      +  "description": "grant_capability: GitHub App permission name and level, repeatable, e.g. issues:write, contents:read",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / reason / description
      Previous value: -"request, hold, share_out: why you are doing this, in one line (at most 200 characters); recorded with the event and exported with the log"New value: +"request, hold, share_out, grant_capability: why you are doing this, in one line (at most 200 characters); recorded with the event and exported with the log"
    • addedInput schema / properties / target
      Added value: +{
      +  "description": "grant_capability: the outside service: github:<owner>/<repo>",
      +  "type": "string"
      +}
    • addedOutput schema / properties / capabilities
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "from": {
      +        "description": "the folder it is granted on, when you can read it",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "grantedAt": {
      +        "type": "string"
      +      },
      +      "here": {
      +        "description": "granted on this folder itself; false: inherited from a folder above",
      +        "type": "boolean"
      +      },
      +      "maxTtlS": {
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "permissions": {
      +        "additionalProperties": {
      +          "enum": [
      +            "read",
      +            "write"
      +          ],
      +          "type": "string"
      +        },
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "target": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "target",
      +      "permissions",
      +      "maxTtlS",
      +      "here",
      +      "from",
      +      "grantedAt"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / revoked / description
      Removed value: -"ungrant: whether a grant row was removed"
  3. Changed8 schema fields changed
    • addedOutput schema / properties / across / items / properties / nodeId / description
      Added value: +"the shared node, to its own organization's readers only"
    • removedOutput schema / properties / across / items / properties / ownerTenant
      Removed value: -{
      -  "type": "string"
      -}
    • addedOutput schema / properties / revoked
      Added value: +{
      +  "description": "ungrant: whether a grant row was removed",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / role
      Added value: +{
      +  "enum": [
      +    "viewer",
      +    "editor",
      +    "manager"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / scope_id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / scope_type
      Added value: +{
      +  "enum": [
      +    "folder",
      +    "document"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / subject_id
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / subject_type
      Added value: +{
      +  "enum": [
      +    "user",
      +    "group"
      +  ],
      +  "type": "string"
      +}
  4. Changed14 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / across / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / hold / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / invitation / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / labels / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / organization / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / request / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / request / properties / approvals / items / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / request / properties / declassify / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "nodeId": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "nodeId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "nodeId": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "nodeId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / requests / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / requests / items / properties / approvals / items / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / requests / items / properties / declassify / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "nodeId": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "nodeId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "nodeId": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "nodeId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / settings / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / wait / additionalProperties
      Removed value: -false
  5. Changed2 schema fields changed
    • changedInput schema / properties / acting_as / description
      Previous value: -"an agent identity below you (its id, from identity_write action=spawn) to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person"New value: +"an agent identity below you, by its id (from identity_write action=spawn) or its @handle (brief_me lists your agents with both), to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person"
    • changedInput schema / properties / seat / description
      Previous value: -"the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent"New value: +"the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent, and each call that carries it keeps the seat yours for its lease"
  6. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  7. Changed1 schema field changed
    • changedInput schema / properties / scope_type / description
      Previous value: -"share: default folder, or what a pasted link names"New value: +"share: folder (the default) shares everything beneath the path; document shares that one file. A pasted link's kind is used when omitted."
  8. Changed35 schema fields changed
    • removedInput schema / properties / editors_can_share / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / editors_can_share / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • addedInput schema / properties / seat
      Added value: +{
      +  "description": "the seat token identity_write action=take_seat gave you; pass it on every call while you drive that agent",
      +  "maxLength": 64,
      +  "type": "string"
      +}
    • removedOutput schema / properties / across / items / properties / mount / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / across / items / properties / mount / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / hold / properties / releasedAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / hold / properties / releasedAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / labels / items / properties / declassifiedBy / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / labels / items / properties / declassifiedBy / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / labels / items / properties / derivedBy / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / labels / items / properties / derivedBy / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / labels / items / properties / location / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / labels / items / properties / location / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / request / properties / approvals / items / properties / approverDisplay / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / request / properties / approvals / items / properties / approverDisplay / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / request / properties / approvals / items / properties / approverId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / request / properties / approvals / items / properties / approverId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / request / properties / approvals / items / properties / note / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / request / properties / approvals / items / properties / note / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / request / properties / asked / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / request / properties / asked / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / request / properties / location / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / request / properties / location / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / requests / items / properties / approvals / items / properties / approverDisplay / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / requests / items / properties / approvals / items / properties / approverDisplay / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / requests / items / properties / approvals / items / properties / approverId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / requests / items / properties / approvals / items / properties / approverId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / requests / items / properties / approvals / items / properties / note / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / requests / items / properties / approvals / items / properties / note / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / requests / items / properties / asked / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / requests / items / properties / asked / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / requests / items / properties / location / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / requests / items / properties / location / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / settings / properties / inheritedFrom / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / settings / properties / inheritedFrom / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  9. Changed2 schema fields changed
    • changedInput schema / properties / emails / description
      Previous value: -"share: email addresses to share with (at most 20 per call)"New value: +"share: email addresses to share with; give emails, members or both (at most 20 recipients per call)"
    • addedInput schema / properties / members
      Added value: +{
      +  "description": "share: member ids from browse action=people, for a person whose address you do not have; the preview names who each one is",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "minItems": 1,
      +  "type": "array"
      +}
  10. Changed1 schema field changed
    • addedInput schema / properties / acting_as
      Added value: +{
      +  "description": "an agent identity below you (its id, from identity_write action=spawn) to make this one call as, with that agent's narrower access; for a helper whose session signs in as its person",
      +  "type": "string"
      +}
  11. Changed2 schema fields changed
    • changedInput schema / properties / location / description
      Previous value: -"share: full path from the workspace root, e.g. \"handbook/vendor/acme.md\" (as printed by browse action=documents or search) · request, declassify, hold, share_out, accept_share, set_settings: the document or folder, by path; accept_share: the folder to put it in, only you can see (default the top level)"New value: +"share: full path from the workspace root, e.g. \"handbook/vendor/acme.md\" (as printed by browse action=documents or search). A console link (`/d/<Name-Slug>-<32 hex>`, whole or just its id) is accepted too. · request, declassify, hold, share_out, accept_share, set_settings: the document or folder, by path; accept_share: the folder to put it in, only you can see (default the top level)"
    • changedInput schema / properties / scope_type / description
      Previous value: -"share: default folder"New value: +"share: default folder, or what a pasted link names"
  12. Changed1 schema field changed
    • changedInput schema / properties / location / description
      Previous value: -"share: full path from the workspace root, e.g. \"handbook/vendor/acme.md\" (as printed by browse action=documents or search) · request, declassify, hold, share_out, set_settings: the document or folder, by path"New value: +"share: full path from the workspace root, e.g. \"handbook/vendor/acme.md\" (as printed by browse action=documents or search) · request, declassify, hold, share_out, accept_share, set_settings: the document or folder, by path; accept_share: the folder to put it in, only you can see (default the top level)"
  13. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, openWorldHint=true), it explains the irreversibility ('cannot be unread'), the two-phase share flow with confirm_token, the atomicity guarantee ('all or nothing: if it fails partway, nobody was granted'), refusal of unknown addresses, isolation of an accepted share ('only you and your agents read it'), and TTL caps for capability grants. This is exactly the behavioral context the annotations alone cannot convey.

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

Conciseness4/5

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

Despite being a long paragraph, it is front-loaded with intent and organized action-by-action using consistent 'name:' markers, and each action line carries decision-relevant constraints. Some clauses restate schema text (e.g. the confirm_token mechanics), which is the only real waste in an otherwise dense definition for a 12-action tool.

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?

All twelve actions are covered, with permission requirements, refusal cases, idempotency, and side effects. An output schema exists, yet the description still flags the salient return fields ('says whether they were emailed and carries recipient_link', 'the answer names it'), leaving nothing an agent needs in order to call it correctly.

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 coverage is 100%, so the schema already documents each parameter, but the description adds cross-parameter workflow meaning: the preview-then-confirm pattern for share, the wait/deadline pairing for request, and email-or-member-id alternatives for recipients. It stops short of adding semantics the schema lacks, so it is a modest supplement rather than a full replacement.

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 opening sentence names the three intents (give, ask, decide) and then enumerates every action with a concrete verb+resource: 'share: grant members of this organization', 'request: ask for a role on something', 'declassify: release what your session has read', 'hold: place a legal hold', etc. An agent can map any intent to the correct action value without opening the schema.

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?

Explicit conditions and exclusions appear per action: 'decide_share ... refused to every AI client', 'share_out ... an agent below a person's own client proposes instead', 'a folder only you can see (refused, with the reasons, anywhere else)', and permission gates like 'manager only' and 'owner or manager only'. It also points to the tools that supply prerequisite ids (browse action=people, access_read action=requests, identity_write action=spawn).

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