Skip to main content
Glama

Change who sees what

set_access
Destructive

Changes who can see a folder or a file of the project, like finance/, reports/q3-margins.xlsx or a skill's scripts/, to keep it to some people or a group, hide it from the client, or make it visible to everyone who sees the folder above it (path, with sees: everyone, or only these people and groups, each reading or writing), which top folders one person or agent sees (person, with folders), or who is in a group, like finance (a group can be made before its people join; group, with members: its whole list; a new name makes the group, null removes it), as this person, within their rights: managers change anything, and only they change groups; the people every closed folder over a path names as writing change lines inside it; anyone who writes may close a new, empty folder, naming themselves or a group they are in. Managers always see everything. A line on a file or a folder inside another only narrows it: a line naming someone who does not see the folder above is refused. A file's own line goes with it when it moves. With a file's path and versions (or words they hold), it takes those earlier versions out of the history of everyone but managers, or of everyone but managers and the people who see keep_for, live or removed files alike, and, with with_earlier_names, the versions kept under the file's earlier names. The answer first says what the change opens or closes, and to whom; the person confirms it in this AI tool before anything changes, and clients that cannot show that confirmation get that line and a proposal id instead. For when the person asks to change who sees what.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoA folder (ending in /) or a file, like finance/ or reports/q3-margins.xlsx: whose line to change, or, with versions or holding, whose earlier versions to take out.
seesNoWith path: "everyone" who sees the folder above it (on the project, at the top), or only these people and groups besides the managers, each writing unless reads is true.
groupNoOr: a group's name, like finance: one word in small letters.
personNoOr: the person or agent whose own top folders to set, by member id or name.
renameNoWith group: its new name.
foldersNoWith person: "everything" open to them, or only these top folders.
holdingNoOr, with a document's path: words. Its earlier versions that hold them are taken out.
membersNoWith group: everyone in it, the whole list ([] for no one yet), or null to remove the group.
projectNoThe project's slug, from open_project, like acme. Not needed when a § address names the project, or when the person is on one project.
keep_forNoWith versions or holding: a top folder, like finance/, whose people keep reading them with the managers.
versionsNoWith a file's path: the versions to take out of history, by number, or "earlier": every version before the current one (every version of a removed file).
with_earlier_namesNotrue: with versions or holding, also take out the versions kept under the file's earlier names (files removed when it was renamed; the answer lists them). With holding, only those that hold the words; else all of them.

Output Schema

