@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/?post_type=lh-portfolio-doc&#038;p=147704>
  a sioc:Post ;
  dc:title "MCP abilities" ;
  dcterms:identifier 147704 ;
  dc:modified "2026-10-15T01:50:56Z"^^xsd:dateTime ;
  dc:created "2026-09-17T23:25:39Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-crm/mcp-abilities/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded "<ul class=\"lh_portfolio-meta\"><li><strong>Part of:</strong> <a href=\"https://lhero.org/portfolio/lh-crm/\">LH Customer Relationship Management</a></li></ul><div class=\"lh_portfolio-ability-reference\"><ul class=\"lh_portfolio-ability-reference-index\"><li><a href=\"#ability-add-note\"><code>add-note</code></a> Add Member Note</li><li><a href=\"#ability-archive-note\"><code>archive-note</code></a> Archive Member Note</li><li><a href=\"#ability-list-notes\"><code>list-notes</code></a> List Member Notes</li><li><a href=\"#ability-query-enquiries\"><code>query-enquiries</code></a> Query Enquiries</li><li><a href=\"#ability-update-note\"><code>update-note</code></a> Update Member Note</li></ul><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-add-note\"><h2>Add Member Note</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-crm/add-note</code></p><p>Adds a committee note about one or more members of one site. Write it as if the member might read it one day: tie opinions to what happened, no labels, and no health information or other sensitive personal details. source records where it came from and is kept separately so it can be redacted. <code>valid_from</code> and expires (YYYY-MM-DD) bound when the note is current; after its expiry date it is archived, never deleted. Requires <code>edit_member_notes</code> (committee roles); one site. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>subject_user_ids</code></td><td>array of integer</td><td>Yes</td><td></td><td>User IDs of the members the note is about.</td></tr><tr><td><code>content</code></td><td>string</td><td>Yes</td><td></td><td></td></tr><tr><td><code>type</code></td><td>string</td><td>Yes</td><td></td><td>One of: <code>fact</code>, <code>opinion</code>, <code>availability</code>, <code>conduct</code>.</td></tr><tr><td><code>source</code></td><td>string</td><td>No</td><td></td><td>Where the note came from, for example raised by a team captain.</td></tr><tr><td><code>valid_from</code></td><td>string</td><td>No</td><td></td><td></td></tr><tr><td><code>expires</code></td><td>string</td><td>No</td><td></td><td></td></tr><tr><td><code>related</code></td><td>array of object</td><td>No</td><td></td><td>Links to related things: objects with type (for example group, task, enquiry, email or url) and an id, url or label.</td></tr><tr><td><code>task_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. The lh-tasks task this call is working on. Pass with <code>claim_token</code>: the call is refused unless you hold that claim, and a successful call renews it.</td></tr><tr><td><code>claim_token</code></td><td>string</td><td>No</td><td></td><td>Optional. The <code>claim_token</code> from claim-next-task for <code>task_id</code>. Required when <code>task_id</code> is given.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr><tr><td><code>run_without_site_plugins</code></td><td>boolean</td><td>No</td><td></td><td>Optional, with <code>site_id</code>. Run the call through this connector even when that site has plugins of its own that cannot be loaded for it. Without this, such a write is refused if it cannot be run on that site itself.</td></tr></tbody></table></figure></section><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-archive-note\"><h2>Archive Member Note</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-crm/archive-note</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>Archives a member note on one site straight away by setting its expiry to yesterday, unless it has already expired. Nothing is deleted. unarchive: true clears the expiry instead, making the note current again. Requires <code>edit_member_notes</code> (committee roles); one site. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>note_id</code></td><td>integer</td><td>Yes</td><td></td><td></td></tr><tr><td><code>unarchive</code></td><td>boolean</td><td>No</td><td><code>false</code></td><td></td></tr><tr><td><code>task_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. The lh-tasks task this call is working on. Pass with <code>claim_token</code>: the call is refused unless you hold that claim, and a successful call renews it.</td></tr><tr><td><code>claim_token</code></td><td>string</td><td>No</td><td></td><td>Optional. The <code>claim_token</code> from claim-next-task for <code>task_id</code>. Required when <code>task_id</code> is given.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr><tr><td><code>run_without_site_plugins</code></td><td>boolean</td><td>No</td><td></td><td>Optional, with <code>site_id</code>. Run the call through this connector even when that site has plugins of its own that cannot be loaded for it. Without this, such a write is refused if it cannot be run on that site itself.</td></tr></tbody></table></figure></section><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-list-notes\"><h2>List Member Notes</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-crm/list-notes</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly\">Read-only</span> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>Lists the committee&#039;s notes about members on one site, newest first: content, type (fact, opinion, availability or conduct), the members it is about, author, source, valid-from and expiry dates, related links and whether it is archived. By default only current notes are returned (no expiry, or expiry today or later). <code>active_on</code> returns the notes current on a given day, counting valid-from and expiry, for example who is unavailable on a match day. Filter by <code>subject_user_ids</code> (any of) and type. Requires <code>read_member_notes</code> (committee roles); one site. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>subject_user_ids</code></td><td>array of integer</td><td>No</td><td></td><td>Only notes about any of these members.</td></tr><tr><td><code>type</code></td><td>string</td><td>No</td><td></td><td>One of: <code>fact</code>, <code>opinion</code>, <code>availability</code>, <code>conduct</code>.</td></tr><tr><td><code>include_archived</code></td><td>boolean</td><td>No</td><td><code>false</code></td><td>Also return archived notes. Ignored when <code>active_on</code> is given.</td></tr><tr><td><code>active_on</code></td><td>string</td><td>No</td><td></td><td>YYYY-MM-DD: only notes current that day.</td></tr><tr><td><code>per_page</code></td><td>integer</td><td>No</td><td><code>50</code></td><td></td></tr><tr><td><code>page</code></td><td>integer</td><td>No</td><td><code>1</code></td><td></td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr><tr><td><code>run_without_site_plugins</code></td><td>boolean</td><td>No</td><td></td><td>Optional, with <code>site_id</code>. Run the call through this connector even when that site has plugins of its own that cannot be loaded for it. Without this, such a write is refused if it cannot be run on that site itself.</td></tr></tbody></table></figure></section><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-query-enquiries\"><h2>Query Enquiries</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-crm/query-enquiries</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-readonly\">Read-only</span> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>Returns a paginated list of enquiries with the enquirer (author), status, parent form, date, and notes. Supports filtering by status, form, enquirer, and category. The enquirer is the person the enquiry is from, who may not be the account that created it. Requires <code>install_plugins</code>. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>status</code></td><td>string</td><td>No</td><td></td><td>Filter by status slug: <code>new_enq</code>, <code>prog_enq</code>, <code>pending_enq</code>, <code>res_enq</code>, <code>clos_enq</code>. Omit for all statuses. One of: <code>new_enq</code>, <code>prog_enq</code>, <code>pending_enq</code>, <code>res_enq</code>, <code>clos_enq</code>.</td></tr><tr><td><code>form_id</code></td><td>integer</td><td>No</td><td></td><td>Filter by parent contact form post ID.</td></tr><tr><td><code>author_id</code></td><td>integer</td><td>No</td><td></td><td>Filter by enquirer user ID: the person the enquiry is from, who may not be the account that created it.</td></tr><tr><td><code>category</code></td><td>string</td><td>No</td><td></td><td>Filter by enquiry category slug.</td></tr><tr><td><code>per_page</code></td><td>integer</td><td>No</td><td></td><td>Number of results per page. Default 20, max 100.</td></tr><tr><td><code>page</code></td><td>integer</td><td>No</td><td></td><td>Page number. Default 1.</td></tr><tr><td><code>search</code></td><td>string</td><td>No</td><td></td><td>Search string matched against enquiry title and content.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr><tr><td><code>run_without_site_plugins</code></td><td>boolean</td><td>No</td><td></td><td>Optional, with <code>site_id</code>. Run the call through this connector even when that site has plugins of its own that cannot be loaded for it. Without this, such a write is refused if it cannot be run on that site itself.</td></tr></tbody></table></figure></section><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-update-note\"><h2>Update Member Note</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-crm/update-note</code> <span class=\"lh_portfolio-ability-reference-annotation lh_portfolio-ability-reference-annotation-idempotent\">Idempotent</span></p><p>Changes a member note on one site. Only the fields given change. <code>subject_user_ids</code> and related replace the whole list. An empty string for source, <code>valid_from</code> or expires clears it. Each change is kept as a revision and logged in the audit trail. Requires <code>edit_member_notes</code> (committee roles); one site. Pass <code>site_id</code> to act on another site you belong to.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>note_id</code></td><td>integer</td><td>Yes</td><td></td><td></td></tr><tr><td><code>subject_user_ids</code></td><td>array of integer</td><td>No</td><td></td><td></td></tr><tr><td><code>content</code></td><td>string</td><td>No</td><td></td><td></td></tr><tr><td><code>type</code></td><td>string</td><td>No</td><td></td><td>One of: <code>fact</code>, <code>opinion</code>, <code>availability</code>, <code>conduct</code>.</td></tr><tr><td><code>source</code></td><td>string</td><td>No</td><td></td><td></td></tr><tr><td><code>valid_from</code></td><td>string</td><td>No</td><td></td><td>YYYY-MM-DD, or empty to clear.</td></tr><tr><td><code>expires</code></td><td>string</td><td>No</td><td></td><td>YYYY-MM-DD, or empty to clear.</td></tr><tr><td><code>related</code></td><td>array of object</td><td>No</td><td></td><td>Links to related things: objects with type (for example group, task, enquiry, email or url) and an id, url or label.</td></tr><tr><td><code>task_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. The lh-tasks task this call is working on. Pass with <code>claim_token</code>: the call is refused unless you hold that claim, and a successful call renews it.</td></tr><tr><td><code>claim_token</code></td><td>string</td><td>No</td><td></td><td>Optional. The <code>claim_token</code> from claim-next-task for <code>task_id</code>. Required when <code>task_id</code> is given.</td></tr><tr><td><code>site_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.</td></tr><tr><td><code>run_without_site_plugins</code></td><td>boolean</td><td>No</td><td></td><td>Optional, with <code>site_id</code>. Run the call through this connector even when that site has plugins of its own that cannot be loaded for it. Without this, such a write is refused if it cannot be run on that site itself.</td></tr></tbody></table></figure></section></div>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH Customer Relationship Managementadd-note Add Member Notearchive-note Archive Member Notelist-notes List Member Notesquery-enquiries Query Enquiriesupdate-note Update Member NoteAdd Member Notelh-crm/add-noteAdds a committee note about one or more members of one site. Write it as if the member might read it one day: tie opinions to what happened, no labels, and no health information or other sensitive personal details. source records where it came from and is kept separately so it can be redacted. valid_from and expires (YYYY-MM-DD) bound when the note is current; after its expiry date it is archived, never deleted. Requires edit_member_notes (committee roles); one site. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptionsubject_user_idsarray of integerYesUser IDs of the members the note is about.contentstringYestypestringYesOne of: fact, opinion, availability, conduct.sourcestringNoWhere the note came from, for example raised by a team captain.valid_fromstringNoexpiresstringNorelatedarray of objectNoLinks to related things: objects with type (for example group, task, enquiry, email or url) and an id, url or label.task_idintegerNoOptional. The lh-tasks task this call is working on. Pass with claim_token: the call is refused unless you hold that claim, and a successful call renews it.claim_tokenstringNoOptional. The claim_token from claim-next-task for task_id. Required when task_id is given.site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.run_without_site_pluginsbooleanNoOptional, with site_id. Run the call through this connector even when that site has plugins of its own that cannot be loaded for it. Without this, such a write is refused if it cannot be run on that site itself.Archive Member Notelh-crm/archive-note IdempotentArchives a member note on one site straight away by setting its expiry to yesterday, unless it has already expired. Nothing is deleted. unarchive: true clears the expiry instead, making the note current again. Requires edit_member_notes (committee roles); one site. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptionnote_idintegerYesunarchivebooleanNofalsetask_idintegerNoOptional. The lh-tasks task this call is working on. Pass with claim_token: the call is refused unless you hold that claim, and a successful call renews it.claim_tokenstringNoOptional. The claim_token from claim-next-task for task_id. Required when task_id is given.site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.run_without_site_pluginsbooleanNoOptional, with site_id. Run the call through this connector even when that site has plugins of its own that cannot be loaded for it. Without this, such a write is refused if it cannot be run on that site itself.List Member Noteslh-crm/list-notes Read-only IdempotentLists the committee&#039;s notes about members on one site, newest first: content, type (fact, opinion, availability or conduct), the members it is about, author, source, valid-from and expiry dates, related links and whether it is archived. By default only current notes are returned (no expiry, or expiry today or later). active_on returns the notes current on a given day, counting valid-from and expiry, for example who is unavailable on a match day. Filter by subject_user_ids (any of) and type. Requires read_member_notes (committee roles); one site. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptionsubject_user_idsarray of integerNoOnly notes about any of these members.typestringNoOne of: fact, opinion, availability, conduct.include_archivedbooleanNofalseAlso return archived notes. Ignored when active_on is given.active_onstringNoYYYY-MM-DD: only notes current that day.per_pageintegerNo50pageintegerNo1site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.run_without_site_pluginsbooleanNoOptional, with site_id. Run the call through this connector even when that site has plugins of its own that cannot be loaded for it. Without this, such a write is refused if it cannot be run on that site itself.Query Enquirieslh-crm/query-enquiries Read-only IdempotentReturns a paginated list of enquiries with the enquirer (author), status, parent form, date, and notes. Supports filtering by status, form, enquirer, and category. The enquirer is the person the enquiry is from, who may not be the account that created it. Requires install_plugins. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptionstatusstringNoFilter by status slug: new_enq, prog_enq, pending_enq, res_enq, clos_enq. Omit for all statuses. One of: new_enq, prog_enq, pending_enq, res_enq, clos_enq.form_idintegerNoFilter by parent contact form post ID.author_idintegerNoFilter by enquirer user ID: the person the enquiry is from, who may not be the account that created it.categorystringNoFilter by enquiry category slug.per_pageintegerNoNumber of results per page. Default 20, max 100.pageintegerNoPage number. Default 1.searchstringNoSearch string matched against enquiry title and content.site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.run_without_site_pluginsbooleanNoOptional, with site_id. Run the call through this connector even when that site has plugins of its own that cannot be loaded for it. Without this, such a write is refused if it cannot be run on that site itself.Update Member Notelh-crm/update-note IdempotentChanges a member note on one site. Only the fields given change. subject_user_ids and related replace the whole list. An empty string for source, valid_from or expires clears it. Each change is kept as a revision and logged in the audit trail. Requires edit_member_notes (committee roles); one site. Pass site_id to act on another site you belong to.ParameterTypeRequiredDefaultDescriptionnote_idintegerYessubject_user_idsarray of integerNocontentstringNotypestringNoOne of: fact, opinion, availability, conduct.sourcestringNovalid_fromstringNoYYYY-MM-DD, or empty to clear.expiresstringNoYYYY-MM-DD, or empty to clear.relatedarray of objectNoLinks to related things: objects with type (for example group, task, enquiry, email or url) and an id, url or label.task_idintegerNoOptional. The lh-tasks task this call is working on. Pass with claim_token: the call is refused unless you hold that claim, and a successful call renews it.claim_tokenstringNoOptional. The claim_token from claim-next-task for task_id. Required when task_id is given.site_idintegerNoOptional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.run_without_site_pluginsbooleanNoOptional, with site_id. Run the call through this connector even when that site has plugins of its own that cannot be loaded for it. Without this, such a write is refused if it cannot be run on that site itself." ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
