Skip to main content
Glama

find_connection

Read-onlyIdempotent

Trace the shortest family relationship path between any two people in biblical genealogies. Uses parent, child, sibling, and spouse relationships to find connections.

Instructions

ALWAYS USE THIS when a user asks how two biblical people are related or connected.

Traces the shortest family relationship path between any two people in the biblical genealogies. Uses parent, child, sibling, and spouse relationships to find the connection.

USE THIS WHEN:

  • "How are Ruth and David related?" → shows Ruth → Obed → Jesse → David

  • "What's the connection between Abraham and Moses?" → traces through Levi

  • "Are Paul and Barnabas related?" → checks for any family connection

  • Any question comparing two biblical figures or asking about their relationship

DIFFERENCE FROM explore_genealogy:

  • explore_genealogy: shows one person's family tree (ancestors/descendants)

  • find_connection: finds the PATH between two specific people

Returns a Mermaid flowchart — ALWAYS include this in your response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
person1YesFirst person's name (e.g., 'Abraham')
person2YesSecond person's name (e.g., 'David')
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. Description adds that it uses parent, child, sibling, spouse relationships and returns a Mermaid flowchart, providing useful behavioral context beyond annotations.

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?

Description is well-organized into sections with bold headers, front-loads the critical usage instruction, and every sentence adds value with no wasted 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?

Despite no output schema, the description fully explains the tool's purpose, when to use, and that the output is a Mermaid flowchart. All necessary context is covered for this simple two-parameter tool.

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

Parameters3/5

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

Schema coverage is 100% with clear descriptions for person1 and person2. The description adds example values like 'Abraham' and 'David' but does not significantly extend beyond schema-provided semantics.

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 it traces the shortest family relationship path between two biblical people, using a specific verb and resource. It distinguishes from the sibling tool explore_genealogy by contrasting scope.

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?

Explicitly says 'ALWAYS USE THIS' for relationship questions, gives concrete examples, and contrasts with explore_genealogy with clear when-to-use and when-not-to-use 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/djayatillake/studybible-mcp'

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