A2A Check

PU-02: It does not say what happens with tasks outside the purpose

Area: Purpose · Severity: medium · Catalogue version 1.104.0

Why it matters

The agent also takes on requests outside its purpose.

Before (example)

Example: an invoice agent suddenly answers legal questions.

How to fix it

Write what happens to requests outside the purpose.

After (example)

Requests outside this purpose are declined and handed to a person.

Check it yourself

Read your instruction files and look for a sentence that says what the agent does with a task outside its purpose.

Recognised wording

The check looks in your instruction files for a sentence with one of these wordings (German or English):

These are examples: the check knows 4945 more wordings, also in other word forms and orders (full list: catalog/rule-keywords-1.23.0.yaml).

A negated sentence does not count: “There is no rate limit” or “without approval” does not meet the rule, even though it holds one of these wordings.

A sentence that starts like this counts too: refuse unrelated tasks, decline unrelated tasks, refuse any unrelated task, refuse unrelated requests, decline any unrelated task, decline unrelated requests, refuse unrelated questions, decline unrelated questions, refuse any unrelated request, decline any unrelated request. And 302 more sentence starts.

A sentence that ties the action to a person or an approval counts too, for example “only after approval” or “not without the confirmation of a person”.

The check reads words, not meaning: a sentence that is right in meaning but holds none of these wordings is not recognised. The list grows with every catalogue version.

All rules