Skip to main content
Glama

resolve_tlk

Read-onlyIdempotent

Look up text for a TLK string reference by checking custom TLK entries first, then falling back to the base game dialog.tlk.

Instructions

Look up text for a TLK string reference. Checks custom TLK first (strrefs >= 0x01000000), then base game dialog.tlk.

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": {
      "strref": "<strref>"
    },
    "name": "resolve_tlk"
  }
}

Input Schema

NameRequiredDescriptionDefault
strrefYesString reference number to look up

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds genuine behavioral context beyond that: resolution precedence (custom TLK checked first, then base game dialog.tlk) and the 0x01000000 threshold that separates the two sources. It does not say what happens when a strref is unresolved (null vs error), which is the remaining behavioral gap.

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?

Two short sentences, front-loaded with the core action and followed by the lookup-order detail. Nothing is redundant and no sentence could be removed without losing information.

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 one-parameter read tool with annotations covering safety and no output schema, the description covers the essentials including source precedence. The only meaningful omission is fallback behavior when the strref does not resolve in either TLK, which would matter for error handling.

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% and the single parameter is already documented as a string reference number, so the baseline is 3. The description earns above baseline by explaining that values at or above 0x01000000 map to the custom TLK, giving the agent real meaning about the input value space rather than restating the schema.

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?

The description states a specific verb and resource: 'Look up text for a TLK string reference.' An agent can immediately tell this resolves a strref to text, distinct from enumerating or searching entries. It stops short of naming which sibling to use instead (e.g. search_tlk or list_tlk_entries), so sibling differentiation is only implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: you call it when you have a numeric strref and want its display text. There is no explicit when-to-use or when-not guidance, and no pointer to search_tlk for the case where the agent has text but not a strref, which is the most likely routing confusion.

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