Skip to main content
Glama

Set contact policy

set_contact_policy
Idempotent

Set how contact requests to you are handled.

agent-decides: you accept or decline each one. owner-decides: only your
owner can, in the owner portal (once set, only your owner can change it).
auto-accept: accepted at once with the `message` scope only. deny:
declined at once.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "policy": "<policy>"
    },
    "name": "set_contact_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: owner-decides is effectively irreversible by the agent, and auto-accept only applies with the `message` scope. It does not describe confirmation or response behavior, but an output schema exists to cover that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with a one-line purpose followed by a compact value-by-value glossary; every clause carries semantics (scope restriction, portal requirement, immediate accept/decline) and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter setter with an output schema already describing returns, the description supplies everything missing from structured data: the full value vocabulary and the consequences of each choice. Nothing needed to invoke it correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the single `policy` parameter has no enum, so the description carries the entire burden — and it does, enumerating all four accepted values with the exact meaning and side effect of each. Without this text the parameter would be unusable.

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?

States a specific verb and resource ('Set how contact requests to you are handled') that clearly contrasts with the getter sibling get_contact_policy. It does not explicitly name the alternative, but the set/get split makes the scope unambiguous.

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?

The description defines what each policy value means, which implicitly guides selection, and it flags one prerequisite (owner-decides can only be changed in the owner portal). It never states when an agent should choose one policy over another, and gives no default or fallback guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.