Skip to main content
Glama
t0knight
by t0knight

create_queries

Creates multiple Appsmith queries bound to datasources in a single API call. Accepts an array of query definitions with optional default configurations for REST, SQL, or Mongo plugins.

Instructions

Create multiple queries bound to datasources in one tool call via Appsmith's REST API. Each entry is {"name", "datasource_id", "action_config"?, "page_id"?}. If action_config is omitted, a per-plugin default is used: REST → GET / with empty headers/params; SQL DBs → SELECT 1;; Mongo → FIND with {} and limit 10. page_id defaults to the currently open page. The Redux action list is refetched once at the end.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queriesYes
Behavior5/5

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

Without annotations, the description fully carries the burden. It details defaults for 'action_config' and 'page_id', offers per-plugin default examples, and mentions the Redux refetch at end, providing substantial behavioral disclosure.

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?

The description is concise with four sentences, front-loaded with purpose. Every sentence adds essential information without redundancy.

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?

Given the tool's complexity (single parameter with nested objects, no output schema), the description covers input structure, defaults, and side effects. It lacks explicit output return information but is otherwise complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 0% schema description coverage, the description thoroughly explains the fields within the 'queries' array (name, datasource_id, optional action_config and page_id) and their defaults, adding meaning beyond the bare schema.

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 clearly states it creates multiple queries bound to datasources in a single API call. It distinguishes from sibling tools like 'create_datasources' and 'create_js_objects' by its specific verb and resource.

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 description implies usage for batch query creation but provides no explicit guidance on when to use this tool versus alternatives. No exclusions or specific contexts are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/t0knight/appsmith-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server