Skip to main content
Glama
informatics-isi-edu

Deriva MCP Server

Official

add_nested_execution

Organize executions by nesting child runs under a parent, grouping related tasks like parameter sweeps or pipeline stages. Use sequence to order executions or leave null for parallel.

Instructions

Add a child execution to a parent execution.

Creates a parent-child relationship between executions. Use this to group related executions, such as:

  • Parameter sweeps (parent = sweep, children = individual runs)

  • Pipelines (parent = pipeline, children = stages)

  • Cross-validation (parent = CV experiment, children = folds)

Args: parent_execution_rid: RID of the parent execution. child_execution_rid: RID of the child execution to nest. sequence: Optional ordering index (0, 1, 2...). Use None for parallel executions.

Returns: JSON with parent_rid, child_rid, sequence.

Example: # Create a sweep parent, then add child executions add_nested_execution("1-PARENT", "1-CHILD1", sequence=0) add_nested_execution("1-PARENT", "1-CHILD2", sequence=1)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sequenceNo
child_execution_ridYes
parent_execution_ridYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Without annotations, the description carries the full burden of behavioral disclosure. It explains the parent-child relationship creation, the sequence parameter semantics (None for parallel), and the JSON return format. However, it omits potential constraints or side effects, such as whether a child can have multiple parents or what happens if the relationship already exists.

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 front-loaded. The opening sentence states the action clearly, followed by relevant use cases, an Args block, Returns, and a concrete example. Every section earns its place with no redundant filler.

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 moderate complexity (3 parameters, no annotations), the description is highly complete. It covers the purpose, parameter details, return value, and an example, making it self-contained and easy for an agent to understand and invoke correctly.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by defining each argument: parent_execution_rid, child_execution_rid, and sequence. It adds meaningful semantics beyond the schema, such as the sequence being an optional ordering index with None indicating parallel execution.

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 verb and resource: 'Add a child execution to a parent execution' and further explains it 'Creates a parent-child relationship between executions.' This distinguishes it from sibling tools like list_nested_executions, which reads relationships.

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

Usage Guidelines4/5

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

The description provides excellent context for when to use the tool, listing concrete use cases like parameter sweeps, pipelines, and cross-validation. However, it does not explicitly state when NOT to use it or mention alternatives such as list_nested_executions for viewing existing relationships.

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/informatics-isi-edu/deriva-mcp'

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