Skip to main content
Glama
SashiDo MCP Server

SashiDo MCP Server

Official

update_class_permissions

Set who can find, create, update, or delete a Parse class's objects, or add fields, by user, role, or authentication. Check current permissions first because changes can block existing clients.

Instructions

Set who may get, find, create, update and delete the objects of a class, and add fields to it: everyone ("*"), any signed-in user (requiresAuthentication), a role (role:Name) or a user's id. Use it to lock a class down. Clients that relied on the old permissions stop working, so check get_class_permissions first.

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": {
      "appObjectId": "<appObjectId>",
      "className": "<className>",
      "permissions": "<permissions>"
    },
    "name": "update_class_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
classNameYesThe class name
appObjectIdYesThe app: its name or objectId (see list_apps)
permissionsYesJSON string of CLP object. Example: {"find":{"*":true},"create":{"role:Admin":true},"delete":{"requiresAuthentication":true}}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A4.8/5.0
Behavior5/5

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

The annotations declare only that this tool is not read-only, not open-world, and not destructive; the description adds the key behavioral consequence of the write, namely that existing clients relying on the old permissions stop working. It also documents the accepted identity forms ('*', requiresAuthentication, role:Name, or a user id), which the annotations do not cover. Nothing here contradicts the annotations.

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?

Two sentences carry no wasted wording, and they front-load what is set before moving to the usage warning and prerequisite. The density of the first sentence is justified by the granularity it conveys.

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 3-parameter mutation with full schema coverage and annotations, the definition covers scope, accepted values, and the breaking-change risk. The remaining minor gap is that the tool's return value or the effect of a partial permissions object is not described, though this is a small omission.

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 descriptions of appObjectId, className, and permissions are already documented. The description adds meaning by explaining the identity formats allowed inside the permissions JSON string and by naming the operations that can be granted; however, it still does not spell out the structure of the CLP object beyond what the schema example shows.

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 description uses a specific verb and names the resource, then explains exactly which operations the permissions cover (get, find, create, update, delete, and adding fields). This makes the scope clear enough to distinguish it from get_class_permissions without consulting 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?

It states the intended use ('lock a class down') and the prerequisite explicitly: 'check get_class_permissions first', naming the sibling to run before this tool. It also warns that clients relying on the old permissions will stop working, so the agent can judge when using this tool is risky.

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