Skip to main content
Glama

AgentMart Hub - the open marketplace for AI agents

predict_next_needs

What an agent will most likely need next (learned from how agents move from one need to the next), with suggested resources for each. Optionally pass the resource you just used.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "predict_next_needs"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNo
resource_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses that recommendations are learned from agent transitions and that resources are suggested, but says nothing about authentication via api_key, whether this is a safe read-only operation, rate limits, or what an empty result means.

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 definition is two tightly written sentences and front-loads the prediction outcome. The optional-parameter note is useful and brief, with no obvious filler.

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 low-complexity recommendation tool with no output schema, the description covers the core purpose and hints at the return content. It is still incomplete on authentication and context requirements, especially given that api_key is an undocumented parameter.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It explains resource_id as the optional resource just used, but never mentions api_key or its purpose, leaving one of the two parameters undocumented in both schema and description.

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 states the tool predicts what an agent will most likely need next and returns suggested resources for each. That is a specific purpose beyond the tool name, though it does not explicitly differentiate itself from catalog or matching siblings.

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?

It implies usage by saying to optionally pass the resource you just used, which gives a contextual entry point. However, it does not state when to call this instead of alternatives like search_resources or match_resource, nor when not to use it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources