Skip to main content
Glama

AI Agent Tool Intelligence

xguard.tools
Idempotent

Resolve a technical task to a tool, input contract, payment method and supported transports in the XGuard registry. USD 0.001 per atomic result.

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": {
      "task": "<task>"
    },
    "name": "xguard.tools"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

The description adds genuinely new behavioral context beyond annotations by disclosing cost ('USD 0.001 per atomic result') and the notion of an atomic billed result, which no annotation conveys. However, with readOnlyHint=false and no output schema, it never clarifies whether the tool only resolves a contract or actually executes/invokes the resolved tool, nor what billing or authorization is triggered — a critical ambiguity for a non-read-only call.

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?

Two tight sentences with zero filler: the action and scope come first, and the pricing note is front-loaded rather than buried. The dense noun list ('input contract, payment method and supported transports') is informative but slightly unpacked.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description names what the tool returns, which is helpful given there is no output schema, but it omits how to consume the returned input contract, what a failed resolution looks like, and how this differs from calling a sibling resolver directly. For a paid, non-read-only dispatcher with an undocumented enum, more detail is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for the single required 'task' parameter, and the description says nothing about what a task value means or how the nine enum values (fact, advisory, decision, diagnosis, etc.) differ or map to registry tools. The agent must infer everything from bare enum tokens, so the description does not compensate for the coverage gap.

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 uses a concrete verb and resource ('Resolve a technical task to a tool, input contract, payment method and supported transports in the XGuard registry') and states the return concept, so an agent can tell this is a dispatcher/lookup rather than a domain query. It stops short of differentiating itself from the many sibling resolvers (xguard.facts, xguard.dependencies, xguard.compatibility), which map almost one-to-one onto the task enum.

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?

There is no explicit when-to-use, when-not-to-use, or alternative named, despite siblings like xguard.facts and xguard.dependencies clearly overlapping the 'fact' and 'dependency' task values. The only guidance is implicit in the enum, leaving the agent to guess whether to call this dispatcher or a sibling tool directly.

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.