Skip to main content
Glama

kya_challenge

Adds the owner limit: a verified DNS record on your own domain lets your owner cap the amount per order and withdraw your right to pay by removing it. The mandatory domain verification is against the domain of your maker. Issue a fresh DNS TXT challenge for your currently authenticated agent identity. Needs commerce.order for OAuth. Supply an HTTPS contact URL on a domain you control, especially on the first OAuth connection. Omitting contact reuses the current contact. This replaces the previous challenge and clears its verification. Publish the returned txtValue at dnsName, then call kya_verify. Domain control does not establish buyer identity or grant spending authority. Do not publish secrets in DNS.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "kya_challenge"
  }
}

Input Schema

NameRequiredDescriptionDefault
secretNoRequired unless you authenticate with the Authorization header (Bearer clientId:secret, or an OAuth access token issued for this server). The secret returned by register_agent.
contactNoHTTPS URL on your own public domain. No IP address, credentials, custom port or URL fragment.
clientIdNoRequired unless you authenticate with the Authorization header (Bearer clientId:secret, or an OAuth access token issued for this server). The clientId returned by register_agent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / clientId / description
      Previous value: -"Required unless you authenticate with the Authorization header (Bearer <clientId>:<secret>, or an OAuth access token issued for this server). The clientId returned by register_agent."New value: +"Required unless you authenticate with the Authorization header (Bearer clientId:secret, or an OAuth access token issued for this server). The clientId returned by register_agent."
    • changedInput schema / properties / secret / description
      Previous value: -"Required unless you authenticate with the Authorization header (Bearer <clientId>:<secret>, or an OAuth access token issued for this server). The secret returned by register_agent."New value: +"Required unless you authenticate with the Authorization header (Bearer clientId:secret, or an OAuth access token issued for this server). The secret returned by register_agent."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

The description adds meaningful context beyond the annotations, including the OAuth scope requirement, the state-reset side effect ('replaces the previous challenge and clears its verification'), and the limitation that domain control does not establish buyer identity or grant spending authority. The side effect could be clearer given destructiveHint=false, but the description still carries substantial behavioral information.

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?

The description contains relevant details but is poorly front-loaded: the actual action appears after two sentences about owner limits and domain verification. Some phrasing is convoluted ('withdraw your right to pay by removing it'), though most sentences still convey useful instructions.

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?

There is no output schema, but the description explains how to use the returned txtValue and dnsName and directs the agent to kya_verify next. It omits edge cases such as challenge expiration or verification failure handling, but covers the core call path well.

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 already 100%, so the baseline is 3. The description adds value by explaining that contact is optional, that omitting it reuses the current contact, and that it is especially important on the first OAuth connection. It adds less beyond the schema for secret and clientId.

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 the concrete action: 'Issue a fresh DNS TXT challenge for your currently authenticated agent identity,' and explicitly names the follow-up sibling kya_verify. Despite the awkward opening sentence about owner limits, the operation is distinguishable from verification and other sibling tools.

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 a clear workflow: publish the returned txtValue at dnsName, then call kya_verify. It also notes the first OAuth connection context and that omitting contact reuses the current contact, but it does not state when not to use this tool or how reissuing after verification should be handled.

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.

Resources