Skip to main content
Glama

inspect_lossless_bigint_json

Read-onlyIdempotent

Parses raw JSON or JSONL offline without losing 64-bit integers or decimals, flags unsafe numeric paths, and previews Snowflake timestamps and JWT claims.

Instructions

Parses raw JSON or multi-line .jsonl payloads offline without IEEE-754 float64 truncation (> 2^53 - 1), flagging unsafe int64/decimal paths, decoding Snowflake timestamps, detecting duplicate keys, and previewing JWT claims.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "inspect_lossless_bigint_json"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoInput stream parsing mode: "auto" (default), single-document "json", or multi-line "jsonl".
filePathNoOptional local file path to a .json or .jsonl file on disk when payloadContent is omitted.
payloadContentNoRaw JSON document or multi-line .jsonl / NDJSON text inspected losslessly in local memory without JSON.parse() rounding.
expandUnescapedNoWhen true (default), recursively parses stringified JSON values inside logs so nested int64 hazards are surfaced.
includeFormattedOutputNoWhen true (default), returns both lossless formatted JSON/JSONL and safe-quoted JSON where unsafe numbers are wrapped as strings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: processing happens offline/in local memory, values are not rounded via JSON.parse(), unsafe numeric paths are flagged, and additional detections (duplicate keys, Snowflake timestamps, JWT claims) are surfaced. It does not disclose limits such as payload size or precedence when both filePath and payloadContent are relevant.

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?

It is a single front-loaded sentence with the core purpose and precision guarantee first, followed by an efficient capability list. The trailing feature enumeration is dense but each item earns its place by signaling a distinct inspection capability; only light punctuation friction from the run-on clause structure.

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 5-parameter, zero-required tool with no output schema, the description conveys enough: what is parsed, what is flagged, and what extra detections are produced (duplicate keys, Snowflake timestamps, JWT claims). It falls short on edge behavior an agent might want, such as what happens when neither payloadContent nor filePath is supplied, but overall it is sufficient to call the tool correctly.

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?

With 100% schema description coverage on all five parameters, the schema already documents format, filePath, payloadContent, expandUnescaped, and includeFormattedOutput including their defaults. The description does not add parameter-level meaning such as precedence rules when payloadContent is omitted, so the baseline 3 applies.

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 leads with a specific verb and resource ("Parses raw JSON or multi-line .jsonl payloads") and adds a concrete differentiator ("without IEEE-754 float64 truncation"), then lists the inspection capabilities: unsafe int64/decimal flagging, Snowflake timestamps, duplicate keys, JWT claims. It is clearly an inspection/parse tool rather than a diff, unescape, or schema-inference tool, but it never explicitly contrasts itself with the sibling tools.

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?

Usage is only implied by the stated benefits (lossless parsing, offline). There is no explicit when-to-use statement, no when-not guidance, and no named alternatives among diff_lossless_rfc6902_patch, unescape_nested_json_logs, or infer_multi_target_schema. The agent must infer that this is the right tool whenever precision around large integers matters.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.