Skip to main content
Glama

microsoft code

microsoft_code
Read-only

Decode one Microsoft error code: 0x80070005, -2147024891, 80070002, C0000005, AADSTS50076, stop code 0x7E, ERROR_ACCESS_DENIED, Event ID 41, or 1603. Returns every family it belongs to (Win32, HRESULT with facility breakdown, NTSTATUS, bug check, AADSTS, Windows Update, CBS, BITS, WinInet, MSI, Event ID), the official meaning and the Microsoft reference link. 9,000+ codes. Costs $0.015 per call, paid in USDC on Base with x402.

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": {
      "code": "<code>"
    },
    "name": "microsoft_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe code, name or short text containing it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the read-only and open-world annotations, the description explains that it returns every matching family, the official meaning, and a Microsoft reference link. It also discloses code coverage volume and the $0.015 per-call cost paid in USDC on Base with x402, which is important operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core decoding action, followed by return behavior, coverage, and pricing. The example list is long but each example is useful for input recognition, and there is no filler.

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

Completeness5/5

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

For a single-parameter, read-only lookup tool with no output schema, the description supplies enough detail about accepted inputs, returned information, coverage, and payment requirements. No critical calling information appears to be missing.

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

Parameters5/5

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

Although the schema already covers the single 'code' parameter, the description meaningfully expands accepted formats with examples such as hex values, negative decimal HRESULTs, NTSTATUS values, AADSTS codes, stop codes, symbolic names, Event IDs, and MSI codes. This reduces ambiguity about what counts as a valid input.

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 states a specific verb and resource: 'Decode one Microsoft error code', with concrete input examples. It is clear what the tool does, though it does not explicitly contrast itself with siblings such as microsoft_search or microsoft_diagnose.

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

Usage Guidelines3/5

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

The accepted inputs imply when to use it: when you have a single Microsoft error code, code name, or short text containing one. However, it gives no explicit when-not-to-use guidance or named alternatives for broader searching or diagnosis.

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