Skip to main content
Glama
latent-defense

Latent Defense MCP Server

Official

oracle_tm_match_refine

Refine threat model matching through iterative energy-scored cycles, outputting Mermaid diagrams that trace entry candidates, path transitions, and convergence.

Instructions

Iterative energy-scored refinement of the threat model match. Returns Mermaid diagrams per iteration showing entry candidates, path transitions, and convergence.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_kNo
max_iterationsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the iterative nature and the output format (Mermaid diagrams per iteration with entry candidates, path transitions, convergence). However, it does not mention side effects (e.g., state modification), resource usage, authentication needs, or limitations.

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 concise at two sentences, but the first sentence is somewhat jargony ('energy-scored'). It front-loads the key function but could be clearer. Still, no wasted words.

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?

With 2 optional parameters, no annotations, and an output schema not shown, the description omits important context: prerequisites (e.g., a prior match), how parameters influence the output, and deeper explanation of the Mermaid diagram content. It is insufficient for a tool that likely requires integration with other oracle_tm tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, yet the description does not explain the parameters (top_k, max_iterations) at all. The schema has defaults but no descriptions, so the agent has no guidance on how values affect behavior. This is a significant gap.

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 clearly identifies the tool as an iterative refinement of a threat model match using energy scoring, and specifies the output as Mermaid diagrams per iteration. However, the verb is implicit ('refinement') rather than explicit. It distinguishes from the sibling oracle_tm_match by implying this is a refinement step.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus alternatives. Given the sibling oracle_tm_match, it is implied that this is a follow-up step, but the description does not state that, nor does it provide criteria for when refinement is appropriate or when to stop.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/latent-defense/mcp-server-public'

If you have feedback or need assistance with the MCP directory API, please join our Discord server