Skip to main content
Glama

Create shape

create_shape

Save a shape: your own form for a tool's result, such as only some fields, renamed, filtered, sorted, counted or averaged. Pomerado writes and checks it from your words in a few seconds.

  • Then pass its id as shape when you run the tool with run_read_only_website_tool or run_website_tool. The run returns the result in that form, keeping paging fields such as next_cursor.

  • A shape only reshapes what the tool returns. For data the tool doesn't return, it answers needs_tool_change: ask for it with change_website_tool.

  • Pass shape_id to change one of your shapes. Shapes are free, and only you can see and use them.

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": {
      "tool_id": "<tool_id>",
      "request": "<request>"
    },
    "name": "create_shape"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentNoDescribe the intended use case in one sentence: what this call should do and why, such as "Check a store's opening hours to answer when it opens today". Describe the task, not the person: leave out names, contact details, account numbers and anything used to sign in. Pomerado uses it to improve its tools. Optional, but recommended: please include it on every call.
requestYesThe result you want, in your own words: which fields, renamed how, filtered, sorted, counted or averaged, such as "only the name and price in dollars, cheapest first"
tool_idYesThe tool whose result you want in another form
shape_idNoOne of your shapes of this tool, to change it instead of making a new one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, openWorldHint=false. The description adds far more: the shape is generated and validated from natural language in seconds, shapes are free, they are private to the caller, runs preserve paging fields such as next_cursor, and an out-of-scope request yields needs_tool_change rather than silently succeeding.

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?

Four short bullets, front-loaded with the definition before the follow-up workflow, and each bullet carries a distinct fact (id usage, scope limit, modify path, cost/privacy). A small amount of prose, such as "in a few seconds" and the closing reassurance sentence, could be trimmed, but nothing is badly redundant.

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 4-parameter creation tool with no output schema, the definition covers the return-shape behavior, the failure mode, privacy and cost, which is most of what an agent needs. The gaps are minor: the optional intent field's purpose and how to discover a valid tool_id are left entirely to the schema.

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 all four parameters are already documented, which sets the baseline at 3. The description adds marginal meaning beyond the schema for shape_id (change an existing shape instead of creating one) but never mentions the optional intent parameter, so it does not materially out-perform the 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?

"Save a shape: your own form for a tool's result" gives a specific verb plus resource and immediately defines what a shape is with concrete examples (only some fields, renamed, filtered, sorted, counted, averaged). This is clearly distinct from the run_* tools it feeds and from change_website_tool, which is named for the case the shape cannot handle.

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?

Explicit sequencing is given: create the shape first, then pass its id as shape to run_read_only_website_tool or run_website_tool. It also states the exclusion case (data the tool doesn't return → needs_tool_change → use change_website_tool) and the modify-vs-create rule (pass shape_id to change an existing shape rather than make a new one).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.