NameRequiredDescriptionDefault
changeNo
appliedYes
previewNo
proposalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / with_earlier_names
      Added value: +{
      +  "description": "true: with versions or holding, also take out the versions kept under the file's earlier names (files removed when it was renamed; the answer lists them). With holding, only those that hold the words; else all of them.",
      +  "type": "boolean"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / group
      Added value: +{
      +  "description": "Or: a group's name, like finance: one word in small letters.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
    • addedInput schema / properties / members
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "null"
      +    },
      +    {
      +      "items": {
      +        "description": "Member id (m-xxxxxx) or name.",
      +        "maxLength": 120,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "maxItems": 200,
      +      "type": "array"
      +    }
      +  ],
      +  "description": "With group: everyone in it, the whole list ([] for no one yet), or null to remove the group."
      +}
    • addedInput schema / properties / rename
      Added value: +{
      +  "description": "With group: its new name.",
      +  "maxLength": 80,
      +  "type": "string"
      +}
    • changedInput schema / properties / sees / anyOf
      Previous value: -[
      -  {
      -    "const": "everyone",
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "properties": {
      -        "member": {
      -          "description": "Member id (m-xxxxxx) or name.",
      -          "maxLength": 120,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "reads": {
      -          "description": "true: they read it and do not write.",
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "member"
      -      ],
      -      "type": "object"
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "const": "everyone",
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "properties": {
      +        "group": {
      +          "description": "Or a group's name, like finance.",
      +          "maxLength": 80,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "member": {
      +          "description": "Member id (m-xxxxxx) or name.",
      +          "maxLength": 120,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "reads": {
      +          "description": "true: they read it and do not write.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "maxItems": 100,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / sees / description
      Previous value: -"With path: \"everyone\" who sees the folder above it (on the project, at the top), or only these people besides the managers, each writing unless reads is true."New value: +"With path: \"everyone\" who sees the folder above it (on the project, at the top), or only these people and groups besides the managers, each writing unless reads is true."
  3. Changed5 schema fields changed
    • addedInput schema / properties / holding
      Added value: +{
      +  "description": "Or, with a document's path: words. Its earlier versions that hold them are taken out.",
      +  "maxLength": 500,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / keep_for
      Added value: +{
      +  "description": "With versions or holding: a top folder, like finance/, whose people keep reading them with the managers.",
      +  "maxLength": 1100,
      +  "type": "string"
      +}
    • changedInput schema / properties / path / description
      Previous value: -"A top folder, like finance/: whose setting to change."New value: +"A folder (ending in /) or a file, like finance/ or reports/q3-margins.xlsx: whose line to change, or, with versions or holding, whose earlier versions to take out."
    • changedInput schema / properties / sees / description
      Previous value: -"With path: \"everyone\" on the project, or only these people besides the managers, each writing unless reads is true."New value: +"With path: \"everyone\" who sees the folder above it (on the project, at the top), or only these people besides the managers, each writing unless reads is true."
    • addedInput schema / properties / versions
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": "earlier",
      +      "type": "string"
      +    },
      +    {
      +      "items": {
      +        "maximum": 9007199254740991,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "maxItems": 1000,
      +      "minItems": 1,
      +      "type": "array"
      +    }
      +  ],
      +  "description": "With a file's path: the versions to take out of history, by number, or \"earlier\": every version before the current one (every version of a removed file)."
      +}
  4. Changed6 schema fields changed
    • removedInput schema / properties / changers
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "const": "everyone",
      -      "type": "string"
      -    },
      -    {
      -      "items": {
      -        "maxLength": 120,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "maxItems": 100,
      -      "type": "array"
      -    }
      -  ],
      -  "description": "With path: \"everyone\" who sees it and writes, or only these people besides the managers. Leave it out to keep who changes it."
      -}
    • changedInput schema / properties / folders / anyOf
      Previous value: -[
      -  {
      -    "const": "everything",
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "properties": {
      -        "path": {
      -          "maxLength": 1100,
      -          "minLength": 1,
      -          "type": "string"
      -        },
      -        "reads": {
      -          "description": "true: they read it and do not write.",
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "path"
      -      ],
      -      "type": "object"
      -    },
      -    "maxItems": 100,
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "const": "everything",
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "properties": {
      +        "path": {
      +          "description": "A top folder, like design/.",
      +          "maxLength": 1100,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "reads": {
      +          "description": "true: they read it and do not write.",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "path"
      +      ],
      +      "type": "object"
      +    },
      +    "maxItems": 100,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / folders / description
      Previous value: -"With person: \"everything\" open to them, or only these folders and files."New value: +"With person: \"everything\" open to them, or only these top folders."
    • changedInput schema / properties / path / description
      Previous value: -"A folder (ending in /) or a file, like finance/ or contracts/sow.md: whose setting to change."New value: +"A top folder, like finance/: whose setting to change."
    • changedInput schema / properties / person / description
      Previous value: -"Or: the person or agent whose own folders to set, by member id or name."New value: +"Or: the person or agent whose own top folders to set, by member id or name."
    • changedInput schema / properties / sees / description
      Previous value: -"With path: \"everyone\" on the project, or only these people besides the managers. Leave it out to keep who sees it."New value: +"With path: \"everyone\" on the project, or only these people besides the managers, each writing unless reads is true."
  5. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds substantial context beyond them: the permission model (managers change anything, only they change groups), the rejection rule for lines naming someone who cannot see the parent folder, the chevron-narrowing semantics, and inheritance on file moves. Most importantly it discloses the confirmation gate ('the person confirms it in this AI tool before anything changes, and clients that cannot show that confirmation get that line and a proposal id instead'), which changes how a caller must handle the response.

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?

Front-loaded correctly with the core action, and the length is defensible for a polymorphic tool with four distinct modes. However, the body is a single dense paragraph of nested parentheticals ('path, with sees: everyone, or only these people and groups, each reading or writing'), which makes the mode boundaries genuinely hard to parse.

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?

Given a 12-parameter polymorphic schema, an output schema, and destructive annotations, the description supplies the permission rules, the refusal conditions, the confirmation flow, and the response shape. An agent has what it needs to choose the correct mode combination and to expect the confirmation handshake.

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% and the parameter descriptions are already unusually detailed, so the schema carries most of the semantic load. The description does add cross-parameter mode guidance ('With path:', 'With group:', 'With person:', 'With versions or holding:'), which matters for a 12-parameter tool with zero required fields, but it is buried in run-on clauses rather than presented as clean mode groupings.

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?

Opens with a specific verb and resource ('Changes who can see a folder or a file of the project'), giving concrete examples (finance/, reports/q3-margins.xlsx) that make the object of the operation unambiguous. It never names the adjacent siblings (who_sees for inspection, set_role for role assignment), so an agent must infer the boundary itself.

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?

The closing line 'For when the person asks to change who sees what' supplies a real use trigger, which is better than nothing. But there is no when-not guidance and no explicit routing to alternatives such as who_sees or set_role, which is the main ambiguity for this tool family.

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