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

get_agent_context

Retrieves the full knowledge context for a specified agent, enabling prompt injection with that agent's accumulated information.

Instructions

特定エージェントの全知識を取得(prompt注入用)

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>"
    },
    "name": "get_agent_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
agentYesエージェント名

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 取得 implies a read-only retrieval and the prompt-injection note signals a bulk text blob is returned, which is genuine behavioral context, but nothing is said about payload size, truncation, permissions, or failure when the agent name is unknown.

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 phrase with the verb and intended use front-loaded and no filler. It is efficient, though its terseness is arguably under-specification rather than optimal concision.

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?

For a one-parameter read tool with full schema coverage and no output schema, the essentials are present: what is fetched and why. Missing is any guidance on choosing this over agent_dialogue/query_agent, and any note on result size or limits when pulling an agent's entire knowledge base.

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 100% with a single documented 'agent' parameter (エージェント名), so the schema does the work; 0–1 params gives a high baseline. The description's '特定エージェント' reinforces that the parameter selects one agent rather than aggregating, adding a small amount of meaning beyond the schema.

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?

States a specific verb (取得/retrieve) and a specific resource (特定エージェントの全知識 – all knowledge of a particular agent), so the agent can tell it apart from narrower lookups like query_agent or search_across_agents. It does not explicitly name a sibling or state the contrast, so it stops short of a 5.

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?

The parenthetical (prompt注入用 – for prompt injection) implies a usage context, which is more than nothing. But there is no explicit when-to-use/when-not, no mention of alternatives such as query_agent or search_across_agents, and no prerequisites stated.

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