Skip to main content
Glama

Set Inquiry Status

set_inquiry_status
Destructive

Set a lead's status (new, read, converted, archived or spam) and/or mark it replied. replied=true records that the lead was answered somewhere else (your own mail app, a call): it stamps the time, shows the replied tick on the Inquiries page and moves a new lead to read; replied=false clears it. Pass status, replied, or both. (reply_to_inquiry sends the email and marks it replied by itself.)

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": {
      "id": "<id>"
    },
    "name": "set_inquiry_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record's numeric id, from the matching list/get/search tool.
statusNoA status value — see the tool's description for the allowed set.
repliedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"The record's numeric id, from the matching list/get/search tool."
    • addedInput schema / properties / status / description
      Added value: +"A status value — see the tool's description for the allowed set."
  2. Changed2 schema fields changed
    • addedInput schema / properties / replied
      Added value: +{
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id",
      -  "status"
      -]New value: +[
      +  "id"
      +]
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds real side-effect detail: replied=true stamps the time, renders a tick on the Inquiries page, and promotes a new lead to read, while replied=false clears it. It stops short of saying whether an existing status is overwritten, whether the change is reversible, or what the destructive dimension actually risks.

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?

Front-loaded with the core action and allowed values, then the replied semantics, then the sibling note — a logical order. Dense but every clause carries information; the page-UI detail ("replied tick on the Inquiries page") is the only mildly extraneous element.

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 three-parameter mutation with annotations and no output schema, the definition covers the enum, the boolean's effects, and the alternative tool. Missing only permission/ownership requirements and what an invalid status or archived lead does, which an agent might need before invoking a destructive write.

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

Parameters4/5

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

Schema coverage is 67% and the status parameter explicitly defers to the description for its allowed set, which the description supplies in full — that is genuine added meaning. The replied boolean, undocumented in the schema, is also fully explained here, leaving only minor gaps like case sensitivity or invalid-value behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Set a lead's status") and immediately enumerates the allowed values (new, read, converted, archived, spam), plus the secondary action of marking a lead replied. The parenthetical naming reply_to_inquiry as the tool that sends the email and marks replied itself makes the boundary between the two tools explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Pass status, replied, or both" tells the agent the tool accepts partial updates, and the reply_to_inquiry note steers the agent away from using this to actually send a reply. It gives clear context without explicit when-not conditions (e.g., nothing about when a status transition is invalid or which leads can be archived).

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