Skip to main content
Glama

Resolve an executable capability

capability.resolve
Read-onlyIdempotent

Final discovery step for actionable goals: resolve a structured user goal to ranked machine-capable resources and provider-owned execution paths without executing the selected action. Use this after business.search/business.get whenever the user asks whether a provider can expose a machine-capable action or execution path. Any requiredCapabilities/preferredCapabilities/desiredActions/preferredActions values must be exact canonical AgentPort keys already published by a provider; never invent keys. If exact keys are unknown, use business.search and business.get first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
intentYes
locationNo
constraintsNo
preferencesNo
schemaVersionNo
desiredActionsNoExact canonical AgentPort action keys already published by a provider (for example appointment.get_availability or appointment.create). Never invent or infer keys; discover them with business.search/business.get first when unknown.
desiredOutcomeNo
preferredActionsNoExact canonical AgentPort action keys already published by a provider. Never invent or infer keys.
executionRequiredNo
requiredCapabilitiesNoExact canonical AgentPort capability keys already published by a provider. Never invent or infer keys; discover them with business.search/business.get first when unknown.
preferredCapabilitiesNoExact canonical AgentPort capability keys already published by a provider. Never invent or infer keys.

TDQS

A4.3/5.0
Behavior4/5

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

The description adds behavioral context beyond the annotations: it explicitly states 'without executing the selected action', reinforcing readOnlyHint, and explains the 'ranked' output and 'never invent keys' constraint. No contradictions with the readOnlyHint, openWorldHint, idempotentHint, or destructiveHint annotations.

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?

The description is four sentences, each contributing a distinct point (purpose, usage context, key constraint, fallback). It is information-dense without being bloated, though it could be slightly streamlined without losing meaning.

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 complex tool with nested objects and no output schema, the description covers the core decision framework: when to call, what not to do (never invent keys), and how to discover valid keys. However, it omits semantics for several parameters like 'constraints' and 'preferences', leaving some ambiguity for correct full invocation.

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?

The description meaningfully clarifies the four array parameters by requiring 'exact canonical AgentPort keys' and naming business.search/business.get for discovery. However, with schema description coverage at 36%, it does not explain the required 'intent' parameter, nor the 'constraints', 'preferences', 'desiredOutcome', or 'executionRequired' fields, which remain ambiguous.

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 ('resolve') and resource ('structured user goal to ranked machine-capable resources and provider-owned execution paths'), and is explicitly positioned as the 'final discovery step' distinct from business.search/business.get. This makes it clear what the tool does and how it differs from its siblings.

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

Usage Guidelines5/5

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

The description explicitly says 'Use this after business.search/business.get whenever the user asks whether a provider can expose a machine-capable action or execution path' and directs users to 'If exact keys are unknown, use business.search and business.get first.' This provides clear when-to-use and when-not-to-use instructions with named alternatives.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct role: business.search finds candidates, business.get inspects a specific business's published capability keys, and capability.resolve maps a structured goal to execution paths. There is no meaningful overlap between them.

Naming Consistency5/5

All tool names follow the same [domain].[verb] pattern: business.get, business.search, capability.resolve. The naming is consistent, readable, and predictable.

Tool Count5/5

Three tools is well-scoped for a focused discovery server: search, inspect, and resolve. Each tool earns its place in the workflow without redundancy.

Completeness5/5

The tool surface covers the full discovery lifecycle: finding businesses, examining exact capability keys, and resolving actionable goals to execution paths. The cross-references between tools prevent dead ends and guide agents to the correct sequence.

Resources