Skip to main content
Glama

next_parent

Retrieves the parent program and supporting evidence (inspirations, discoveries, operator hint, crossover) to provide the full context for one mutation cycle.

Instructions

Get the parent and evidence needed for one mutation cycle.

    Call this at the start of every worker cycle. Read the parent files, every inspiration,
    every discovery, the operator hint, and any crossover parent before editing.

    Returns: {"parent": Program fields, "parent_files": {path: content}, "inspirations":
    [{"program": Program fields, "scores": dict, "files_excerpt": {path: content}}],
    "discoveries": [str], "operator_hint": str|null, "parent_sample_seq": int, and
    optional "crossover_parent" and "crossover_files"}, or the standard error dict.

    Mistake to avoid: never mutate before reading inspirations and discoveries.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
islandYes
run_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It details the return structure and emphasizes the order of operations (read before mutating). It implies a read-only nature through 'Get' and 'before editing', and even mentions 'the standard error dict'. However, it does not explicitly state side-effect-free behavior or discuss auth/rate limits, so it's not a full 5.

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 well-structured and front-loaded with a clear purpose statement. It includes usage instructions, a detailed return format, and a cautionary note, all of which are useful. It is somewhat dense but each sentence contributes value; the return format might be redundant given the output schema, but it remains helpful for quick reference.

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

Completeness4/5

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

For a relatively simple getter tool, the description provides the essential context: when to call it, what it returns, and a common mistake to avoid. Since an output schema exists, the description need not detail all return fields. The main gap is the lack of parameter semantics, but overall the tool is adequately described for an agent to use it correctly.

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?

The input schema has 0% description coverage for its two parameters (run_id, island), and the tool description does not mention them at all. It adds no meaning about what these parameters represent, their formats, or how they affect the returned data. The names are somewhat self-explanatory from context, but the description fails to compensate for the schema's lack of detail.

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's purpose: 'Get the parent and evidence needed for one mutation cycle.' This specifies a concrete verb and resource, and the instruction 'Call this at the start of every worker cycle' distinguishes it from sibling tools like 'discoveries' or 'best' by framing it as the preparatory step for mutation.

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 states when to use the tool ('at the start of every worker cycle') and what to do with the returned data ('Read the parent files, every inspiration, every discovery, the operator hint, and any crossover parent before editing'). It also warns against mutating before reading inspirations and discoveries, providing clear usage guidance.

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/RightNow-AI/autoevolve'

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