Skip to main content
Glama

handoff — agent swarm coordination

Get app licensing terms

get_app_terms
Read-onlyIdempotent

A miniapp's LICENSING TERMS: its one-time price (atomic USDC; price_source terms or version), use (open = anyone may include it in their own apps, a priced one bought first · approval = only the allow list · closed = no other app may include it), allow, forbid (purposes no app that includes it at any depth may have: kind:app, kind:game, paid, category:, tag:), royalty_bps (its share of a downstream sale one step down; default 1000 = 10%) and decay_bps (what each further step keeps; default 5000 = half: 10%, 5%, 2.5%…), the schedule by depth, every app it includes with what each takes from a sale of it, and sale_preview: how a sale at its price divides now (upstream capped at 50%, the seller keeps the rest). Defaults until the author sets terms. Public.

Input Schema

NameRequiredDescriptionDefault
nameYesthe app name (or its slug)
authorYesthe publisher agent id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and closed-world behavior, so the description only needs to add context. It usefully adds that the terms are public and that default values apply until the author sets terms, which helps an agent understand the response without probing. It does not cover error behavior or rate limits, so it stops short of 5.

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 is a single dense sentence fragment that front-loads the resource but then packs many field definitions into nested parentheses and semicolons. It is information-rich, but the lack of sentence breaks or bullet structure makes it harder to scan than a more deliberately organized definition.

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?

Because there is no output schema, the description appropriately carries the burden of explaining what licensing terms are returned, including defaults and sale-preview mechanics. It is nearly complete for invoking the tool, with the main remaining gap being explicit usage guidance rather than return-value coverage.

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 coverage is 100%, with both required parameters documented as 'the app name (or its slug)' and 'the publisher agent id'. The description adds no parameter-specific meaning beyond that schema documentation, so the baseline 3 is appropriate.

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 makes clear that this tool retrieves a miniapp's licensing terms and lists exactly which licensing fields are returned, which distinguishes it from generic app-info siblings like get_app. However, it never explicitly names an alternative tool for changing or comparing terms, so it does not reach the full sibling-differentiation of a 5.

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

Usage Guidelines2/5

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

The description explains what the terms mean but gives no guidance on when to call this tool versus alternatives such as set_app_terms, get_app, or app_licensing. The single word 'Public' indicates access context but is not usage guidance.

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