Skip to main content
Glama

Mark Inbox Entry Read

horizon_mark_inbox_read
DestructiveIdempotent

Marks one inbox entry as read for an authenticated player without claiming its reward, then returns updated inbox snapshot. Use it to acknowledge a message or broadcast after retrieving the inbox.

Instructions

Marks an inbox entry read for the authenticated player. Use when: an explicit player action on an entry returned by horizon_get_inbox. Not for: changing the recipient or inventing attachment amounts. Requires: userId and the player's session: sign in with horizon_signin_email or horizon_signin_anonymous and pass its accessToken as sessionToken. Side effects: Marks this entry read without claiming its reward. Returns: Updated complete inbox snapshot. Errors: 409 STATE_CONFLICT: retry the same entry ID. UNCLAIMED_REWARD: claim before removal. MAX_BALANCE_REACHED/DAILY_LIMIT_REACHED/INVENTORY_FULL leaves the reward or original item unclaimed. ENTRY_NOT_FOUND after removal/cleanup never grants again. 401 means the session is missing or expired: sign in again and retry with the new accessToken. 403 for a session means the token belongs to another user: pass the userId that signed in. Needs HORIZON_API_KEY. Every failure returns an error result (isError) with the HTTP status and body: a 401 that horizon_test_connection also returns means HORIZON_API_KEY is wrong, 429 means the account's per-minute rate limit was reached (wait a minute, then retry).

Input Schema

NameRequiredDescriptionDefault
userIdYesPlayer UUID belonging to the selected project and player session
entryIdYesExact stable entry ID from the inbox snapshot, including message: or broadcast: prefix
sessionTokenYesPlayer accessToken, sent only as Authorization Bearer

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.9.1

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already declare mutation and openness, but the description adds substantial context: the side effect of marking read without claiming the reward, required authentication flow, session-token behavior, rate limits, API-key requirement, error result shape, and detailed HTTP/error semantics. It does not contradict the annotations.

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

Conciseness4/5

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

The description is front-loaded and clearly segmented into purpose, use cases, requirements, side effects, returns, and errors. It is dense but mostly earns its length because the auth and error details are operationally useful, though the error catalog is long and the attachment-amount exclusion is somewhat oddly scoped.

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?

There is no output schema, so the description must explain returns and errors; it does both by stating that the tool returns an updated complete inbox snapshot and by cataloging authentication, conflict, reward, balance, inventory, and rate-limit failures. Given the complexity, it is complete enough for correct invocation.

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 the baseline is 3, but the description adds meaning beyond the schema: sessionToken must be the accessToken from horizon_signin_email or horizon_signin_anonymous, and userId must be the one that signed in. It also reinforces that the same entry ID should be retried after a state conflict.

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 states a specific verb and resource: marking an inbox entry read for the authenticated player. It also distinguishes the operation from nearby inbox actions by noting that it works on an entry from horizon_get_inbox and marks it read without claiming its reward.

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?

It gives explicit use criteria and exclusions: use when an explicit player action targets an entry returned by horizon_get_inbox, and not for changing the recipient or inventing attachment amounts. However, it does not directly name horizon_claim_inbox or horizon_remove_inbox as the alternatives for claiming or removing, though the error notes imply those workflows.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools