Skip to main content

Sample prompts

Hum publishes five sample prompts. Each one is a ready-made request that shows one way to use Hum. A client that supports MCP prompts lists them in its prompt menu, so a person can pick one instead of typing the request. prompts/list returns the five prompts. prompts/get turns one of them into a single message from the person. These rules apply to all five:
  • Every argument is optional. A client that cannot collect arguments still gets a message that works.
  • Without an address, the message asks the assistant to get it from the person. The same goes for an order code: the message tells the assistant to use the one from earlier in the chat, or to ask for it.
  • Getting a prompt does no lookup. It calls no tool, starts no order and stores nothing. Nothing is looked up until the assistant acts on the message and calls a tool.
  • Each prompt produces one message. Its role is user and its content is plain text.

The five prompts

The Title and Description columns are the text prompts/list returns, word for word.

Arguments

There are three arguments. The Description column is the text prompts/list returns, word for word. Hum puts each value on one line before it goes into the message. A value that is empty or only spaces counts as left out.

The message each prompt produces

The messages below are exact. The address, the priority and the order code are made up.

check_address

See internet at an address. With no arguments:
With address:

check_fiber

Check for fiber. With no arguments:
With address:

compare_plans

Compare plans. With no arguments:
With address only:
With address and priority:
The two arguments work on their own. With priority and no address, the message states the priority and still ends by asking for the address.

order_internet

Order internet for a move. With no arguments:
With address:

check_order

Check on an order. With no arguments:
With order:

A prompts/get example

These are the params of a prompts/get request:
This is the result:

What the assistant does with the message

The message is an ordinary request from the person. The assistant answers it with the three tools, under the same rules as any other request:
  • If the message asks for the address, the assistant asks the person. It never guesses an address or a unit.
  • check_address, check_fiber and compare_plans lead to find_internet. check_order leads to order_status.
  • order_internet asks for an order, so the assistant may call start_order once the person has chosen a plan. No prompt places an order. The person still finishes checkout on the Hum page.
  • The assistant never asks for a PIN, date of birth, card number or password.
Hum can answer from a check it made for the same building up to about a day earlier, so a plan’s price and facts can be up to a day old.

Requests Hum refuses

A wrong tool call gets a normal tool reply. A wrong prompts/get request is different: it gets a JSON-RPC error with code -32602 (invalid params). The error never repeats what was sent. The contract export has each prompt as prompts/list returns it, with the example messages on this page.