Skip to main content
Glama

docugen_remove_documents_from_feature_group

Take documents out of a feature group; they stay in the project without a group. A document that is not in this group is refused. Answers {featureGroup: {id, name}, results: [{documentId, success, error?: {code, message}}]}, one result per document: the accepted ones are saved even when others are refused, so check each result. An archived group or an archived project accepts no change.

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": {
      "projectId": "<projectId>",
      "groupId": "<groupId>",
      "documentIds": "<documentIds>"
    },
    "name": "docugen_remove_documents_from_feature_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupIdYesFeature group id, from docugen_list_feature_groups
projectIdYesProject id
documentIdsYesIds of documents of the same project, from docugen_get_project or docugen_list_documents (1 to 200)

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, and the description carries the burden well: it discloses partial-success semantics (accepted documents are saved even when others are refused), per-document error objects with code and message, and the archived-state blocker. It stops short of stating permission/auth requirements or whether re-adding is possible, so not a 5.

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 tight sentences, front-loaded with the operation and its effect before the failure rules. The inline response-shape notation is dense but earns its place; nothing is redundant with the title or name.

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 3-parameter mutation with no annotations and no output schema, the description covers effect, refusal conditions, archived-state blocking, and the per-document result envelope including the error object. Only authorization requirements and reversibility are left unstated.

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 description coverage is 100% and the schema already names the sources for groupId, projectId and documentIds plus the 1-200 bound. The description adds only the derived meaning that one result is returned per document, which is return-shape rather than parameter semantics, so the baseline 3 applies.

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 (take documents out of a feature group) and immediately disambiguates the outcome: documents remain in the project but lose their group membership, which distinguishes it from a delete or archive operation among the siblings. The inverse of docugen_add_documents_to_feature_group is unmistakable without opening either schema.

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?

Supplies real preconditions: a document not in the group is refused, and an archived group or archived project accepts no change. It does not name the sibling alternative for the inverse case or say what to do instead when the group is archived, but the when/when-not context is clear.

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