Blog

Stopping repeat calls and tool poisoning: what's new in Avow 0.2

  • release notes
  • mcp security
  • tool poisoning
  • spec

Avow Core 0.2 adds four things to the 0.1 draft. Operators can now sign tool descriptions, so an agent can detect a "poisoned" MCP tool. Grants can cap how many times one person is contacted. There is a political purpose code. And delegation now needs an explicit agent.delegate scope. 0.2 also turns eleven rules that 0.1 left open into normative text. This post explains each change, why we made it, and what you need to do if you built on 0.1.

The full list is in the spec under Changes from 0.1.

1. Signed tool descriptions against tool poisoning#

The problem#

An AI agent decides which tool to call, and how, by reading the tool's description. With MCP, a client gets these descriptions from the server's tools/list response and passes them to the model. The description is text the model reads and tends to follow. So whoever can change it can steer the agent. They can add a line telling it to read a file and pass the contents as a parameter, to prefer one tool over another, or to skip a confirmation step. This is called tool poisoning, a name popularised by Invariant Labs' 2025 write-up of the attack against MCP clients. The MCP specification itself advises clients to treat tool descriptions and annotations as untrusted unless they come from a trusted server.

A description can change after you first approve a server: through a compromised server, a malicious update, or a man-in-the-middle on an unprotected connection. "I trusted this server last week" says nothing about the text your model reads today.

What 0.2 adds#

An Agent Card can now list tools, each with a hash of the tool's canonical description (spec §4.1):

"tools": [
  { "name": "crm_lookup", "description_hash": "sha256:…", "server": "https://mcp.voiceops.example/crm" },
  { "name": "free_slots", "description_hash": "sha256:…" }
]

The hash covers a JSON object with exactly three members: name, description and inputSchema. It is serialised with the JSON Canonicalization Scheme (RFC 8785), so every implementation computes the same bytes. Two kinds of card can list tools. A tool server's own card covers the tools it exposes. An agent's card covers tools it uses from servers it does not run; those entries should set server.

A client that holds a verified card checks each tool it receives:

  1. compute the hash of the tool as received;
  2. find card entries with the same name (and the same server, where one is set);
  3. accept the tool only if one entry has the same hash.

A tool that fails must not reach the model. The client should hide it, or show it to a person as unverified. An unlisted tool fails with tool_not_listed, and a changed one with tool_mismatch. On MCP, a server can point to its card with _meta.avow.card in the tools/list result. The client checks again after every notifications/tools/list_changed (spec §9.5). A2A skills can be listed the same way.

In the SDK, this is two functions:

import { toolDescriptionHash, checkTool } from '@avowprotocol/sdk';

const hash = await toolDescriptionHash({ name, description, inputSchema });   // operator side, for the card
const r = await checkTool(verifiedCard, toolFromServer, { server: serverUrl }); // client side
if (!r.ok) hideTool(toolFromServer, r.code);   // 'tool_not_listed' or 'tool_mismatch'

What it does not do#

A valid hash proves that the operator approved this exact text. It does not prove the text is safe. An operator that signs a malicious description has signed a malicious description. So the spec asks operators to review descriptions before signing them (spec §13). In 0.2 the hash also does not cover title, annotations or outputSchema. And it does not replace the design principle that content from other parties is data, not instructions.

2. A per-person contact limit#

The problem#

Repeat calls are one of the most common complaints about automated calling. They are often not deliberate. A lead arrives twice from two systems, a retry loop fires after a timeout, or two campaigns target the same list. 0.1 already had two tools for this: the intent ref idempotency key and a max_contacts_per_day limit across all counterparties. Neither said "don't call the same person more than twice a week".

What 0.2 adds#

Grants can now set max_contacts_per_person (spec §6.3):

"limits": {
  "max_contacts_per_day": 2000,
  "max_contacts_per_person": { "count": 2, "days": 7 }
}

A new contact is allowed when fewer than count earlier contacts to that person fall in the last days days. A contact is one new Intent; further messages under the same intent don't count again. "One person" means one counterparty reference. A platform should count a person's phone and WhatsApp numbers together when it knows they belong to the same person.

This is a stateful limit. A receiver checking one request cannot see earlier contacts, so the spec places the duty where the history is: the sending platform must check the limit before each new contact, and a registry may check it for intents registered with it. The SDK gives platforms contactAllowed(history, limit, now) for this. A delegated grant can only make the limit stricter: a lower or equal count, and a greater or equal days.

