Skip to main content
Glama
SashiDo MCP Server

SashiDo MCP Server

Official

create_class

Create a data collection with defined fields to model a new app or feature, then set read/write permissions and generate client types.

Instructions

Create a class (a collection, like a table) with its fields. Use it to design the data model of a new app or feature. Set who may read and write it with update_class_permissions right after, then generate_types for the client code.

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": "create_class"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldsNoOptional initial fields definition (e.g., {"name": {"type": "String"}})
classNameYesThe class name to create
appObjectIdYesThe app: its name or objectId (see list_apps)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds workflow context (permissions and type generation follow) but says nothing about failure modes, class-name uniqueness, or what happens if the class already exists. Adequate but not rich beyond 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, front-loaded with the verb and resource, then the use case, then the ordered next steps. No filler or restated name/title text; every clause carries information the agent needs.

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 three-parameter creation tool with a nested fields object and no output schema, the description covers what it does and how it fits in the broader workflow. What remains unstated is the return value (e.g. the created class identifier) and duplicate-name behavior, which the agent would need before chaining calls.

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 the schema already documents appObjectId, className and the nested fields object with an example shape. The description only says the class is created 'with its fields' and does not clarify that fields are optional or what field types are valid, adding little beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ('Create a class') and immediately defines the term as 'a collection, like a table', so an agent can map it onto a familiar concept. It also scopes the purpose ('design the data model of a new app or feature'), which separates it from related mutation tools such as add_field or create_object.

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?

Gives an explicit use case (designing a data model for a new app or feature) and names the exact follow-up calls with their order: update_class_permissions 'right after', then generate_types for client code. The agent knows what to do before and after this call without inference; only explicit when-not-to-use guidance is absent, which is minor for a create tool.

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