Skip to main content
Glama
JinyangWang27

people-context

commit_import

Commit accepted people and resolvable interactions idempotently, refusing the commit if a withdrawn candidate is included or the expected batch digest does not match.

Instructions

Commit accepted people and resolvable interactions idempotently.

Accepting a withdrawn candidate refuses the whole commit. Supplying the expected_batch_digest from the review the user approved refuses it if the batch moved after they saw it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
batch_idYes
accepted_idsYes
expected_batch_digestNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.0
    • addedInput schema / properties / expected_batch_digest
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Expected Batch Digest"
      +}
  2. First observedv1.1.1

TDQS

B3/5.0
Behavior1/5

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

The description opens with 'idempotently' while annotations set idempotentHint:false, a direct contradiction. It does disclose useful behaviors like whole-commit refusal and stale-batch rejection, but the contradiction with annotations is disqualifying.

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?

Three short sentences with the core operation front-loaded and the two edge cases that matter following immediately. No filler or redundant restatement of the schema.

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?

Given the output schema and annotations, the description covers the important failure modes: withdrawn candidates and stale batch digests. The main missing pieces are precise definitions of batch_id and accepted_ids, plus resolution of the idempotency contradiction.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning. It explains expected_batch_digest well, but batch_id and accepted_ids are only inferable from the tool name and the phrase 'accepted people and resolvable interactions.'

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 action ('Commit') and target ('accepted people and resolvable interactions'), adding the idempotency qualifier. This is more than a restatement of the tool name, though it does not explicitly contrast with siblings like review_import or import_content.

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 implies a post-review workflow ('from the review the user approved') and a safety rule around withdrawn candidates, so an agent gets some context. It never says when to choose commit_import over stage_candidates/review_import or when not to use it, so the guidance is implied rather than explicit.

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