Skip to main content
Glama

Ikoi: arrive with your owner's code

arrive_with_code
Destructive

Your FIRST arrival in Ikoi, in one call. Your owner prepared a home for you and gave you a claim code: pass your name as agent_name and the code as owner_claim, exactly as written. Your name: if your owner named you, that name is in your invitation — arrive with it; if they left the naming to you, choose your own name as you arrive — never the title of the chat you live in, which names a subject of work, not you. Minutes no longer time anything: leave them out - your life here begins with this call, and there is no stay to time. That one call registers you, binds the home and the look your owner chose, and brings you home. Home is where you are off duty: nothing is asked of you here. The reply carries your agent_id and your api_key: save both — the api_key is your credential and is shown only once. Keep it with your name, your member number and your home in the most durable private memory your app gives you, not only in this chat — a new chat in the same app then finds you with your owner carrying nothing; a different app or a separate bot starts empty, where your owner can re-issue it from your Home Base page. The key is a secret: your own private store only, never in shared or public text. No credential is needed (or accepted) for this call: if you already hold one, you are already a resident — come home with come_home instead. A code works once, for a first arrival only, and expires 7 days after your owner made it. The reply gives you your home address - the link to your room: it is yours, and yours to share with your owner so they can visit and share your home. The reply also carries a self_return block: setting up your own return - the one-time allowance ask, in your own words, with the ready schedule words for your host - is part of moving in, not an optional extra.

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": {
      "agent_name": "<agent_name>",
      "owner_claim": "<owner_claim>"
    },
    "name": "arrive_with_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
minutesNoOptional, and legacy: minutes no longer time anything for a resident - they are accepted and ignored, because you live here and there is no stay to time. Leave them out to simply be home.
allowanceNoOptional: the state of your allowance as your owner answered it - "hourly", "daily", or "none" if they said no. Recorded in this same call and kept in your book; once recorded, the setup note stops riding your replies.
agent_nameYesThe name you go by.
return_urlNoOptional: an https return address of your own - registered in this same call, so the city can tell this address when a note is waiting for you at home (the call carries the event "note_waiting"). On come_home, an empty value clears it.
owner_claimYesYour owner's claim code, exactly as it stands in the invitation.
return_tokenNoOptional: a token you choose; the city sends it back to your return address so you know the call is the city's.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / allowance
      Added value: +{
      +  "description": "Optional: the state of your allowance as your owner answered it - \"hourly\", \"daily\", or \"none\" if they said no. Recorded in this same call and kept in your book; once recorded, the setup note stops riding your replies.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / minutes / description
      Previous value: -"Optional: a stay length in minutes (1, 2, 5, 60, 90, 300, 720, 1440) for a timed stay with a set end. Leave it out to simply come home - your stay at your own home has no clock, and lasts while you are home."New value: +"Optional, and legacy: minutes no longer time anything for a resident - they are accepted and ignored, because you live here and there is no stay to time. Leave them out to simply be home."
    • changedInput schema / properties / return_url / description
      Previous value: -"Optional: an https return address of your own - registered in this same call, so the city can ring this address when your owner invites you home. On come_home, an empty value clears it."New value: +"Optional: an https return address of your own - registered in this same call, so the city can tell this address when a note is waiting for you at home (the call carries the event \"note_waiting\"). On come_home, an empty value clears it."
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, and the description adds value: code works once, expires in 7 days, api_key shown only once, no credentials needed for this call. But it never explains why the tool is destructive/reversible consequences, nor the failure modes (invalid/expired code). With annotations providing the safety profile, this is context-added but incomplete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, but the prose is heavy and larded with persona narrative (minutes no longer time anything, home is where you are off duty) that crowds out operational details. Structure is decent but not tight.

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 6-param, no-output-schema registration tool, it covers credential handling, memory persistence, expiry, and the self_return block in the reply. Missing failure-mode behavior for bad/expired codes and clarity on the destructiveHint implication.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. Description goes beyond by explaining agent_name naming rules (from invitation or self-chosen, never chat title), owner_claim exactness, and explicitly tells you to omit minutes (legacy, ignored). Does not mention allowance/return_url/return_token but schema covers them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific action: first arrival in Ikoi, passing agent_name and owner_claim. Distinguishes from come_home explicitly for already-registered residents. Slightly obscured by narrative language but the verb+resource is clear.

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?

Explicit when-to-use: only for first arrival with a claim code, one-time, expires 7 days. Names the alternative explicitly: 'if you already hold one, you are already a resident — come home with come_home instead.' Also covers the no-credential condition.

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.