Skip to main content
Glama
t0knight
by t0knight

create_js_objects

Create multiple JS objects for Appsmith apps by providing source code, with automatic parsing of function names and optional page assignment.

Instructions

Create multiple JS objects in one tool call. Each entry is {"name", "body", "function_names"?, "page_id"?}. body is the full source (e.g. export default { foo: () => 1, bar: () => 2 }). If function_names is omitted, the top-level function names in body are parsed automatically per entry. page_id defaults to the currently open page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectsYes
Behavior4/5

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

As no annotations exist, the description carries the full transparency burden. It effectively discloses that function_names can be auto-parsed from body if omitted, and page_id defaults to the current page. However, it does not mention mutation or potential overwrites, though the creation intent is clear.

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 a single, well-structured paragraph that front-loads the purpose and efficiently explains parameters inline. Every sentence adds value with no redundancy.

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?

While the description covers the core functionality (creating objects with flexible parameters), it lacks details on return values (e.g., IDs of created objects) and error conditions (e.g., invalid body). Given no output schema, this information would improve completeness.

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?

The input schema only specifies an array of objects with no property constraints (schema coverage 0%). The description compensates by detailing the expected entry fields (name, body, optional function_names, optional page_id) and their semantics (body is full source, auto-parsing behavior). This provides essential meaning beyond the schema, though it could be more precise about required sub-fields.

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 the tool creates multiple JS objects in one call, using the verb 'create' and resource 'JS objects'. It differentiates from siblings like update_js_objects, delete_js_objects, and list_js_objects, making its unique purpose evident.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives like update_js_objects or patch_js_objects. The description focuses on parameter format but omits context about choosing creation over modification.

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