Skip to main content
Glama

Foresea Forecasting

foresea_check_run

Read-onlyIdempotent

Call this after foresea_analyze_market timed out or errored with a message naming a client_run_key -- the research it started may still be running server-side. Returns {"status": "running", ...} if it's not done yet (call again in a bit), or the full report once it is. Do not call this speculatively; only use the client_run_key a prior foresea_analyze_market call actually gave you. Example: client_run_key="a1b2c3..." → {status:"running", id:"agent_run_..."} or the full report once complete.

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": {
      "client_run_key": "<client_run_key>"
    },
    "name": "foresea_check_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
client_run_keyYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the underlying research may still be running server-side, transient status responses are expected and should be re-polled, and a full report arrives once complete. It stops short of mentioning rate limits or how long results persist, which keeps it at a 4.

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 trigger condition is front-loaded and the exclusion follows immediately, which is the right ordering. The trailing example line largely restates return shapes the output schema already defines, making it the one piece of text that does not fully earn its place.

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?

For a single-parameter polling tool with an output schema and full annotation coverage, the description supplies everything needed to invoke it correctly: when to call, when not to, what a transient response means, and how to proceed. No material gap remains.

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 description coverage is 0%, so the description carries the burden here, and it does: client_run_key is tied to its origin (a prior foresea_analyze_market error message), constrained (never invent one), and illustrated with an example value format. It does not state whether the key expires, which is the remaining semantic gap.

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 names a specific verb and resource: poll a research run previously started by foresea_analyze_market, keyed by client_run_key, returning either a running status or the full report. It explicitly distinguishes this tool from the sibling that starts the work, so an agent can tell the two apart without opening either schema.

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 triggering condition is stated precisely (only after foresea_analyze_market timed out or errored with a message naming a client_run_key) and an explicit exclusion is given (do not call speculatively; only use a key a prior call actually returned). It also says what to do on a running status (call again in a bit), which is the key follow-up behavior for a polling tool.

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.