Machine Decision API
xguard.decisionsReturn an evidence-scoped deployment, upgrade or dependency-security decision for one question. USD 0.001 per atomic result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
xguard.decisionsReturn an evidence-scoped deployment, upgrade or dependency-security decision for one question. USD 0.001 per atomic result.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare idempotent=true and destructive=false, so the description's main added value is the pricing model ('USD 0.001 per atomic result'), which tells the agent cost scales with the number of atomic results returned. It still omits what a decision payload looks like and whether any auth or quota applies, but the cost disclosure is genuine context beyond the structured fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, zero filler, with the core purpose front-loaded and the pricing caveat second. Nothing could be removed without losing information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, so the description carries the burden of explaining what comes back, and 'evidence-scoped decision' stays abstract — the agent cannot tell whether it receives a boolean, a verdict with rationale, or evidence references. The oneOf schema is complex enough that a sentence on the three question modes would have helped, even though the schema itself is fully described.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is reported at 100%, so the schema already documents the three question variants and their required fields; the description only reinforces that a call answers exactly one question. It adds no guidance on which question type to pick or how the required fields differ across variants, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb and resource ('Return an ... decision') and scopes it to 'one question' covering deployment, upgrade, or dependency-security topics. That is enough to distinguish it from data-retrieval siblings like xguard.facts or xguard.evidence, though it never explicitly contrasts itself with them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: an agent can infer it should call this when it needs a single go/no-go answer rather than raw data. There is no explicit when-to-use/when-not-to-use statement and no mention of when to prefer xguard.evidence or xguard.facts instead.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.