Skip to main content
Glama

asterism_invoke

Destructive

Invoke a Studio tool (read, edit, export, or AI). Account work requires sign-in and an approved connection. Asterism AI requires sign-in, AI permission approval, and workspace credits. Follow the instructions in tool responses when access is unavailable or storage is low. If a capability is missing, an operation is blocked, or a tool repeatedly fails, explain the block clearly in the user language, ask for their explicit consent, and call asterism_submit_feedback with a concise summary (never include private document contents or raw secrets) and the requestId. Reuse the same callId when retrying an edit or AI call; omit callId to start a new operation. To run several reads and edits in one request, pass calls instead of tool and arguments: they run in the given order and stop at the first failure, and a turnId returned by edit.begin inside calls is passed to the calls after it.

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": {
      "studioId": "<studioId>"
    },
    "name": "asterism_invoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolNoOne call: the Studio tool name. Omit when calls is given.
callsNoAn ordered batch of read and edit calls instead of tool and arguments. Export, asset, image, request and AI tools are not accepted here; call them one at a time. The result lists one entry per call that ran, and stoppedAt is the index of the call that failed.
callIdNoIdempotency key reused when retrying an operation; omit to start a new operation.
turnIdNo
studioIdYes
argumentsNoOne call: the tool arguments. Omit when calls is given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / arguments / description
      Added value: +"One call: the tool arguments. Omit when calls is given."
    • addedInput schema / properties / calls
      Added value: +{
      +  "description": "An ordered batch of read and edit calls instead of tool and arguments. Export, asset, image, request and AI tools are not accepted here; call them one at a time. The result lists one entry per call that ran, and stoppedAt is the index of the call that failed.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "arguments": {
      +        "type": "object"
      +      },
      +      "callId": {
      +        "maxLength": 128,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "tool": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tool",
      +      "arguments"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 64,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / tool / description
      Added value: +"One call: the Studio tool name. Omit when calls is given."
    • changedInput schema / required
      Previous value: -[
      -  "studioId",
      -  "tool",
      -  "arguments"
      -]New value: +[
      +  "studioId"
      +]
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as destructive, non-read-only, and non-idempotent; the description adds meaningful operational context: sign-in and approved-connection requirements, AI permission and credit requirements, low-storage handling, feedback escalation, and batch stop-at-first-failure semantics. The callId retry mechanism does not contradict idempotentHint=false because it scopes idempotency to explicit retries.

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?

The description is front-loaded with the core invoke purpose and every sentence carries operational guidance, with no filler. It is dense and could be easier to scan with bullets, but the length is justified by dispatcher, retry, and batching behavior.

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 complex destructive dispatcher with nested batching and no output schema, the description covers auth, AI credits, failure escalation, retries, and batch ordering. It still omits how an agent should discover valid Studio tool names via the sibling load/describe tools and does not describe single-call return values, leaving some completeness gaps.

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 schema already documents tool, arguments, calls, and callId; the description adds execution semantics for calls (ordered execution, stopping at the first failure) and the important turnId propagation from edit.begin to later calls. It does not add much for studioId, but the enum is self-explanatory; overall it meaningfully supplements 67% schema coverage.

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 first sentence names a specific verb ('Invoke') and resource ('Studio tool') and scopes it to read, edit, export, and AI operations, so the agent knows this is the dispatch entry point rather than a discovery or feedback tool. Sibling differentiation comes indirectly through the later feedback instruction, but the core purpose is unambiguous.

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?

It gives explicit routing rules: use tool/arguments for one call, calls for ordered read/edit batches, and call excluded export/asset/image/request/AI tools one at a time. It also states prerequisites for account and AI work, prescribes asterism_submit_feedback when blocked, and explains callId retry behavior.

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.

Resources