Skip to main content
Glama
SashiDo MCP Server

SashiDo MCP Server

Official

get_class_permissions

Read-only

Check class-level permissions to identify who can get, find, count, create, update, or delete objects and add fields, then verify a class isn't open to everyone before the app ships.

Instructions

The class-level permissions of a class: who may get, find, count, create, update and delete its objects, and add fields. Use it to check that a class isn't open to everyone before the app ships.

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

Input Schema

NameRequiredDescriptionDefault
classNameYesThe class name
appObjectIdYesThe app: its name or objectId (see list_apps)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false). The description adds genuine value beyond that by disclosing the content of the result — which permission subjects (get, find, count, create, update, delete, add fields) are reported. It does not say whether inherited/default or role-scoped permissions are included, which is the main remaining gap.

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, no wasted words, and the core resource definition is front-loaded ahead of the usage hint. The enumeration of permission types is dense but purposeful and directly describes the payload.

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 simple two-parameter read tool with full schema coverage, explicit read-only annotations, and no output schema, the description covers what it returns and why you'd call it. A small gap remains around the exact shape of the returned permission set (e.g. per-role versus per-user entries).

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%, so both required parameters (className, appObjectId) are already documented, including a pointer to list_apps for appObjectId. The description contributes nothing further about parameter meaning or format, so the baseline 3 applies.

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?

The description names the resource (class-level permissions) and enumerates exactly what those permissions cover — get, find, count, create, update, delete, and add fields. That specificity distinguishes it clearly from sibling update_class_permissions, though the phrasing is a noun phrase with no explicit verb like 'get' or 'retrieve'.

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?

It gives one concrete scenario: 'check that a class isn't open to everyone before the app ships.' That implies when to use it, but there is no explicit guidance on when not to use it, no mention of the read-vs-write pairing with update_class_permissions, and no mention of prerequisites (e.g. needing master key or admin rights).

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