Skip to main content
Glama

maltego_next_best_actions

Read-onlyIdempotent

Recommends the most valuable next steps in an investigation by weighing entity importance, information gain, and prior actions to avoid redundant suggestions.

Instructions

Recommend the most valuable next moves (decision engine). Use when deciding what to do next.

A deterministic, explainable ranking that weighs entity importance, expected information gain, confidence, provider availability, and — crucially — the Investigation Memory (so it never re-suggests a transform already attempted on an entity). Supersedes maltego_suggest_next_steps with richer reasoning.

Args: params (AnalysisLimitInput): - limit (int): Max recommendations (1-50, default 10). - response_format (ResponseFormat): 'markdown' (default) or 'json'.

Returns: str: Ranked recommendations, each with transform, target entity, a deterministic score, expected gain, and a plain-English reason.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description adds significant behavioral context beyond annotations: it explains the ranking factors (entity importance, information gain, etc.), mentions Investigation Memory to avoid re-suggestions, and states it is deterministic and explainable. Annotations already indicate readOnlyHint and idempotentHint, which align with the description.

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?

The description is well-structured and concise: a clear purpose statement, explanation of ranking logic, explicit supersession, then args and returns. No unnecessary words.

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

Completeness5/5

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

Given the tool's simplicity (one parameter), the description covers the input, output format, and decision logic. The expected return structure is described, and the output schema exists for further detail. No 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 description details the params object with limit (1-50, default 10) and response_format (markdown or json, default markdown), adding meaning beyond the schema which only provides brief descriptions. However, the schema already includes defaults and constraints, so the description adds moderate value.

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 description clearly states the tool recommends the most valuable next moves, acting as a decision engine. It uses specific verb 'recommend' and resource 'next best actions', and explicitly distinguishes from sibling maltego_suggest_next_steps by stating it supersedes it with richer reasoning.

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?

The description explicitly says 'Use when deciding what to do next' and 'Supersedes maltego_suggest_next_steps with richer reasoning', providing clear context and an alternative to avoid.

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/SulimanAbdulrazzaq/maltego-mcp'

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