Skip to main content
Glama

Start an order at a lab

start_order
Read-onlyIdempotent

When the user has picked a lab and wants to book: checks the lab takes the test, quotes exactly what is paid online at checkout and what is paid at the lab, and returns the checkout link on herafertility.co with the lab and test already chosen. The user enters their own details and pays there; do not ask them for their name, date of birth, contact details or card. Pass the labRef from find_labs.

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": {
      "labRef": "<labRef>"
    },
    "name": "start_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
testNoThe test to order (default semen_analysis).
labRefYesThe labRef returned by find_labs for the lab the user chose.
addDnaFragmentationNoAdd a sperm DNA fragmentation test to a semen analysis on the same order (one Hera fee). Only when the user asks for both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: it validates that the lab offers the test, explains the split between online payment at checkout and payment at the lab, and clarifies that the user completes details and payment themselves so no PII should be collected. This is exactly the kind of pre-call behavior an agent needs. The only mild tension is that 'start an order' reads like a mutation while readOnlyHint=true — the description resolves it by showing the tool only returns a link, but it never states that nothing is reserved or charged until the user completes checkout, which would have closed the loop (idempotentHint=true also goes unexplained).

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?

Three sentences ordered as trigger, behavior/return, and constraint, with the parameter dependency last. Every sentence carries operational content — the pricing split and the 'do not collect PII' rule are both load-bearing, not 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?

No output schema, but the description states what comes back (a checkout link with lab and test chosen), plus the validation and pricing semantics an agent needs to set user expectations. For a 3-parameter tool with full schema coverage, nothing material is missing.

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%, so labRef, test, and addDnaFragmentation are already documented in the schema. The description reinforces labRef's provenance but adds nothing about the test enum values or the addDnaFragmentation flag (e.g., the one-Hera-fee bundling rule lives only in the schema). Baseline 3 is the right ceiling when the schema carries the parameter 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?

States a specific verb and resource ('start an order at a lab') and immediately describes the concrete outcome: a checkout link on herafertility.co with the lab and test pre-selected. The trigger condition ('when the user has picked a lab and wants to book') separates it cleanly from find_labs, which is where the lab is chosen.

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?

Gives an explicit when-to-use condition, an explicit dependency ('Pass the labRef from find_labs'), and explicit prohibitions ('do not ask them for their name, date of birth, contact details or card'). An agent knows both when to call it and how to behave around the call.

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