Skip to main content
Glama
obsidian-brain-mcp
by hikaru777

set_triggers

Configure UserPromptSubmit trigger keywords for an existing agent, replacing its current trigger list so prompts route to the right specialized Obsidian brain agent.

Instructions

既存エージェントの UserPromptSubmit トリガーキーワードを設定

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": {
      "agent": "<agent>",
      "triggers": "<triggers>"
    },
    "name": "set_triggers"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYesエージェント名
triggersYesトリガーキーワードの配列(全置換)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

There are no annotations, so the description carries the full behavioral burden and it delivers little beyond the mutation implied by 設定. It omits that the keyword list is fully replaced (the destructive/overwrite semantic only appears in the schema), says nothing about permission requirements, and says nothing about what is returned.

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?

A single short sentence with no padding, and the target resource is front-loaded. Its brevity is appropriate, though it leaves little room for the behavioral context this tool needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation tool with no annotations and no output schema, the description should at minimum warn that existing trigger keywords are overwritten and describe failure behavior for non-existent agents. Those gaps are serious given the schema is the only source of the overwrite semantic.

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 coverage is 100% and the schema already documents both parameters, including that the array is a 全置換 (full replacement), so the description adds only the 'existing agent' qualifier. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (設定/set) and resource (UserPromptSubmit トリガーキーワード) scoped to an existing agent, so an agent knows exactly what operation is performed. It does not differentiate from any sibling, but the siblings listed (create_agent, list_agents, etc.) do not appear to overlap this operation.

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: '既存エージェント' signals that the target agent must already exist, but there is no explicit statement of when to call this versus alternatives or what happens if the agent is missing. No exclusions or preconditions are spelled out.

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