Skip to main content
Glama
SashiDo MCP Server

SashiDo MCP Server

Official

query_objects

Read-only

Read objects in a Parse class with MongoDB-style filters, sorting, pagination, selected fields, pointers, and counts to debug real data or verify client query results.

Instructions

Read the objects of a class with filters (a MongoDB-style where), sorting, paging, chosen fields, included pointers and a count. Use it to look at the real data when debugging, or to check what a client query returns.

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

Input Schema

NameRequiredDescriptionDefault
keysNoComma-separated list of fields to return (e.g., "name,email")
skipNoNumber of results to skip for pagination
countNoIf true, also return the total count of matching objects
limitNoMaximum number of results to return (default 100, max 1000)
orderNoField(s) to sort by. Prefix with - for descending (e.g., "-createdAt" or "name,-score")
whereNoJSON string of query constraints (e.g., {"score": {"$gt": 10}})
includeNoComma-separated list of pointer fields to include full objects for
classNameYesThe class name to query
appObjectIdYesThe app: its name or objectId (see list_apps)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered structurally. The description adds that this surfaces real production-style data for debugging and that the where clause is MongoDB-style, but says nothing about permissions on the class, behavior on malformed where JSON, or default sort/paging semantics beyond what the schema states.

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?

Two sentences, capability list front-loaded before the usage hint, with no filler. The parenthetical 'a MongoDB-style where' is compact and earns its place, though the first sentence is dense enough to read as a feature dump.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter query tool with no output schema, the description is adequate on inputs but silent on the shape of results (array of objects? attribute format? behavior of include on unresolved pointers) and on failure modes for invalid where/order strings. Annotations carry the safety story, but the return contract is left implicit.

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 coverage is 100% and each parameter already carries an example-rich description, so the baseline is 3. The description's only semantic addition is the 'MongoDB-style where' framing and the grouping of parameters into filter/sort/page/field/pointer/count categories, which largely restates the schema.

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 opens with a specific verb+resource ('Read the objects of a class') and enumerates the query dimensions it supports (filters, sorting, paging, chosen fields, included pointers, count). It is clearly the read counterpart to create_object/delete_object, though no sibling is explicitly named, so it falls just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Two concrete use cases are given: inspecting real data while debugging and previewing what a client query returns. That is good positive guidance, but there is no explicit when-not or a named alternative (e.g. for schema inspection use get_class vs. for writes use create_object).

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