Skip to main content
Glama
tibia-sh
by tibia-sh

tibia_how_to_obtain

Read-only

Find every way to obtain any Tibia item in a single query: creature drops, NPC prices, and quest rewards. Skip separate lookups for drop chances, vendors, and quests.

Instructions

Every in-game source for one item in a single call: which creatures drop it and how likely, which NPCs sell it and for how much (the price the player pays), and which quests reward it. Prefer this over three separate lookups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_nameYesItem page name or the name the game prints, e.g. "Dragon Shield".
include_inactiveNoInclude deprecated or event-only creatures, NPCs and quests as sources.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemYes
noteYes
sourceYes
statusYes
droppedByYes
soldByNpcsYes
questRewardsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.13.0
    • changedInput schema / properties / item_name / description
      Previous value: -"Item page name, e.g. \"Dragon Shield\"."New value: +"Item page name or the name the game prints, e.g. \"Dragon Shield\"."
  2. Changed5 schema fields changedv0.5.0
    • removedInput schema / additionalProperties
      Removed value: -{}
    • addedInput schema / properties / include_inactive
      Added value: +{
      +  "default": false,
      +  "description": "Include deprecated or event-only creatures, NPCs and quests as sources.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / item_name
      Added value: +{
      +  "description": "Item page name, e.g. \"Dragon Shield\".",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "item_name"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "droppedBy": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "chance": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "creature": {
      +            "type": "string"
      +          },
      +          "max": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "min": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "creature",
      +          "chance",
      +          "min",
      +          "max"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "item": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": "string"
      +    },
      +    "questRewards": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "soldByNpcs": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "city": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "currency": {
      +            "type": "string"
      +          },
      +          "npc": {
      +            "type": "string"
      +          },
      +          "price": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "npc",
      +          "city",
      +          "price",
      +          "currency"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "source": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "indexGeneratedAt": {
      +          "type": "string"
      +        },
      +        "page": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "page",
      +        "url",
      +        "indexGeneratedAt"
      +      ],
      +      "type": "object"
      +    },
      +    "status": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "item",
      +    "status",
      +    "droppedBy",
      +    "soldByNpcs",
      +    "questRewards",
      +    "note",
      +    "source"
      +  ],
      +  "type": "object"
      +}
  3. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds useful behavioral context: it returns all sources in one call, includes drop likelihood, and clarifies that NPC prices are what the player pays. This goes beyond the schema and annotations without contradicting them.

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?

The description is two sentences with no filler. The core scope is front-loaded, and the usage preference is stated in a single closing sentence.

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?

Given the output schema exists, the read-only annotation is present, and both parameters are fully documented in the schema, the description covers the essential behavior and scope. Nothing critical is missing for an agent to call this tool correctly.

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 description coverage is 100%, so the schema already documents item_name and include_inactive. The description reinforces that the tool is item-centric but adds no parameter-level meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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: it retrieves every in-game source for one item in a single call, enumerating creature drops, NPC prices, and quest rewards. This clearly distinguishes it from narrower sibling tools like tibia_find_creatures or tibia_where_to_sell.

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?

The description explicitly says to prefer this tool over three separate lookups, giving clear usage direction. It does not name the exact sibling alternatives or state when not to use it, but the guidance is sufficient for an agent to select it for consolidated item-source queries.

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