Skip to main content
Glama

AI Source of Truth Evidence Rooms

Accept the consent texts

accept_consent

Accept every current consent text by id. The log records the agent and the person it acts for. Scope: none, any signed-in caller. REST twin: POST /api/cases/:id/consent. Errors: unauthorized, not_found, validation_error.

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": {
      "case_id": "<case_id>",
      "accept": "<accept>"
    },
    "name": "accept_consent"
  }
}

Input Schema

NameRequiredDescriptionDefault
acceptYesEvery current document id from get_consent.
case_idYesThe case id (cas_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=false; the description adds real behavior beyond that, notably that an audit log records both the agent and the person it acts for. It also enumerates the failure modes (unauthorized, not_found, validation_error), which helps an agent anticipate outcomes for a mutation call.

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

Conciseness4/5

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

Three short, front-loaded clauses: the action, the audit/scope context, then the REST twin and errors. Nothing is padded, though the telegraphic "Scope: none" phrasing takes a moment to parse.

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

Completeness4/5

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

For a 2-parameter mutation with no output schema and thin annotations, the description covers auth scope, audit logging, error cases, and the REST equivalent, which is close to what an agent needs. It stops short of saying whether acceptance is reversible or what a partial id list does.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents both parameters, including that ids come from get_consent. The description reinforces the all-or-nothing framing with "every current consent text," but adds no format or partial-acceptance detail beyond the schema.

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?

"Accept every current consent text by id" gives a specific verb (accept) and resource (consent texts), and the bulk/batch nature ("every") is stated outright. It is clearly the write counterpart to get_consent, though it never names that sibling explicitly to sharpen the distinction.

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 definition supplies caller scope ("any signed-in caller") and a REST twin, which is useful context, but not when-to-use or when-not guidance. The implicit workflow (fetch ids via get_consent, then accept them) only surfaces in the schema's parameter description, not in the tool description itself.

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.

Resources