Skip to main content
Glama

Company definition change

write_company_definition
Destructive

Changes one file of this organization's definitions, live for every member's agent at once. action create writes a new file from content. edit applies edits, each an exact find and its replace, with count when find occurs more than once. move gives the file the path in to. remove deletes it. Files are Markdown, YAML or SQL, and OWNERS, which says who may change which path. Returns the change, the file's owners, and its problems with other files. A path OWNERS gives to someone else is refused with their name. Any member may write under proposed/, which holds proposals an owner accepts by moving them out.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNothe new path, for move
pathYesthe file's path, like metrics/net-revenue.md
editsNofor edit, replacements matched against the file as it is now
actionYescreate, edit, move or remove
contentNothe whole file, for create
if_matchNofor edit, move or remove, the etag a read returned: refused when the file changed since, and needed to accept a proposal
organizationNoan organization id, for a person in several organizations

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
actionYes
ownersYes
problemsYes
change_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (destructive, non-idempotent, not read-only): it discloses that changes are live for all members at once, that unauthorized paths are refused 'with their name,' the proposed/ workflow, and what the response returns (change, owners, cross-file problems). This is unusually rich behavioral context.

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?

One dense paragraph, front-loaded with the purpose and effect. Every sentence carries information, though some clauses ('move gives the file the path in to') are terse to the point of awkwardness and could be bulleted for scannability.

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?

Covers the full operational picture: action semantics, permission/ownership rules, the proposal workflow, concurrency via etags, and cross-file validation. With an output schema present, return-value explanation is a bonus rather than a necessity, and nothing an agent needs is missing.

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 100%, so the baseline is 3, but the description adds workflow meaning the schema does not convey, notably that if_match is 'needed to accept a proposal' and how edit/count behave. It reinforces rather than merely repeats the parameter docs.

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 with clear scope: it 'changes one file of this organization's definitions, live for every member's agent at once.' An agent immediately understands this is a mutation tool. It does not name the sibling read_company_definitions, so the read/write routing is left implicit.

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?

Explains when each action applies (create from content, edit with find/replace, move via 'to', remove) and lays out the permission model, including who may write where and when if_match is required to accept a proposal. It never explicitly contrasts with read_company_definitions, so alternative selection is inferred rather than stated.

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.