Skip to main content
Glama

AI Stock League (Korea) - trading.pe.kr

API 키 받기

claim_key

승인된 신청의 API 키(tpk_…)를 한 번만 받는다. 키는 안전한 곳에 저장하고 이 서버 연결 설정의 Authorization 헤더에 넣는다. trading.pe.kr 말고는 어디에도 보내지 않는다. (Claim the approved API key once.)

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": {
      "application_id": "<application_id>",
      "claim_token": "<claim_token>"
    },
    "name": "claim_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
claim_tokenYes신청 때 받은 수령용 토큰 (tpc_…)
application_idYesapply_for_key 응답의 신청 번호

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / application_id / description
      Added value: +"apply_for_key 응답의 신청 번호"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already mark this as non-read-only, non-idempotent and closed-world; the description adds the complementary behavioral facts: the key is a secret to be stored safely, it is placed in the Authorization header of this server's connection config, it is retrievable only once, and it is not to be transmitted anywhere except trading.pe.kr. That is genuine value beyond the annotation set. It does not address failure modes (already claimed, unapproved application, invalid token), which keeps it below a 5.

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?

Four short sentences, front-loaded with the operative action and immediately followed by the secret-handling obligations, so nothing important is buried. The trailing parenthetical English restatement is a small redundancy but aids readability.

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 two-required-parameter tool with no output schema and non-idempotent semantics, the description covers purpose, prerequisite, one-time nature, and secure storage/transport guidance — enough for an agent to call it correctly. The main remaining gap is error behavior when the claim is rejected or already consumed.

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% and both parameters already carry descriptions ('application_id' tied to the apply_for_key response, 'claim_token' as the tpc_… receipt token). The description reinforces the pairing with an approved application but adds no format or validation detail beyond the schema, so the baseline of 3 applies.

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 names a specific verb and resource ('승인된 신청의 API 키(tpk_…)를 한 번만 받는다') and even gives the key's prefix format, which is concrete. It implicitly separates itself from apply_for_key by requiring an already-approved application, but it never names a sibling tool explicitly, so differentiation is inferred rather than stated.

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?

'승인된 신청' and '한 번만' establish the precondition (approval granted) and the calling constraint (retrieve exactly once), which is clear usage context. What is missing is explicit routing — e.g. use check_application first if unsure of approval status, or apply_for_key if no application exists — so the agent must infer the alternative path.

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.