SShortSingh.
Back to feed

MCP Lacks Built-In Tool Ordering; Developers Can Enforce It with Session State

0
·5 views

The Model Context Protocol has no native concept of sequencing tool calls, so one tool may run before another that depends on its output. A developer writes a guide showing how to enforce that order anyway. The approach tracks per-session state so that a dependent tool checks whether its prerequisite has completed. If the prerequisite is missing, the tool returns a normal error result with a message telling the caller to run the first tool, rather than throwing an exception that would break the connection.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

GitHub investigates degraded service across several of its products

GitHub has acknowledged that users are experiencing degraded performance across multiple of its products. The company posted an incident notice on its official status page to track the issue. The article provides only a link to that status page and a Hacker News discussion thread, so the specific cause, scope, and duration of the disruption are not described here. Users seeking updates are directed to GitHub's status page for the latest information.

0
ProgrammingDEV Community ·

Temporal's Deterministic Replay Carries Real Costs Versus Event-Sourced Sagas

The author, founder of the self-hosted job queue JoobQ, compares Temporal with event-sourced saga engines for durable multi-step jobs. Temporal is widely seen as the default choice for workflows that must survive crashes and deploys without leaving data half-finished. Its deterministic replay model records every state transition in an append-only Event History and rebuilds workflow state by re-running the code. That approach enables very long durable sleeps, mid-function resumption without manual state serialization, and an auditable execution record. The article argues, however, that these benefits require heavy infrastructure and strict coding rules, including hard limits on history size.

0
ProgrammingDEV Community ·

Adobe AEM Flaw CVE-2026-132877 Rated 9.9 Despite No Known Exploitation

Adobe has assigned CVE-2026-132877, a code-injection flaw in Adobe Experience Manager, a CVSS 3.1 score of 9.9. The company says it is not aware of any in-the-wild exploitation tied to the issues in its APSB26-104 advisory. The vulnerability can be reached over a network with low complexity and only low-privilege credentials, and it carries high impact on confidentiality, integrity and availability. Security researchers note that no public proof-of-concept exploit had been identified at the time of review, though that does not guarantee the flaw is safe. Experts advise treating it as critical, checking local exposure, and patching promptly rather than waiting for a public exploit.

0
ProgrammingDEV Community ·

OpenAI's GPT-6.2 Designs Proteins, with 35 of 322 Lab-Tested Binders Showing Target Binding

OpenAI reports that its general-purpose GPT-6 family can design new protein structures and amino-acid sequences through reasoning and code, without a dedicated biology model producing the designs. In a wet-lab study with partner Onava, 35 of 322 small protein designs from GPT-6.2 showed evidence of binding their intended targets, a hit rate of about 10.9%. Redesigned sequences for existing proteins fared better in some cases, with 85% of MDM2 designs binding. The findings are described in a non-peer-reviewed preprint published in November 2026, and OpenAI's results have not yet been independently replicated. The research also acknowledges limits, including reliance on specialist models for sequence generation and candidate selection, and that binding in an assay does not mean a drug is viable.