Skip to main content
Glama
obsidian-surface

obsidian-surface

by sespinosa

compose

Executes multiple Obsidian operations in sequence as one atomic action, stopping on the first error to reduce round-trips and intermediate focus shifts.

Instructions

Execute multiple operations sequentially as a single atomic action. Eliminates intermediate focus shifts and reduces round-trips.

Each step specifies a tool, action, and optional params. Execution stops on first error. Returns results for all executed steps.

Example: steps: [ { tool: "surface", action: "create", params: { name: "demo", content: "Hello", summary: "Demo" } }, { tool: "layout", action: "open", params: { path: "my/note.md" } }, { tool: "layout", action: "split", params: { direction: "vertical" } } ]

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": {
      "steps": "<steps>"
    },
    "name": "compose"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYesOrdered list of steps to execute

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose valuable traits: sequential order, first-error halting, and returning results for all executed steps. However, the 'atomic action' claim conflicts with 'execution stops on first error' — it never says whether completed steps are rolled back or persist, which is the single most important thing an agent needs before running a mutation batch.

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?

Front-loaded definition, then a one-line rationale, then mechanics, then a worked example. Every line adds information and the example is the most efficient way to convey the nested step structure.

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?

No output schema exists, yet the description says results are returned for all executed steps without describing that return shape, ordering, or how errors are reported alongside partial results. For a batch orchestrator spanning eleven tools, the missing rollback semantics and result format leave real gaps, though the core call contract is clear.

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?

Schema coverage is already 100% for the single 'steps' parameter, so baseline is 3. The description goes beyond the schema by supplying a concrete three-step example that shows how tool names, action strings, and optional params combine — the schema's 'action' field is an untyped string, so this example meaningfully defines valid usage.

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?

States a specific verb and resource — execute multiple operations sequentially as one batched call — and the opening line immediately distinguishes it from the sibling tools it orchestrates (surface, layout, note, etc.). An agent can tell this is a meta-executor rather than a domain operation without reading further.

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?

Usage is only implied via the benefit statement ('eliminates intermediate focus shifts and reduces round-trips'), which suggests batching related operations. There is no explicit when-to-use or when-not-to-use guidance, no advice on when calling the sibling tools directly is preferable, and no stated limits on step count or nesting.

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