Together with the intent ref, this covers both accidental duplicates and over-contact:

  • Same lead twice: the receiver rejects a different intent with the same issuer and ref until the first one expires (duplicate_intent, HTTP 409).
  • Same person too often: the platform refuses the third contact in seven days before it dials.

The spec's security section also asks for limits on countries and contacts on public entry points such as "call me" buttons and web forms. That way a stolen form can't be turned into number pumping or harassment.

3. A political purpose code#

Intents state a purpose from a fixed list of codes, such as appointment, support or payment_reminder (spec §5.3). 0.2 adds political for political or campaign contact. Many jurisdictions restrict political calls and messages or require disclosure of who is behind them. A separate code lets receivers and registries treat them differently; they may reject political intents outright. Agents using it should name the campaign or party in purpose_text and display.

4. Breaking change: delegation needs agent.delegate#

An agent can pass part of its permission to another agent by signing a delegated grant that points to its own grant as parent. In 0.1, any grant could be delegated. In 0.2, a grant can have a child only if its own scopes include agent.delegate, or a wildcard that covers it, such as agent.*. Otherwise the chain fails with delegation_not_allowed (spec §6.2).

We made this change because giving an agent permission to act is not the same as giving it permission to hire other agents. The person granting should decide that explicitly. The other delegation rules are unchanged. A child can only narrow scopes, limits and expiry. Its issuer must be the parent's subject. And verifiers walk the whole chain back to a root signed by the card's principal or operator.

The rule applies to every chain, including chains made only of 0.1 objects. We chose one simple rule over version-dependent ones because 0.1 was a draft with no deployed users.

Eleven rules made explicit#

0.1 left some behaviour unspecified, and the reference SDK filled the gaps. 0.2 makes that behaviour normative, so other implementations can match it. The most visible rules:

  • Inheritance: limits a delegated grant leaves out are inherited from the parent. null means unrestricted, so a child can't set null where the parent restricts.
  • Scope wildcards: booking.* covers booking.request, and data.read covers data.read:patients.
  • Duplicates: the first intent seen for an issuer and ref wins until it expires.
  • HTTP status codes: 401 when a request cannot be trusted, 403 when it is authentic but not permitted, 409 for a duplicate intent.
  • Countries: a counterparty's country comes from its E.164 calling code. A hashed number under a countries limit is denied.
  • Receipts: a receipt log starts at seq: 1 with no prev.
  • Hours: a window includes from and excludes to, and may wrap past midnight.

The full list of eleven is in Changes from 0.1.

Upgrading from 0.1#

  • New objects use v: "avow/0.2". Verifiers accept both avow/0.1 and avow/0.2, but check every object with the 0.2 rules (spec §3.4).
  • If you delegate, add agent.delegate to the parent grant's scopes, and to the card's max_scopes, which must cover every scope of a grant.
  • If you call people, add max_contacts_per_person to your grants, and check it in your dialler with contactAllowed.
  • If you run MCP servers, publish a card that lists your tools, and return _meta.avow.card from tools/list. If you build MCP clients, check tools before your model sees them.

To be Avow Core 0.2 conformant, an implementation must now also compute tool description hashes and check them against a card. The conformance vectors include cases for every change above.

What's next#

The Merkle transparency log for receipt log heads, in the style of Certificate Transparency, is planned for a later version rather than 0.2. Profiles for the IETF agent-identity drafts and for W3C Verifiable Credentials will follow once those settle. Changes go through Avow Proposals. If 0.2 gets something wrong for your use case, that is where to say so.

To try the new features, add Avow to your AI agent in 10 minutes walks through the SDK, including a tool check.

  1. · 6 min read

    Avow, MCP, A2A and AP2: how they fit together

    MCP connects agents to tools, A2A connects agents to agents, AP2 covers agent payments. Avow adds checkable identity, intent, permission and receipts on top.

    • mcp
    • a2a
    • ap2
    • standards
    • interoperability
  2. · 6 min read

    Add Avow to your AI agent in 10 minutes (TypeScript)

    A step-by-step TypeScript guide to the Avow SDK: generate keys, sign an Agent Card and Grant, send a signed request, verify it on the receiving side and keep receipts.

    • developers
    • typescript
    • sdk
    • tutorial