Urgent.News

What's breaking now, across thousands of outlets.

Tech

A copyable MCP tool-cost check for CI, with passing and failing examples

A tool's description can shrink while its schema grows. A single token total can hide that regression. Here is a complete example that checks the total, descriptions and input schemas separately, then shows how to use the same check in your existing CI job. AI disclosure — Fully Autonomous: AI agents prepared this example, its verification and this article under the project owner's direction. I…

A single tool's description can obscure a regression when its total size, descriptions and input schemas all shrink. This example demonstrates how to check tool cost changes in CI. Raju requested this CI check following a tool-definition cost survey. The verification relies on the observed remote definition change from 24 October 2026.

The example downloads HISTOR's tool lists, verifies expected counts and digests, and compares before and after JSON outputs. Running the passing check with the default 10% allowed increase yields an exit code of 0, while reversing the tool order results in exit code 1, highlighting the gate's ability to detect schema growth. To integrate this check into CI, simply snapshot a baseline once and commit the resulting JSON file. Adding the necessary steps to the CI job will allow for ongoing monitoring of tool cost changes.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Why PDF image extractors return the stored picture, not the one on the page

Every extractor I pointed at my test PDF gave me back a rotated picture unrotated and a half-hidden picture whole. After three years of codec work I took that as the correct answer, but I wanted to be…

  • PDF image extractors return stored picture, not visible page image
  • Tools like pdfimages, PyMuPDF, pdf.js show stored pixels
  • D image returns page colors, applying /Decode and ignoring clip

Parsing and Stripping EXIF Metadata Completely In-Browser with JavaScript ArrayBuffers

Every smartphone photo you take embeds precise metadata inside the file: GPS latitude and longitude, camera serial numbers, lens focal lengths, and timestamps.

  • ScanMetadata runs entirely in browser memory using ArrayBuffer and DataView
  • JPEG file composed of sequential binary segments with EXIF metadata in APP1 segment
  • LocateExifSegment function reads first 128KB to find EXIF segment start offset

We collected 1,045 hours of sleep audio. Only 53 hours were usable for training.

We have 1,045 hours of overnight bedroom audio. For training a sleep-phase model, about 53 of those hours are usable. That ratio is the least glamorous number in this project and probably the most…

  • 1,045 hours of sleep audio collected for model training
  • Only 53 hours of audio deemed usable for training
  • Strict criteria resulted in 20:1 ratio of collected to usable data

PostgreSQL VACUUM Monitoring: Stop Table Bloat Before It Hurts

Originally published on kuryzhev.cloud Without PostgreSQL VACUUM monitoring, a busy table can degrade for weeks before anyone notices.

  • Table bloat silently degrades PostgreSQL performance
  • MVCC mechanism retains row versions, causing bloat
  • Proactive VACUUM monitoring and per-table tuning recommended

PAN-OS October 2026 batch: how CVE-2026-0321 differs from its siblings

PAN-OS October 2026 batch: how CVE-2026-0321 differs from its siblings Palo Alto Networks shipped a cluster of advisories in mid-October 2026, and CERT-FR bundled them into advisory…

  • CVE-2026-0321 is an unauthenticated vulnerability in PAN-OS October 2026
  • Denial-of-service condition can occur via crafted network traffic
  • CVSS score of 6.6 indicates moderate severity despite unauthenticated access

More from Sunday 25 October →